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
VerifierFactory implementation of RELAX NG.
This implementation supports the "datatypeLibraryFactory" property
which configures RELAX NG parser with a datatype library factory.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.relaxng.datatype.DatatypeLibraryFactory
private static final String
Fields inherited from class com.sun.msv.verifier.jarv.FactoryImpl
factory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String name) protected Grammar
parse
(InputSource is, GrammarReaderController controller) parses a Grammar from the specified source.void
setProperty
(String name, Object value) Methods inherited from class com.sun.msv.verifier.jarv.FactoryImpl
compileSchema, createVerifier, getEntityResolver, isFeature, setEntityResolver, setFeature
Methods inherited from class org.iso_relax.verifier.VerifierFactory
compileSchema, compileSchema, compileSchema, compileSchema, newInstance, newInstance, newInstance, newVerifier, newVerifier, newVerifier, newVerifier, newVerifier
-
Field Details
-
datatypeLibraryFactory
private org.relaxng.datatype.DatatypeLibraryFactory datatypeLibraryFactory -
PROP_NAME
- See Also:
-
-
Constructor Details
-
RELAXNGFactoryImpl
public RELAXNGFactoryImpl()
-
-
Method Details
-
parse
Description copied from class:FactoryImpl
parses a Grammar from the specified source. return null if an error happens.- Specified by:
parse
in classFactoryImpl
-
getProperty
- Overrides:
getProperty
in classorg.iso_relax.verifier.VerifierFactory
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
-
setProperty
public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException - Overrides:
setProperty
in classorg.iso_relax.verifier.VerifierFactory
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
-