net.groboclown.xml.xdstates.v1
Interface ISetBuilder

All Known Implementing Classes:
MacroPrototypeBuilder, ForEachIterationBuilder, IncludeBuilder, XmlStatesBuilder, SetBuilder, SetBuilder.ElBuildo, MacroBuilder, MacroBuilder.MSubTreeBuilder, MacroBuilder.MNodeBuilder, ModuleBuilder

public interface ISetBuilder

Version:
Alpha 0.9.0 - JDK 1.0+
Author:
Matt Albrecht

Method Summary
 IItem createItem(String tagName, IAttribute[] attributes, String text, IItem[] children, IAttributeMap attrMap, ISetBuilderMap setBuilderMap, IInputStreamGenerator inputStreamGen)
          The builder will create a new IItem to be placed into the tree, as a child of the given parent.
 

Method Detail

createItem

public IItem createItem(String tagName,
                        IAttribute[] attributes,
                        String text,
                        IItem[] children,
                        IAttributeMap attrMap,
                        ISetBuilderMap setBuilderMap,
                        IInputStreamGenerator inputStreamGen)
The builder will create a new IItem to be placed into the tree, as a child of the given parent.
Parameters:
tagName - the tag name from where the item was read.
attributes - the attributes associated with the tag.
text - the plain text inside the tag.
children - all the defined children elements.
attrMap - stores the global IAttributeModule -> name mappings.
setBuilderMap - stores the global ISetBuilder -> tag name mappings.
inputStreamGen - if an external resource needs to be read, use this generator to create the new input stream.
Returns:
an IItem instance. It must be either an IItem or ISet.


Written under the LGPL