public class SAXParserImpl extends javax.xml.parsers.SAXParser implements JAXPConstants, org.apache.xerces.xs.PSVIProvider
javax.xml.parsers.SAXParser.| Modifier and Type | Class and Description |
|---|---|
static class |
SAXParserImpl.JAXPSAXParser
Extension of SAXParser.
|
JAXP_SCHEMA_LANGUAGE, JAXP_SCHEMA_SOURCE, W3C_XML_SCHEMA| Modifier and Type | Method and Description |
|---|---|
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.
|
public org.xml.sax.Parser getParser()
throws org.xml.sax.SAXException
getParser in class javax.xml.parsers.SAXParserorg.xml.sax.SAXExceptionpublic org.xml.sax.XMLReader getXMLReader()
getXMLReader in class javax.xml.parsers.SAXParserpublic boolean isNamespaceAware()
isNamespaceAware in class javax.xml.parsers.SAXParserpublic boolean isValidating()
isValidating in class javax.xml.parsers.SAXParserpublic boolean isXIncludeAware()
isXIncludeAware in class javax.xml.parsers.SAXParserpublic 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 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 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.SAXParserorg.xml.sax.SAXExceptionjava.io.IOExceptionpublic 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.SAXParserorg.xml.sax.SAXExceptionjava.io.IOExceptionpublic javax.xml.validation.Schema getSchema()
getSchema in class javax.xml.parsers.SAXParserpublic void reset()
reset in class javax.xml.parsers.SAXParserpublic org.apache.xerces.xs.ElementPSVI getElementPSVI()
org.apache.xerces.xs.PSVIProviderstartElement 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.PSVIProviderpublic org.apache.xerces.xs.AttributePSVI getAttributePSVI(int index)
org.apache.xerces.xs.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 org.apache.xerces.xs.PSVIProviderindex - The attribute index.public org.apache.xerces.xs.AttributePSVI getAttributePSVIByName(java.lang.String uri,
java.lang.String localname)
org.apache.xerces.xs.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 org.apache.xerces.xs.PSVIProvideruri - The namespace name of an attribute.localname - The local name of an attribute.Copyright ? 1999-2010 The Apache Software Foundation. All Rights Reserved.