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 Object
- implements ChangesSchemaValidator
- Since:
- 28 juil. 2008
- Version:
- $Id: DefaultChangesSchemaValidator.java 1396150 2012-10-09 18:15:29Z krosenvold $
- Author:
- Olivier Lamy
- 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 String W3C_XML_SCHEMA
- property schema
- See Also:
- Constant Field Values
CHANGES_SCHEMA_PATH
public static final String CHANGES_SCHEMA_PATH
- See Also:
- Constant Field Values
DefaultChangesSchemaValidator
public DefaultChangesSchemaValidator()
validateXmlWithSchema
public XmlValidationHandler validateXmlWithSchema(File file,
String schemaVersion,
boolean failOnValidationError)
throws SchemaValidatorException
- Specified by:
validateXmlWithSchema
in interface ChangesSchemaValidator
failOnValidationError
- if false SchemaValidatorException will not be throw
- Returns:
XmlValidationHandler
- Throws:
SchemaValidatorException
getSchema
public Schema getSchema(String schemaPath)
throws SAXException
- Throws:
SAXException
loadSchema
public void loadSchema(String uriSchema)
throws SchemaValidatorException
- Throws:
SchemaValidatorException
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.