com.smallx.xml.component.standard
Class SubtreeView

java.lang.Object
  extended bycom.smallx.xml.component.ComponentBase
      extended bycom.smallx.xml.component.standard.Sequence
          extended bycom.smallx.xml.component.standard.SubtreeView
All Implemented Interfaces:
Component, ComponentSequence, ItemDestination

public class SubtreeView
extends Sequence


Nested Class Summary
static class SubtreeView.Instantiator
           
 
Field Summary
 
Fields inherited from class com.smallx.xml.component.ComponentBase
context, flushLevel, name, output
 
Constructor Summary
SubtreeView()
          Creates a new instance of SubtreeFilterComponent
 
Method Summary
 void attach(ItemDestination dest)
           
 void init(ComponentContext context)
           
static ComponentInstance parse(Element spec, ComponentRegistry registry, java.util.Map sequences)
           
 void send(Item item)
          Called when a infoset item is generated by a source.
 void setExpression(EventExpression newExpr)
           
 
Methods inherited from class com.smallx.xml.component.standard.Sequence
append, getInitializer, parseChildren
 
Methods inherited from class com.smallx.xml.component.ComponentBase
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

SubtreeView

public SubtreeView()
Creates a new instance of SubtreeFilterComponent

Method Detail

parse

public static ComponentInstance parse(Element spec,
                                      ComponentRegistry registry,
                                      java.util.Map sequences)
                               throws XMLException
Throws:
XMLException

setExpression

public void setExpression(EventExpression newExpr)
                   throws XPathException
Throws:
XPathException

attach

public void attach(ItemDestination dest)
            throws XMLException
Specified by:
attach in interface Component
Overrides:
attach in class Sequence
Throws:
XMLException

send

public void send(Item item)
          throws XMLException
Description copied from interface: ItemDestination
Called when a infoset item is generated by a source.

Specified by:
send in interface ItemDestination
Overrides:
send in class Sequence
Throws:
XMLException

init

public void init(ComponentContext context)
          throws XMLException
Specified by:
init in interface Component
Overrides:
init in class Sequence
Throws:
XMLException