Package com.sun.msv.verifier.jarv
Class RELAXNGFactoryImpl
- java.lang.Object
-
- org.iso_relax.verifier.VerifierFactory
-
- com.sun.msv.verifier.jarv.FactoryImpl
-
- com.sun.msv.verifier.jarv.RELAXNGFactoryImpl
-
public class RELAXNGFactoryImpl extends FactoryImpl
VerifierFactory implementation of RELAX NG. This implementation supports the "datatypeLibraryFactory" property which configures RELAX NG parser with a datatype library factory.
-
-
Field Summary
Fields Modifier and Type Field Description private org.relaxng.datatype.DatatypeLibraryFactorydatatypeLibraryFactoryprivate static java.lang.StringPROP_NAME-
Fields inherited from class com.sun.msv.verifier.jarv.FactoryImpl
factory
-
-
Constructor Summary
Constructors Constructor Description RELAXNGFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetProperty(java.lang.String name)protected Grammarparse(org.xml.sax.InputSource is, GrammarReaderController controller)parses a Grammar from the specified source.voidsetProperty(java.lang.String name, java.lang.Object value)-
Methods inherited from class com.sun.msv.verifier.jarv.FactoryImpl
compileSchema, createVerifier, getEntityResolver, isFeature, setEntityResolver, setFeature
-
-
-
-
Field Detail
-
datatypeLibraryFactory
private org.relaxng.datatype.DatatypeLibraryFactory datatypeLibraryFactory
-
PROP_NAME
private static final java.lang.String PROP_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
parse
protected Grammar parse(org.xml.sax.InputSource is, GrammarReaderController controller)
Description copied from class:FactoryImplparses a Grammar from the specified source. return null if an error happens.- Specified by:
parsein classFactoryImpl
-
getProperty
public java.lang.Object getProperty(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException- Overrides:
getPropertyin classorg.iso_relax.verifier.VerifierFactory- Throws:
org.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedException
-
setProperty
public void setProperty(java.lang.String name, java.lang.Object value) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException- Overrides:
setPropertyin classorg.iso_relax.verifier.VerifierFactory- Throws:
org.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedException
-
-