fi.hut.tml.xsmiles.mlfc.xslfo.apps
Class DocumentReader2
java.lang.Object
org.apache.fop.tools.DocumentReader
fi.hut.tml.xsmiles.mlfc.xslfo.apps.DocumentReader2
- All Implemented Interfaces:
- org.xml.sax.XMLReader
- public class DocumentReader2
- extends org.apache.fop.tools.DocumentReader
- implements org.xml.sax.XMLReader
This presents a DOM as an XMLReader to make it easy to use a Document
with a SAX-based implementation.
- Author:
- Kelly A Campbell
|
Field Summary |
protected static org.w3c.dom.Node |
cNode
|
protected org.w3c.dom.Node |
currentNode
X-Smiles addition
This static kludge is needed because the form elements need access to the
DOM node |
| Methods inherited from class org.apache.fop.tools.DocumentReader |
getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, parse, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty |
| 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 |
getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, parse, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty |
currentNode
protected org.w3c.dom.Node currentNode
- X-Smiles addition
This static kludge is needed because the form elements need access to the
DOM node
cNode
protected static org.w3c.dom.Node cNode
DocumentReader2
public DocumentReader2()
setContentHandler
public void setContentHandler(org.xml.sax.ContentHandler handler)
- Specified by:
setContentHandler in interface org.xml.sax.XMLReader
getContentHandler
public org.xml.sax.ContentHandler getContentHandler()
- Specified by:
getContentHandler in interface org.xml.sax.XMLReader
getCurrentNode
public static org.w3c.dom.Node getCurrentNode()
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
X-Smiles 1.2