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 381441 2006-02-27 21:06:42Z 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()
org.xml.sax.Parser
getParser()
Object
getProperty(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.HandlerBase hb)
void
parse(org.xml.sax.InputSource is, org.xml.sax.helpers.DefaultHandler dh)
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 org.xml.sax.Parser getParser()
            throws org.xml.sax.SAXException

getProperty

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

getSchema

public javax.xml.validation.Schema getSchema()

getXMLReader

public org.xml.sax.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(org.xml.sax.InputSource is,
                  org.xml.sax.HandlerBase hb)
            throws org.xml.sax.SAXException,
                   IOException

parse

public void parse(org.xml.sax.InputSource is,
                  org.xml.sax.helpers.DefaultHandler dh)
            throws org.xml.sax.SAXException,
                   IOException

reset

public void reset()

setProperty

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

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.