org.apache.camel.component.validator.jing
Class JingValidator
java.lang.Object
org.apache.camel.component.validator.jing.JingValidator
- All Implemented Interfaces:
- Processor
public class JingValidator
- extends Object
- implements Processor
A validator which uses the Jing library to
validate XML against RelaxNG
- Version:
- $Revision: 303 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JingValidator
public JingValidator()
process
public void process(Exchange exchange)
throws Exception
- Specified by:
process in interface Processor
- Throws:
Exception
getSchema
public com.thaiopensource.validate.Schema getSchema()
throws IOException,
com.thaiopensource.validate.IncorrectSchemaException,
SAXException
- Throws:
IOException
com.thaiopensource.validate.IncorrectSchemaException
SAXException
setSchema
public void setSchema(com.thaiopensource.validate.Schema schema)
getInputSource
public InputSource getInputSource()
throws IOException
- Throws:
IOException
setInputSource
public void setInputSource(InputSource inputSource)
getSchemaFactory
public com.thaiopensource.relaxng.SchemaFactory getSchemaFactory()
setSchemaFactory
public void setSchemaFactory(com.thaiopensource.relaxng.SchemaFactory schemaFactory)
getSchemaResource
public Resource getSchemaResource()
setSchemaResource
public void setSchemaResource(Resource schemaResource)
getSchemaNamespace
public String getSchemaNamespace()
setSchemaNamespace
public void setSchemaNamespace(String schemaNamespace)
isCompactSyntax
public boolean isCompactSyntax()
setCompactSyntax
public void setCompactSyntax(boolean compactSyntax)
Apache CAMEL