org.apache.maven.plugin.changes.schema
Class DefaultChangesSchemaValidator
java.lang.Object
org.apache.maven.plugin.changes.schema.DefaultChangesSchemaValidator
- All Implemented Interfaces:
- ChangesSchemaValidator
- public class DefaultChangesSchemaValidator
- extends java.lang.Object
- implements ChangesSchemaValidator
- Since:
- 28 juil. 2008
- Version:
- $Id: DefaultChangesSchemaValidator.html 816588 2012-05-08 12:37:27Z hboutemy $
- Author:
- olamy
- Plexus component:
- role:
- "org.apache.maven.plugin.changes.schema.ChangesSchemaValidator"
- role-hint:
- "default"
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
W3C_XML_SCHEMA
public static final java.lang.String W3C_XML_SCHEMA
- property schema
- See Also:
- Constant Field Values
CHANGES_SCHEMA_PATH
public static final java.lang.String CHANGES_SCHEMA_PATH
- See Also:
- Constant Field Values
DefaultChangesSchemaValidator
public DefaultChangesSchemaValidator()
validateXmlWithSchema
public XmlValidationHandler validateXmlWithSchema(java.io.File file,
java.lang.String schemaVersion,
boolean failOnValidationError)
throws SchemaValidatorException
- Specified by:
validateXmlWithSchema
in interface ChangesSchemaValidator
- Parameters:
file
- schemaVersion
- failOnValidationError
- if false SchemaValidatorException will not be throw
- Returns:
XmlValidationHandler
- Throws:
SchemaValidatorException
getSchema
public javax.xml.validation.Schema getSchema(java.lang.String schemaPath)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
loadSchema
public void loadSchema(java.lang.String uriSchema)
throws SchemaValidatorException
- Throws:
SchemaValidatorException
- See Also:
com.accor.commons.xmlschemas.SchemaValidator#loadSchema(java.lang.String)
Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.