|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DOM Liaison This interface makes up for deficiencies in the DOM API. It allows you to plug in different XML libraries by creating implementations of this interface.
Method Summary | |
void |
addEntityResolver(org.xml.sax.EntityResolver er)
|
org.w3c.dom.Document |
createDocument()
Create a Document |
org.w3c.dom.Document |
parseXMLStream(java.io.InputStream is)
Deprecated. Use parseXMLStream(Reader) |
org.w3c.dom.Document |
parseXMLStream(java.io.Reader in)
|
void |
print(org.w3c.dom.Document doc,
java.io.Writer output,
java.lang.String resultns,
boolean format)
Print a Document |
void |
setProperties(java.util.Properties props)
|
Method Detail |
public org.w3c.dom.Document createDocument()
public void print(org.w3c.dom.Document doc, java.io.Writer output, java.lang.String resultns, boolean format) throws DOMLiaisonImplException
doc
- The Document to printoutput
- Writer to send the output toresultns
- Result name space for the output. Used for things
like HTML hacks.format
- If true, output will be nicely tab-formatted.
If false, there shouldn't be any line breaks or tabs between
elements in the output. Sometimes setting this to false
is necessary to get your HTML to work right.public org.w3c.dom.Document parseXMLStream(java.io.InputStream is) throws DOMLiaisonImplException
xmlReader
- XML stream readerpublic org.w3c.dom.Document parseXMLStream(java.io.Reader in) throws DOMLiaisonImplException
public void setProperties(java.util.Properties props)
public void addEntityResolver(org.xml.sax.EntityResolver er)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |