thinkmap.xmlconfig
Class ObjectBuilder.SetBuilder
java.lang.Object
thinkmap.xmlconfig.ObjectBuilder.SetBuilder
- All Implemented Interfaces:
- IBuilder
- Enclosing class:
- ObjectBuilder
protected static class ObjectBuilder.SetBuilder
- extends Object
- implements IBuilder
|
Method Summary |
XObject |
build(Assembler assembler,
ConfigElement thisElement,
ConfigElement parent,
XObject parentObject)
|
protected boolean |
checkChildren(XObject[] children,
Class<?> constructType)
|
IBuilder |
getBuilderForElement(Assembler assembler,
ConfigElement parent,
ConfigElement child)
|
protected Method |
getSetMethod(Namespace ns,
Class<?> parentClass,
ConfigElement thisElement,
XObject[] setArgs)
|
protected Method[] |
getSetMethods(Class<?> cType,
String name)
|
void |
init(Plugin p)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectBuilder.SetBuilder
protected ObjectBuilder.SetBuilder()
init
public void init(Plugin p)
throws XMLException
- Specified by:
init in interface IBuilder
- Throws:
XMLException
getBuilderForElement
public IBuilder getBuilderForElement(Assembler assembler,
ConfigElement parent,
ConfigElement child)
throws Exception
- Throws:
Exception
build
public XObject build(Assembler assembler,
ConfigElement thisElement,
ConfigElement parent,
XObject parentObject)
throws XMLException
- Specified by:
build in interface IBuilder
- Throws:
XMLException
checkChildren
protected boolean checkChildren(XObject[] children,
Class<?> constructType)
getSetMethod
protected Method getSetMethod(Namespace ns,
Class<?> parentClass,
ConfigElement thisElement,
XObject[] setArgs)
throws XMLException
- Throws:
XMLException
getSetMethods
protected Method[] getSetMethods(Class<?> cType,
String name)
Copyright © 2013 Thinkmap, Inc. All Rights Reserved.