|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for a document publisher. Publishers are obtained from
PublisherFactory
. They are created with a specific output
target and format and can only be used with that combination.
When called with a document, publish(Document)
will publish
the entire document contents including document type information.
When called with a node, publish(Node)
will publish the
node contents and its childs, and can be used to publish portions of
a larger document.
PublisherFactory
Method Summary | |
void |
close()
Called to close the output target. |
void |
publish(Document doc)
Called to publish the entire document including the document declaration and DTD. |
void |
publish(Node node)
Called to publish the node and its children. |
Method Detail |
public void publish(Document doc) throws java.io.IOException
doc
- The document to publishpublic void publish(Node node) throws java.io.IOException
node
- The node to publishpublic void close()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |