com.smallx.xml.component
Class DocumentComponentBase

java.lang.Object
  extended bycom.smallx.xml.component.ComponentBase
      extended bycom.smallx.xml.component.DocumentComponentBase
All Implemented Interfaces:
Component, ItemDestination
Direct Known Subclasses:
XSLT

public abstract class DocumentComponentBase
extends ComponentBase


Field Summary
 
Fields inherited from class com.smallx.xml.component.ComponentBase
context, flushLevel, name, output, version
 
Constructor Summary
protected DocumentComponentBase(Name name, java.lang.String version)
          Creates a new instance of DocumentComponentBase
 
Method Summary
 void send(Item item)
          Called when a infoset item is generated by a source.
abstract  void sendDocument(Document doc)
           
 
Methods inherited from class com.smallx.xml.component.ComponentBase
attach, getContext, getName, getVersion, init, isFlushing, post, setFlushing, setOutputType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentComponentBase

protected DocumentComponentBase(Name name,
                                java.lang.String version)
Creates a new instance of DocumentComponentBase

Method Detail

send

public void send(Item item)
          throws XMLException
Description copied from interface: ItemDestination
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

sendDocument

public abstract void sendDocument(Document doc)
                           throws XMLException
Throws:
XMLException