java.lang.Object
SubHandler
edu.ou.kmi.buddyspace.xml.XMLFileDocHandler
- public class XMLFileDocHandler
- extends SubHandler
Main file handler given to a SAX-enabled parser.
Field Summary |
protected XMLFileDocInterface |
isi
instantiating handler, used for sending messages back up
the pipe. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isi
protected XMLFileDocInterface isi
- instantiating handler, used for sending messages back up
the pipe.
XMLFileDocHandler
public XMLFileDocHandler()
- Creates a new
XMLFileDocHandler
instance.
setDataHandler
public final void setDataHandler(XMLFileDocInterface isi)
- set the XMLFileDocInterface, used to inform client code of new
received data.
handleStartElement
public void handleStartElement(java.lang.String name,
org.xml.sax.AttributeList attributes)
throws org.xml.sax.SAXException
- handle the start of an element, including finding an appropriate
handler for the element or namespace type
handleEndElement
public final void handleEndElement(java.lang.String name)
throws org.xml.sax.SAXException
handleEndElement
method
receiveChildData
public void receiveChildData(SubHandler subHandler,
java.lang.Object p)
throws org.xml.sax.SAXException
receiveChildData
receives packets constructed by the
subordinate handlers, and shuttles it to the protocol handler
stopHandler
public final java.lang.Object stopHandler(java.lang.String name)
throws org.xml.sax.SAXException
stopHandler
returns null since there is no 'data'
returned which was not already sent via the 'receive' method.