thinkmap.xmlconfig
Class ComponentBuilder
java.lang.Object
thinkmap.xmlconfig.ComponentBuilder
- All Implemented Interfaces:
- IBuilder
public class ComponentBuilder
- extends Object
- implements IBuilder
This builder builds the instances of XMLComponents, not the components themselves
- Version:
- $Revision: 1.8 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attributes
protected XMLComponent.Attribute[] attributes
rootClass
protected Class<?> rootClass
url
protected URL url
ComponentBuilder
public ComponentBuilder()
init
public void init(Plugin p)
throws XMLException
- Specified by:
init in interface IBuilder
- Throws:
XMLException
build
public XObject build(Assembler assembler,
ConfigElement thisElement,
ConfigElement parent,
XObject parentObject)
throws XMLException
- Specified by:
build in interface IBuilder
- Throws:
XMLException
initAttributes
public void initAttributes(Assembler assembler,
XObject subConfig,
ConfigElement sourceElement)
throws XMLException
- Throws:
XMLException
initAttribute
protected void initAttribute(Assembler assembler,
XObject subConfig,
ConfigElement sourceElement,
XMLComponent.Attribute a)
throws XMLException
- Throws:
XMLException
Copyright © 2013 Thinkmap, Inc. All Rights Reserved.