|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.xml.JaxpXMLParser
Contains the Jaxp XML DOM-implementation
| Nested Class Summary | |
class |
JaxpXMLParser.JAXPEntityResolver
|
class |
JaxpXMLParser.JAXPErrorHandler
|
| Field Summary | |
org.xml.sax.SAXParseException |
lastParseException
|
| Constructor Summary | |
JaxpXMLParser()
Constructor. |
|
| Method Summary | |
org.w3c.dom.Document |
createEmptyDocument()
|
org.xml.sax.SAXParseException |
getLastParseException()
|
org.w3c.dom.Document |
openDocument(org.xml.sax.InputSource input,
java.lang.String documentClassname)
|
org.w3c.dom.Document |
openDocument(java.io.InputStream sourceStream,
boolean presentationDOM)
|
org.w3c.dom.Document |
openDocument(java.io.InputStream sourceStream,
boolean presentationDOM,
java.lang.String documentURL)
Reads a document from an InputStream into a DOM tree. |
org.w3c.dom.Document |
openDocument(java.io.Reader sourceReader,
boolean presentationDOM)
Reads an document to DOM tree |
org.w3c.dom.Document |
openDocument(java.net.URL url)
Reads an document to DOM tree |
org.w3c.dom.Document |
openDocument(java.net.URL url,
java.lang.String documentClassname)
|
void |
setEntityResolver(org.xml.sax.EntityResolver handler,
javax.xml.parsers.DocumentBuilder builder)
|
void |
setErrorHandler(org.xml.sax.ErrorHandler handler,
javax.xml.parsers.DocumentBuilder builder)
|
java.lang.String |
write(org.w3c.dom.Node doc)
Writes the dom node to a string. |
java.lang.String |
write(org.w3c.dom.Node doc,
boolean prettyPrinting)
Writes the dom node to a string. |
void |
write(java.io.Writer writer,
org.w3c.dom.Node node,
boolean prettyPrinting)
|
void |
write(java.io.Writer writer,
org.w3c.dom.Node doc,
boolean preserveSpace,
boolean indenting)
The main write method, writes the DOM document to a Writer. |
void |
writeWithoutXMLDecl(java.io.Writer writer,
org.w3c.dom.Node node)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public org.xml.sax.SAXParseException lastParseException
| Constructor Detail |
public JaxpXMLParser()
| Method Detail |
public void setErrorHandler(org.xml.sax.ErrorHandler handler,
javax.xml.parsers.DocumentBuilder builder)
public void setEntityResolver(org.xml.sax.EntityResolver handler,
javax.xml.parsers.DocumentBuilder builder)
public org.w3c.dom.Document openDocument(java.io.Reader sourceReader,
boolean presentationDOM)
throws java.io.IOException,
org.xml.sax.SAXException
openDocument in interface XMLParserjava.io.IOException
org.xml.sax.SAXException
public org.w3c.dom.Document openDocument(java.io.InputStream sourceStream,
boolean presentationDOM,
java.lang.String documentURL)
throws java.io.IOException,
org.xml.sax.SAXException
openDocument in interface XMLParserjava.io.IOException
org.xml.sax.SAXException
public org.w3c.dom.Document openDocument(java.io.InputStream sourceStream,
boolean presentationDOM)
throws java.io.IOException,
org.xml.sax.SAXException
openDocument in interface XMLParserjava.io.IOException
org.xml.sax.SAXException
public org.w3c.dom.Document openDocument(java.net.URL url)
throws java.io.IOException,
org.xml.sax.SAXException
openDocument in interface XMLParserjava.io.IOException
org.xml.sax.SAXException
public org.w3c.dom.Document openDocument(java.net.URL url,
java.lang.String documentClassname)
throws java.io.IOException,
org.xml.sax.SAXException
openDocument in interface XMLParserjava.io.IOException
org.xml.sax.SAXException
public org.w3c.dom.Document openDocument(org.xml.sax.InputSource input,
java.lang.String documentClassname)
throws java.io.IOException,
org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXExceptionpublic org.w3c.dom.Document createEmptyDocument()
createEmptyDocument in interface XMLParserpublic java.lang.String write(org.w3c.dom.Node doc)
write in interface XMLParser
public void write(java.io.Writer writer,
org.w3c.dom.Node node,
boolean prettyPrinting)
write in interface XMLParser
public java.lang.String write(org.w3c.dom.Node doc,
boolean prettyPrinting)
write in interface XMLParser
public void write(java.io.Writer writer,
org.w3c.dom.Node doc,
boolean preserveSpace,
boolean indenting)
preserveSpace - preserves the white space in the document
public void writeWithoutXMLDecl(java.io.Writer writer,
org.w3c.dom.Node node)
throws java.io.IOException
writeWithoutXMLDecl in interface XMLParserjava.io.IOExceptionpublic org.xml.sax.SAXParseException getLastParseException()
getLastParseException in interface XMLParser
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||