org.apache.xerces.jaxp

Class SAXParserImpl

Implemented Interfaces:
JAXPConstants, org.apache.xerces.xs.PSVIProvider

public class SAXParserImpl
extends javax.xml.parsers.SAXParser
implements JAXPConstants, org.apache.xerces.xs.PSVIProvider

This is the implementation specific class for the javax.xml.parsers.SAXParser.
Version:
$Id: SAXParserImpl.java 520058 2007-03-19 19:33:53Z mrglavas $
Authors:
Rajiv Mordani
Edwin Goei

Nested Class Summary

static class
SAXParserImpl.JAXPSAXParser
Extension of SAXParser.

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)
org.apache.xerces.xs.AttributePSVI
getAttributePSVIByName(String uri, String localname)
org.apache.xerces.xs.ElementPSVI
getElementPSVI()
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, 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.

Method Details

getAttributePSVI

public org.apache.xerces.xs.AttributePSVI getAttributePSVI(int index)

getAttributePSVIByName

public org.apache.xerces.xs.AttributePSVI getAttributePSVIByName(String uri,
                                                                 String localname)

getElementPSVI

public org.apache.xerces.xs.ElementPSVI getElementPSVI()

getParser

public Parser getParser()
            throws SAXException

getProperty

public Object getProperty(String name)
            throws SAXNotRecognizedException,
                   SAXNotSupportedException
returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.

getSchema

public Schema getSchema()

getXMLReader

public XMLReader getXMLReader()
Returns the XMLReader that is encapsulated by the implementation of this class.

isNamespaceAware

public boolean isNamespaceAware()

isValidating

public boolean isValidating()

isXIncludeAware

public boolean isXIncludeAware()
Gets the XInclude processing mode for this parser
Returns:
the state of XInclude processing mode

parse

public void parse(InputSource is,
                  DefaultHandler dh)
            throws SAXException,
                   IOException

parse

public void parse(InputSource is,
                  HandlerBase hb)
            throws SAXException,
                   IOException

reset

public void reset()

setProperty

public void setProperty(String name,
                        Object value)
            throws SAXNotRecognizedException,
                   SAXNotSupportedException
Sets the particular property in the underlying implementation of org.xml.sax.XMLReader.

Copyright © 1999-2007 The Apache Software Foundation. All Rights Reserved.