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 1052816 2010-12-25 23:04:31Z 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 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
- See Also:
com.accor.commons.xmlschemas.SchemaValidator#loadSchema(java.lang.String)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.