Class DefaultChangesSchemaValidator
java.lang.Object
org.apache.maven.plugins.changes.schema.DefaultChangesSchemaValidator
- All Implemented Interfaces:
 ChangesSchemaValidator
@Named
@Singleton
public class DefaultChangesSchemaValidator
extends Object
implements ChangesSchemaValidator
- Since:
 - 28 juil. 2008
 - Version:
 - $Id$
 - Author:
 - Olivier Lamy
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidloadSchema(String uriSchema) validateXmlWithSchema(File file, String schemaVersion, boolean failOnValidationError)  
- 
Field Details
- 
W3C_XML_SCHEMA
property schema- See Also:
 
 - 
CHANGES_SCHEMA_PATH
- See Also:
 
 
 - 
 - 
Constructor Details
- 
DefaultChangesSchemaValidator
public DefaultChangesSchemaValidator() 
 - 
 - 
Method Details
- 
validateXmlWithSchema
public XmlValidationHandler validateXmlWithSchema(File file, String schemaVersion, boolean failOnValidationError) throws SchemaValidatorException - Specified by:
 validateXmlWithSchemain interfaceChangesSchemaValidator- Parameters:
 file- File to validate.schemaVersion- Schema version.failOnValidationError- if false SchemaValidatorException will not be throw- Returns:
 XmlValidationHandler- Throws:
 SchemaValidatorException- if validation failed.
 - 
getSchema
- Throws:
 SAXExceptionIOException
 - 
loadSchema
- Throws:
 SchemaValidatorException
 
 -