net.groboclown.xml.xdstates.v1.impl
Class SetBuilder.ElBuildo

java.lang.Object
  |
  +--net.groboclown.xml.xdstates.v1.impl.SetBuilder.ElBuildo
All Implemented Interfaces:
ISetBuilder
Enclosing class:
SetBuilder

public class SetBuilder.ElBuildo
extends Object
implements ISetBuilder


Constructor Summary
SetBuilder.ElBuildo()
           
 
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.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

SetBuilder.ElBuildo

public SetBuilder.ElBuildo()
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.
Specified by:
createItem in interface ISetBuilder
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