com.hp.hpl.thermopylae
Class SAXParserImpl

java.lang.Object
  |
  +--javax.xml.parsers.SAXParser
        |
        +--com.hp.hpl.thermopylae.SAXParserImpl

public class SAXParserImpl
extends javax.xml.parsers.SAXParser

JAXP compatible XMLReader wrapper for Sparta.

Copyright (C) 2002 Hewlett-Packard Company. This file is part of Sparta, an XML Parser, DOM, and XPath library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Version:
$Date: 2002/08/19 05:04:13 $ $Revision: 1.1.1.1 $
Author:
Sergio Marti

Method Summary
 org.xml.sax.Parser getParser()
           
 java.lang.Object getProperty(java.lang.String name)
           
 org.xml.sax.XMLReader getXMLReader()
           
 boolean isNamespaceAware()
           
 boolean isValidating()
           
 void parse(java.io.File f, org.xml.sax.helpers.DefaultHandler dh)
           
 void parse(org.xml.sax.InputSource is, org.xml.sax.helpers.DefaultHandler dh)
           
 void parse(java.io.InputStream is, org.xml.sax.helpers.DefaultHandler dh)
           
 void parse(java.io.InputStream is, org.xml.sax.helpers.DefaultHandler dh, java.lang.String systemId)
           
 void parse(java.lang.String uri, org.xml.sax.helpers.DefaultHandler dh)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 
Methods inherited from class javax.xml.parsers.SAXParser
parse, parse, parse, parse, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getParser

public org.xml.sax.Parser getParser()
Overrides:
getParser in class javax.xml.parsers.SAXParser

getXMLReader

public org.xml.sax.XMLReader getXMLReader()
Overrides:
getXMLReader in class javax.xml.parsers.SAXParser

getProperty

public java.lang.Object getProperty(java.lang.String name)
Overrides:
getProperty in class javax.xml.parsers.SAXParser

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
Overrides:
setProperty in class javax.xml.parsers.SAXParser

isNamespaceAware

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

isValidating

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

parse

public void parse(java.io.File f,
                  org.xml.sax.helpers.DefaultHandler dh)
           throws org.xml.sax.SAXException,
                  java.io.IOException
Overrides:
parse in class javax.xml.parsers.SAXParser

parse

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

parse

public void parse(java.io.InputStream is,
                  org.xml.sax.helpers.DefaultHandler dh)
           throws org.xml.sax.SAXException,
                  java.io.IOException
Overrides:
parse in class javax.xml.parsers.SAXParser

parse

public void parse(java.io.InputStream is,
                  org.xml.sax.helpers.DefaultHandler dh,
                  java.lang.String systemId)
           throws org.xml.sax.SAXException,
                  java.io.IOException
Overrides:
parse in class javax.xml.parsers.SAXParser

parse

public void parse(java.lang.String uri,
                  org.xml.sax.helpers.DefaultHandler dh)
           throws org.xml.sax.SAXException,
                  java.io.IOException
Overrides:
parse in class javax.xml.parsers.SAXParser