|
||||||||||
| 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 | |
|---|---|
AttributePSVI |
getAttributePSVI(int index)
Provides AttributePSVI given the index of an attribute
information item in the current element's attribute list. |
AttributePSVI |
getAttributePSVIByName(String uri,
String localname)
Provides AttributePSVI given the namespace name and the
local name of an attribute information item in the current element's
attribute list. |
ElementPSVI |
getElementPSVI()
Provides the post schema validation item for the current element information item. |
Parser |
getParser()
|
Object |
getProperty(String name)
returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader. |
Schema |
getSchema()
|
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(InputSource is,
org.xml.sax.helpers.DefaultHandler dh)
|
void |
parse(InputSource is,
HandlerBase hb)
|
void |
reset()
|
void |
setProperty(String name,
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 Parser getParser()
throws SAXException
getParser in class SAXParserSAXExceptionpublic XMLReader getXMLReader()
getXMLReader in class SAXParserpublic boolean isNamespaceAware()
isNamespaceAware in class SAXParserpublic boolean isValidating()
isValidating in class SAXParserpublic boolean isXIncludeAware()
isXIncludeAware in class SAXParser
public void setProperty(String name,
Object value)
throws SAXNotRecognizedException,
SAXNotSupportedException
setProperty in class SAXParserSAXNotRecognizedException
SAXNotSupportedException
public Object getProperty(String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
getProperty in class SAXParserSAXNotRecognizedException
SAXNotSupportedException
public void parse(InputSource is,
org.xml.sax.helpers.DefaultHandler dh)
throws SAXException,
IOException
parse in class SAXParserSAXException
IOException
public void parse(InputSource is,
HandlerBase hb)
throws SAXException,
IOException
parse in class SAXParserSAXException
IOExceptionpublic Schema getSchema()
getSchema in class SAXParserpublic void reset()
reset in class SAXParserpublic ElementPSVI getElementPSVI()
PSVIProviderstartElement or
endElement call. If the method is called outside of the
specified scope, the return value is undefined.
getElementPSVI in interface PSVIProviderpublic AttributePSVI getAttributePSVI(int index)
PSVIProviderAttributePSVI 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 PSVIProviderindex - The attribute index.
public AttributePSVI getAttributePSVIByName(String uri,
String localname)
PSVIProviderAttributePSVI 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 PSVIProvideruri - 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 | |||||||||