|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides means to access the DTD definitions as well as the DOM document
Method Summary | |
ValidDocument |
createValidDocument()
Creates a new document that should maintain validity. |
ValidDocument |
parseValidXMLStream(java.io.InputStream is,
java.lang.String fileLocation)
This parses an XML stream using a validating parser and maintains references to the DTDDocuments used in it. |
void |
print(ValidDocument doc,
java.io.Writer output,
java.lang.String resultns,
boolean pretty)
Print that takes a valid document so it can print out the DTD specification properly. |
Methods inherited from interface org.merlotxml.util.xml.DOMLiaison |
addEntityResolver,
createDocument,
parseXMLStream,
parseXMLStream,
print,
setProperties |
Method Detail |
public ValidDocument createValidDocument()
public ValidDocument parseValidXMLStream(java.io.InputStream is, java.lang.String fileLocation) throws DOMLiaisonImplException
Uses the default EntityResolver for resolving the DTD documents
is
- InputStream to parsefileLocation
- optional URL for the file used to find relative DTD'spublic void print(ValidDocument doc, java.io.Writer output, java.lang.String resultns, boolean pretty) throws DOMLiaisonImplException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |