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,v 1.33 2005/06/21 17:19:08 mrglavas Exp $
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
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

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 B) 1999-2005 Apache XML Project. All Rights Reserved.