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.SAXParserorg.xml.sax.SAXExceptionpublic java.lang.Object getProperty(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
getProperty in class javax.xml.parsers.SAXParserorg.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedExceptionpublic 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.SAXParserorg.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedExceptionpublic org.xml.sax.XMLReader getXMLReader()
throws org.xml.sax.SAXException
getXMLReader in class javax.xml.parsers.SAXParserorg.xml.sax.SAXExceptionpublic boolean isNamespaceAware()
isNamespaceAware in class javax.xml.parsers.SAXParserpublic boolean isValidating()
isValidating in class javax.xml.parsers.SAXParser