com.smallx.xml.component.standard
Class Sequence
java.lang.Object
com.smallx.xml.component.ComponentBase
com.smallx.xml.component.standard.Sequence
- All Implemented Interfaces:
- Component, ComponentSequence, ItemDestination
- Direct Known Subclasses:
- SubtreeView
- public class Sequence
- extends ComponentBase
- implements ComponentSequence
Constructor Summary |
Sequence()
Creates a new instance of SubtreeFilterComponent |
Sequence(Name nm,
java.lang.String version)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sequence
public Sequence()
- Creates a new instance of SubtreeFilterComponent
Sequence
public Sequence(Name nm,
java.lang.String version)
parse
public static ComponentInstance parse(Element spec,
ComponentRegistry registry,
java.util.Map sequences)
throws XMLException
- Throws:
XMLException
parseChildren
public static void parseChildren(ComponentSequence parent,
java.util.Iterator children,
ComponentRegistry registry,
java.util.Map sequences)
throws XMLException
- Throws:
XMLException
append
public void append(Component sub,
ComponentInitializer initializer)
throws XMLException
- Specified by:
append
in interface ComponentSequence
- Throws:
XMLException
attach
public void attach(ItemDestination dest)
throws XMLException
- Specified by:
attach
in interface Component
- Overrides:
attach
in class ComponentBase
- 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
- 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
init
public void init(ComponentContext context)
throws XMLException
- Specified by:
init
in interface Component
- Overrides:
init
in class ComponentBase
- Throws:
XMLException
getInitializer
public ComponentInitializer getInitializer()