jlibs.xml.sax
Class MyXMLFilter

java.lang.Object
  extended by jlibs.xml.sax.BaseXMLReader
      extended by jlibs.xml.sax.MyXMLFilter
All Implemented Interfaces:
XMLFilter, XMLReader

public class MyXMLFilter
extends BaseXMLReader
implements XMLFilter

XMLFilter implementation using SAXDelegate

Author:
Santhosh Kumar T

Field Summary
 
Fields inherited from class jlibs.xml.sax.BaseXMLReader
handler
 
Constructor Summary
MyXMLFilter(SAXDelegate handler)
           
MyXMLFilter(SAXDelegate handler, XMLReader parent)
           
 
Method Summary
 boolean getFeature(String name)
           
 XMLReader getParent()
           
 Object getProperty(String name)
           
 void parse(InputSource input)
           
 void parse(String systemId)
           
 void setFeature(String name, boolean value)
           
 void setParent(XMLReader parent)
           
 void setProperty(String name, Object value)
           
 
Methods inherited from class jlibs.xml.sax.BaseXMLReader
_getProperty, _setProperty, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.XMLReader
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler
 

Constructor Detail

MyXMLFilter

public MyXMLFilter(SAXDelegate handler)

MyXMLFilter

public MyXMLFilter(SAXDelegate handler,
                   XMLReader parent)
Method Detail

getFeature

public boolean getFeature(String name)
                   throws SAXNotRecognizedException,
                          SAXNotSupportedException
Specified by:
getFeature in interface XMLReader
Throws:
SAXNotRecognizedException
SAXNotSupportedException

setFeature

public void setFeature(String name,
                       boolean value)
                throws SAXNotRecognizedException,
                       SAXNotSupportedException
Specified by:
setFeature in interface XMLReader
Throws:
SAXNotRecognizedException
SAXNotSupportedException

getProperty

public Object getProperty(String name)
                   throws SAXNotRecognizedException,
                          SAXNotSupportedException
Specified by:
getProperty in interface XMLReader
Throws:
SAXNotRecognizedException
SAXNotSupportedException

setProperty

public void setProperty(String name,
                        Object value)
                 throws SAXNotRecognizedException,
                        SAXNotSupportedException
Specified by:
setProperty in interface XMLReader
Throws:
SAXNotRecognizedException
SAXNotSupportedException

setParent

public void setParent(XMLReader parent)
Specified by:
setParent in interface XMLFilter

getParent

public XMLReader getParent()
Specified by:
getParent in interface XMLFilter

parse

public void parse(InputSource input)
           throws IOException,
                  SAXException
Specified by:
parse in interface XMLReader
Throws:
IOException
SAXException

parse

public void parse(String systemId)
           throws IOException,
                  SAXException
Specified by:
parse in interface XMLReader
Throws:
IOException
SAXException


Copyright © 2015. All rights reserved.