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.DatatypeLibraryFactory
datatypeLibraryFactory
private static java.lang.String
PROP_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.Object
getProperty(java.lang.String name)
protected Grammar
parse(org.xml.sax.InputSource is, GrammarReaderController controller)
parses a Grammar from the specified source.void
setProperty(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:FactoryImpl
parses a Grammar from the specified source. return null if an error happens.- Specified by:
parse
in classFactoryImpl
-
getProperty
public java.lang.Object getProperty(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
- Overrides:
getProperty
in classorg.iso_relax.verifier.VerifierFactory
- Throws:
org.xml.sax.SAXNotRecognizedException
org.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:
setProperty
in classorg.iso_relax.verifier.VerifierFactory
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
-
-