jsdai.xml
Class SdaiXmlReader

java.lang.Object
  extended byjsdai.lang.JsdaiLangAccessor
      extended byjsdai.xml.SdaiXmlReader
All Implemented Interfaces:
org.xml.sax.XMLReader
Direct Known Subclasses:
InstanceReader

public abstract class SdaiXmlReader
extends JsdaiLangAccessor
implements org.xml.sax.XMLReader

This class is an abstract implementation of org.xml.sax.XMLReader suited for SDAI linking with JAXP. It mostly contains empty stub methods that can be overwritten by extending classes.

See Also:
XMLReader

Method Summary
 org.xml.sax.ContentHandler getContentHandler()
          Empty implementation of XMLReader.getContentHandler method.
 org.xml.sax.DTDHandler getDTDHandler()
          Empty implementation of XMLReader.getDTDHandler method.
 org.xml.sax.EntityResolver getEntityResolver()
          Empty implementation of XMLReader.getEntityResolver method.
 org.xml.sax.ErrorHandler getErrorHandler()
          Empty implementation of XMLReader.getErrorHandler method.
 boolean getFeature(java.lang.String name)
          Empty implementation of XMLReader.getFeature method.
 java.lang.Object getProperty(java.lang.String name)
          Empty implementation of XMLReader.getProperty method.
 void parse(java.lang.String systemId)
          Empty implementation of XMLReader.parse(String) method.
 void setContentHandler(org.xml.sax.ContentHandler handler)
          Empty implementation of XMLReader.setContentHandler method.
 void setDTDHandler(org.xml.sax.DTDHandler handler)
          Empty implementation of XMLReader.setDTDHandler method.
 void setEntityResolver(org.xml.sax.EntityResolver resolver)
          Empty implementation of XMLReader.setEntityResolver method.
 void setErrorHandler(org.xml.sax.ErrorHandler handler)
          Empty implementation of XMLReader.setErrorHandler method.
 void setFeature(java.lang.String name, boolean value)
          Empty implementation of XMLReader.setFeature method.
 void setProperty(java.lang.String name, java.lang.Object value)
          Empty implementation of XMLReader.setProperty method.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.XMLReader
parse
 

Method Detail

getFeature

public boolean getFeature(java.lang.String name)
                   throws org.xml.sax.SAXNotRecognizedException,
                          org.xml.sax.SAXNotSupportedException
Empty implementation of XMLReader.getFeature method.

Specified by:
getFeature in interface org.xml.sax.XMLReader
Parameters:
name - The feature name
Returns:
false
Throws:
org.xml.sax.SAXNotRecognizedException - if an error occurs
org.xml.sax.SAXNotSupportedException - if an error occurs

setFeature

public void setFeature(java.lang.String name,
                       boolean value)
                throws org.xml.sax.SAXNotRecognizedException,
                       org.xml.sax.SAXNotSupportedException
Empty implementation of XMLReader.setFeature method.

Specified by:
setFeature in interface org.xml.sax.XMLReader
Parameters:
name - The feature name
value - The feature value
Throws:
org.xml.sax.SAXNotRecognizedException - if an error occurs
org.xml.sax.SAXNotSupportedException - if an error occurs

getProperty

public java.lang.Object getProperty(java.lang.String name)
                             throws org.xml.sax.SAXNotRecognizedException,
                                    org.xml.sax.SAXNotSupportedException
Empty implementation of XMLReader.getProperty method.

Specified by:
getProperty in interface org.xml.sax.XMLReader
Parameters:
name - The property name
Returns:
null
Throws:
org.xml.sax.SAXNotRecognizedException - if an error occurs
org.xml.sax.SAXNotSupportedException - if an error occurs

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
                 throws org.xml.sax.SAXNotRecognizedException,
                        org.xml.sax.SAXNotSupportedException
Empty implementation of XMLReader.setProperty method.

Specified by:
setProperty in interface org.xml.sax.XMLReader
Parameters:
name - The property name
value - The property value
Throws:
org.xml.sax.SAXNotRecognizedException - if an error occurs
org.xml.sax.SAXNotSupportedException - if an error occurs

setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver resolver)
Empty implementation of XMLReader.setEntityResolver method.

Specified by:
setEntityResolver in interface org.xml.sax.XMLReader
Parameters:
resolver - The entity resolver

getEntityResolver

public org.xml.sax.EntityResolver getEntityResolver()
Empty implementation of XMLReader.getEntityResolver method.

Specified by:
getEntityResolver in interface org.xml.sax.XMLReader
Returns:
null

setDTDHandler

public void setDTDHandler(org.xml.sax.DTDHandler handler)
Empty implementation of XMLReader.setDTDHandler method.

Specified by:
setDTDHandler in interface org.xml.sax.XMLReader
Parameters:
handler - The DTD handler

getDTDHandler

public org.xml.sax.DTDHandler getDTDHandler()
Empty implementation of XMLReader.getDTDHandler method.

Specified by:
getDTDHandler in interface org.xml.sax.XMLReader
Returns:
null

setContentHandler

public void setContentHandler(org.xml.sax.ContentHandler handler)
Empty implementation of XMLReader.setContentHandler method.

Specified by:
setContentHandler in interface org.xml.sax.XMLReader
Parameters:
handler - The context handler

getContentHandler

public org.xml.sax.ContentHandler getContentHandler()
Empty implementation of XMLReader.getContentHandler method.

Specified by:
getContentHandler in interface org.xml.sax.XMLReader
Returns:
null

setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler handler)
Empty implementation of XMLReader.setErrorHandler method.

Specified by:
setErrorHandler in interface org.xml.sax.XMLReader
Parameters:
handler - The error handler

getErrorHandler

public org.xml.sax.ErrorHandler getErrorHandler()
Empty implementation of XMLReader.getErrorHandler method.

Specified by:
getErrorHandler in interface org.xml.sax.XMLReader
Returns:
null

parse

public void parse(java.lang.String systemId)
           throws java.io.IOException,
                  org.xml.sax.SAXException
Empty implementation of XMLReader.parse(String) method. It invokes XMLReader.parse(InputSource) method with null parameter.

Specified by:
parse in interface org.xml.sax.XMLReader
Parameters:
systemId - The system id string
Throws:
java.io.IOException - if an error occurs
org.xml.sax.SAXException - if an error occurs

Copyright © LKSoftWare GmbH, 1999-2008