/** * Validates the XML representation against a given schema. * * @param schema * The XML schema to use. */ public void validate(javax.xml.validation.Schema schema) throws Exception { validate(schema, null); }
/** * Validates the XML representation against a given schema. * * @param schemaRepresentation * The XML schema representation to use. */ public void validate(Representation schemaRepresentation) throws Exception { validate(schemaRepresentation, null); }
/** * Validates the XML representation against a given schema. * * @param schemaRepresentation * The XML schema representation to use. */ public void validate(Representation schemaRepresentation) throws Exception { validate(schemaRepresentation, null); }
/** * Validates the XML representation against a given schema. * * @param schema * The XML schema to use. */ public void validate(Schema schema) throws Exception { validate(schema, null); }
/** * Validates the XML representation against a given schema. * * @param schemaRepresentation * The XML schema representation to use. * @param result * The Result object that receives (possibly augmented) XML. */ public void validate(Representation schemaRepresentation, javax.xml.transform.Result result) throws Exception { validate(getSchema(schemaRepresentation), result); }
/** * Validates the XML representation against a given schema. * * @param schemaRepresentation * The XML schema representation to use. * @param result * The Result object that receives (possibly augmented) XML. */ public void validate(Representation schemaRepresentation, Result result) throws Exception { validate(getSchema(schemaRepresentation), result); }