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.

Methods inherited from class javax.xml.parsers.SAXParser

getParser, getProperty, getSchema, getXMLReader, isNamespaceAware, isValidating, isXIncludeAware, parse, parse, parse, parse, parse, parse, parse, parse, parse, parse, reset, setProperty

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
Overrides:
getParser in interface javax.xml.parsers.SAXParser

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.
Overrides:
getProperty in interface javax.xml.parsers.SAXParser

getSchema

public javax.xml.validation.Schema getSchema()
Overrides:
getSchema in interface javax.xml.parsers.SAXParser

getXMLReader

public org.xml.sax.XMLReader getXMLReader()
Returns the XMLReader that is encapsulated by the implementation of this class.
Overrides:
getXMLReader in interface javax.xml.parsers.SAXParser

isNamespaceAware

public boolean isNamespaceAware()
Overrides:
isNamespaceAware in interface javax.xml.parsers.SAXParser

isValidating

public boolean isValidating()
Overrides:
isValidating in interface javax.xml.parsers.SAXParser

isXIncludeAware

public boolean isXIncludeAware()
Gets the XInclude processing mode for this parser
Overrides:
isXIncludeAware in interface javax.xml.parsers.SAXParser
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
Overrides:
parse in interface javax.xml.parsers.SAXParser

parse

public void parse(org.xml.sax.InputSource is,
                  org.xml.sax.helpers.DefaultHandler dh)
            throws org.xml.sax.SAXException,
                   IOException
Overrides:
parse in interface javax.xml.parsers.SAXParser

reset

public void reset()
Overrides:
reset in interface javax.xml.parsers.SAXParser

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.
Overrides:
setProperty in interface javax.xml.parsers.SAXParser

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