com.smallx.xml.infoset
Interface ItemDestination

All Known Subinterfaces:
Component
All Known Implementing Classes:
ComponentBase, DocumentDestination, ItemDiff, ItemQueue, NullDestination, RemoveDocumentDestination, WriterItemDestination

public interface ItemDestination


Method Summary
 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.
 

Method Detail

setOutputType

public void setOutputType(Name name)
                   throws XMLException
This is meta-data that facilitates output serialization. There are three "standard" names 'xml', 'text', and 'html'.

Throws:
XMLException

send

public void send(Item item)
          throws XMLException
Called when a infoset item is generated by a source.

Parameters:
item - The infoset item that was generated by the source.
Returns:
A boolean value indicating that addition items are wanted by the implementing object.
Throws:
XMLException