axiom-core/src/main/java/org/axiom/plugins/ValidXsdExpression.java
public static ValidXsdExpression forSchema(final String schemaXml) throws SAXException {
        final Schema schema =
            factory.newSchema(new StreamSource(IOUtils.toInputStream(schemaXml)));
        return new ValidXsdExpression(schema);
    }
/**
     * Utility method to create a {@link Schema} object for a given xml string.
     * @param schemaXml A {@link String} containing the schema xml.
     * @return A new {@link Schema} instance.
     * @throws SAXException if the schema cannot be loaded.
     */
Utility method to create a  Schema object for a given xml string.
@param schemaXml A  String containing the schema xml.
@return A new  Schema instance.
@throws SAXException if the schema cannot be loaded.
Utility method to create a Schema object for a given xml string . @param schemaXml A String containing the schema xml . @return A new Schema instance . @throws SAXException if the schema cannot be loaded .
public static ValidXsdExpression forSchema(final String schemaXml) throws SAXException {
        final Schema schema =
            factory.newSchema(new StreamSource(IOUtils.toInputStream(schemaXml)));
        return new ValidXsdExpression(schema);
    }
public static ValidXsdExpression forSchema ( final String schemaXml ) throws SAXException { final Schema schema = factory . newSchema ( new StreamSource ( IOUtils . toInputStream ( schemaXml ) ) ) ; return new ValidXsdExpression ( schema ) ; }
Utility method to create a {@link Schema} object for a given xml string.
Utility method to create a { @link Schema } object for a given xml string .