class SAXParserImpl
extends javax.xml.parsers.SAXParser
This class uses another SAXParser implementation and adds the validation capability to it.
Modifier and Type | Field and Description |
---|---|
private javax.xml.parsers.SAXParser |
core
The underlying SAX parser.
|
private org.iso_relax.verifier.VerifierFactory |
factory
A reference to VerifierFactory that can be used to parse a schema.
|
private org.iso_relax.verifier.Verifier |
verifier
JARV verifier object that performs the validation for this SAXParserImpl.
|
Constructor and Description |
---|
SAXParserImpl(javax.xml.parsers.SAXParser core,
org.iso_relax.verifier.VerifierFactory _jarvFactory,
org.iso_relax.verifier.Verifier _verifier) |
Modifier and Type | Method and Description |
---|---|
org.xml.sax.Parser |
getParser()
Deprecated.
|
java.lang.Object |
getProperty(java.lang.String name) |
org.xml.sax.XMLReader |
getXMLReader() |
boolean |
isNamespaceAware() |
boolean |
isValidating() |
void |
setProperty(java.lang.String name,
java.lang.Object value) |
private final javax.xml.parsers.SAXParser core
private org.iso_relax.verifier.Verifier verifier
private final org.iso_relax.verifier.VerifierFactory factory
SAXParserImpl(javax.xml.parsers.SAXParser core, org.iso_relax.verifier.VerifierFactory _jarvFactory, org.iso_relax.verifier.Verifier _verifier)
public org.xml.sax.Parser getParser() throws org.xml.sax.SAXException
getParser
in class javax.xml.parsers.SAXParser
org.xml.sax.SAXException
public java.lang.Object getProperty(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
getProperty
in class javax.xml.parsers.SAXParser
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setProperty(java.lang.String name, java.lang.Object value) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
setProperty
in class javax.xml.parsers.SAXParser
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public org.xml.sax.XMLReader getXMLReader() throws org.xml.sax.SAXException
getXMLReader
in class javax.xml.parsers.SAXParser
org.xml.sax.SAXException
public boolean isNamespaceAware()
isNamespaceAware
in class javax.xml.parsers.SAXParser
public boolean isValidating()
isValidating
in class javax.xml.parsers.SAXParser