|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.parsers.SAXParser
org.apache.xerces.jaxp.SAXParserImpl
public class SAXParserImpl
This is the implementation specific class for the
javax.xml.parsers.SAXParser
.
Nested Class Summary | |
---|---|
static class |
SAXParserImpl.JAXPSAXParser
Extension of SAXParser. |
Field Summary |
---|
Fields inherited from interface org.apache.xerces.jaxp.JAXPConstants |
---|
JAXP_SCHEMA_LANGUAGE, JAXP_SCHEMA_SOURCE, W3C_XML_SCHEMA |
Method Summary | |
---|---|
org.apache.xerces.xs.AttributePSVI |
getAttributePSVI(int index)
Provides AttributePSVI given the index of an attribute
information item in the current element's attribute list. |
org.apache.xerces.xs.AttributePSVI |
getAttributePSVIByName(java.lang.String uri,
java.lang.String localname)
Provides AttributePSVI given the namespace name and the
local name of an attribute information item in the current element's
attribute list. |
org.apache.xerces.xs.ElementPSVI |
getElementPSVI()
Provides the post schema validation item for the current element information item. |
org.xml.sax.Parser |
getParser()
|
java.lang.Object |
getProperty(java.lang.String name)
returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader. |
javax.xml.validation.Schema |
getSchema()
|
org.xml.sax.XMLReader |
getXMLReader()
Returns the XMLReader that is encapsulated by the implementation of this class. |
boolean |
isNamespaceAware()
|
boolean |
isValidating()
|
boolean |
isXIncludeAware()
Gets the XInclude processing mode for this parser |
void |
parse(org.xml.sax.InputSource is,
org.xml.sax.helpers.DefaultHandler dh)
|
void |
parse(org.xml.sax.InputSource is,
org.xml.sax.HandlerBase hb)
|
void |
reset()
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
Sets the particular property in the underlying implementation of org.xml.sax.XMLReader. |
Methods inherited from class javax.xml.parsers.SAXParser |
---|
parse, parse, parse, parse, parse, parse, parse, parse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public org.xml.sax.Parser getParser() throws org.xml.sax.SAXException
getParser
in class javax.xml.parsers.SAXParser
org.xml.sax.SAXException
public org.xml.sax.XMLReader getXMLReader()
getXMLReader
in class javax.xml.parsers.SAXParser
public boolean isNamespaceAware()
isNamespaceAware
in class javax.xml.parsers.SAXParser
public boolean isValidating()
isValidating
in class javax.xml.parsers.SAXParser
public boolean isXIncludeAware()
isXIncludeAware
in class javax.xml.parsers.SAXParser
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 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 parse(org.xml.sax.InputSource is, org.xml.sax.helpers.DefaultHandler dh) throws org.xml.sax.SAXException, java.io.IOException
parse
in class javax.xml.parsers.SAXParser
org.xml.sax.SAXException
java.io.IOException
public void parse(org.xml.sax.InputSource is, org.xml.sax.HandlerBase hb) throws org.xml.sax.SAXException, java.io.IOException
parse
in class javax.xml.parsers.SAXParser
org.xml.sax.SAXException
java.io.IOException
public javax.xml.validation.Schema getSchema()
getSchema
in class javax.xml.parsers.SAXParser
public void reset()
reset
in class javax.xml.parsers.SAXParser
public org.apache.xerces.xs.ElementPSVI getElementPSVI()
org.apache.xerces.xs.PSVIProvider
startElement
or
endElement
call. If the method is called outside of the
specified scope, the return value is undefined.
getElementPSVI
in interface org.apache.xerces.xs.PSVIProvider
public org.apache.xerces.xs.AttributePSVI getAttributePSVI(int index)
org.apache.xerces.xs.PSVIProvider
AttributePSVI
given the index of an attribute
information item in the current element's attribute list. The method
must be called by an application while in the scope of the methods
which report the start and end of an element at a point where the
attribute list is available. For example, for SAX the method must be
called while in the scope of the document handler's
startElement
call. If the method is called outside of
the specified scope, the return value is undefined.
getAttributePSVI
in interface org.apache.xerces.xs.PSVIProvider
index
- The attribute index.
public org.apache.xerces.xs.AttributePSVI getAttributePSVIByName(java.lang.String uri, java.lang.String localname)
org.apache.xerces.xs.PSVIProvider
AttributePSVI
given the namespace name and the
local name of an attribute information item in the current element's
attribute list. The method must be called by an application while in
the scope of the methods which report the start and end of an element
at a point where the attribute list is available. For example, for
SAX the method must be called while in the scope of the document
handler's startElement
call. If the method is called
outside of the specified scope, the return value is undefined.
getAttributePSVIByName
in interface org.apache.xerces.xs.PSVIProvider
uri
- The namespace name of an attribute.localname
- The local name of an attribute.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |