|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.util.DOM3DocumentBuilder
Utility class that creates a schema validating DOM3 parser.
Constructor Summary | |
DOM3DocumentBuilder()
Creation of a new DOM3 document builder. |
|
DOM3DocumentBuilder(Logger logger)
Creation of a new DOM3 document builder. |
|
DOM3DocumentBuilder(Logger logger,
Map map)
Creation of a new DOM3 document builder. |
Method Summary | |
Document |
parse(URI uri)
Parse an xml schema document. |
void |
write(Document doc,
OutputStream output)
Write a document to an output stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DOM3DocumentBuilder()
public DOM3DocumentBuilder(Logger logger)
logger
- the assigned logging channelpublic DOM3DocumentBuilder(Logger logger, Map map)
logger
- the assigned logging channelmap
- namespace to builder uri mapMethod Detail |
public Document parse(URI uri) throws IOException
uri
- the document uri
IOException
- if an IO error occurspublic void write(Document doc, OutputStream output) throws Exception
doc
- the document to writeoutput
- the output stream
Exception
- if an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |