com.metamatrix.query.processor.dynamic
Class TupleXMLReader
java.lang.Object
com.metamatrix.query.processor.dynamic.TupleXMLReader
- All Implemented Interfaces:
- org.xml.sax.XMLReader
public class TupleXMLReader
- extends java.lang.Object
- implements org.xml.sax.XMLReader
This is a replacement XMl Reader for the SAX Source; so that we can
customize this to read a tuple soruce and generate the SAX Events.
The parse method is overloaded with our specific implementation.
Also, note that this is decorator for the actual XML Reader of the
parser.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TupleXMLReader
public TupleXMLReader(org.xml.sax.XMLReader reader)
getContentHandler
public org.xml.sax.ContentHandler getContentHandler()
- Specified by:
getContentHandler
in interface org.xml.sax.XMLReader
- See Also:
XMLReader.getContentHandler()
getDTDHandler
public org.xml.sax.DTDHandler getDTDHandler()
- Specified by:
getDTDHandler
in interface org.xml.sax.XMLReader
- See Also:
XMLReader.getDTDHandler()
getEntityResolver
public org.xml.sax.EntityResolver getEntityResolver()
- Specified by:
getEntityResolver
in interface org.xml.sax.XMLReader
- See Also:
XMLReader.getEntityResolver()
getErrorHandler
public org.xml.sax.ErrorHandler getErrorHandler()
- Specified by:
getErrorHandler
in interface org.xml.sax.XMLReader
- See Also:
XMLReader.getErrorHandler()
getFeature
public boolean getFeature(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Specified by:
getFeature
in interface org.xml.sax.XMLReader
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
- See Also:
XMLReader.getFeature(java.lang.String)
getProperty
public java.lang.Object getProperty(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Specified by:
getProperty
in interface org.xml.sax.XMLReader
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
- See Also:
XMLReader.getProperty(java.lang.String)
parse
public void parse(org.xml.sax.InputSource input)
throws java.io.IOException,
org.xml.sax.SAXException
- Specified by:
parse
in interface org.xml.sax.XMLReader
- Throws:
java.io.IOException
org.xml.sax.SAXException
- See Also:
XMLReader.parse(org.xml.sax.InputSource)
parse
public void parse(java.lang.String systemId)
throws java.io.IOException,
org.xml.sax.SAXException
- Specified by:
parse
in interface org.xml.sax.XMLReader
- Throws:
java.io.IOException
org.xml.sax.SAXException
- See Also:
XMLReader.parse(java.lang.String)
setContentHandler
public void setContentHandler(org.xml.sax.ContentHandler handler)
- Specified by:
setContentHandler
in interface org.xml.sax.XMLReader
- See Also:
XMLReader.setContentHandler(org.xml.sax.ContentHandler)
setDTDHandler
public void setDTDHandler(org.xml.sax.DTDHandler handler)
- Specified by:
setDTDHandler
in interface org.xml.sax.XMLReader
- See Also:
XMLReader.setDTDHandler(org.xml.sax.DTDHandler)
setEntityResolver
public void setEntityResolver(org.xml.sax.EntityResolver resolver)
- Specified by:
setEntityResolver
in interface org.xml.sax.XMLReader
- See Also:
XMLReader.setEntityResolver(org.xml.sax.EntityResolver)
setErrorHandler
public void setErrorHandler(org.xml.sax.ErrorHandler handler)
- Specified by:
setErrorHandler
in interface org.xml.sax.XMLReader
- See Also:
XMLReader.setErrorHandler(org.xml.sax.ErrorHandler)
setFeature
public void setFeature(java.lang.String name,
boolean value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Specified by:
setFeature
in interface org.xml.sax.XMLReader
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
- See Also:
XMLReader.setFeature(java.lang.String, boolean)
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Specified by:
setProperty
in interface org.xml.sax.XMLReader
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
- See Also:
XMLReader.setProperty(java.lang.String, java.lang.Object)
Copyright © 2009. All Rights Reserved.