|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.smallx.xml.infoset.util.DocumentDestination
Constructor Summary | |
DocumentDestination()
Creates a new instance of DocumentDestination |
Method Summary | |
Document |
getDocument()
|
void |
send(Item item)
Called when a infoset item is generated by a source. |
void |
setOutputType(Name name)
This is meta-data that facilitates output serialization. |
static Document |
toDocument(ItemSource source)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DocumentDestination()
Method Detail |
public void send(Item item) throws XMLException
ItemDestination
send
in interface ItemDestination
item
- The infoset item that was generated by the source.
XMLException
public Document getDocument()
public void setOutputType(Name name) throws XMLException
ItemDestination
setOutputType
in interface ItemDestination
XMLException
public static Document toDocument(ItemSource source) throws XMLException
XMLException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |