class CollectionFactory
extends AbstractFactory
This returns a mutable java.util.Collection of some sort, to which items are added.
| Constructor and description |
|---|
CollectionFactory() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Object |
newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)Creates the node handled by this factory. |
|
void |
setChild(FactoryBuilderSupport builder, Object parent, Object child)Attaches a child node to its parent. |
| Methods inherited from class | Name |
|---|---|
class AbstractFactory |
isHandlesNodeChildren, isLeaf, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setChild, setParent |
Creates the node handled by this factory.
builder - the factory buildername - the node namevalue - the node valueattributes - the node attributesAttaches a child node to its parent.
builder - the factory builderparent - the parent nodechild - the child nodeCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.