|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.smallx.xml.component.ComponentBase
com.smallx.xml.component.standard.DocumentComponent
Nested Class Summary | |
static class |
DocumentComponent.Instantiator
|
Field Summary |
Fields inherited from class com.smallx.xml.component.ComponentBase |
context, flushLevel, name, output |
Constructor Summary | |
DocumentComponent()
Creates a new instance of Identity |
|
DocumentComponent(Document document)
Creates a new instance of Identity |
Method Summary | |
void |
init(ComponentContext context)
|
static ComponentInstance |
parse(Element spec,
ComponentRegistry registry)
|
void |
send(Item item)
Called when a infoset item is generated by a source. |
void |
setDocument(Document doc)
|
Methods inherited from class com.smallx.xml.component.ComponentBase |
attach, getContext, getName, getVersion, isFlushing, post, setFlushing, setOutputType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DocumentComponent()
public DocumentComponent(Document document)
Method Detail |
public static ComponentInstance parse(Element spec, ComponentRegistry registry) throws XMLException
XMLException
public void setDocument(Document doc)
public void init(ComponentContext context) throws XMLException
init
in interface Component
init
in class ComponentBase
XMLException
public void send(Item item) throws XMLException
ItemDestination
item
- The infoset item that was generated by the source.
XMLException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |