Class ConfigProcessor
- java.lang.Object
-
- org.rspeer.game.script.model.visitor.ConfigProcessor
-
- All Implemented Interfaces:
ConfigVisitor
public class ConfigProcessor extends Object implements ConfigVisitor
-
-
Constructor Summary
Constructors Constructor Description ConfigProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,FieldAnnotationMapping>
getComponents()
Map<String,MethodAnnotationMapping>
getSelectorDefaults()
Map<String,MethodAnnotationMapping>
getSelectorProxies()
void
setSection(String section, ConfigModel model)
void
visitCheckBox(CheckBoxComponent component, Field field)
void
visitSelector(SelectorComponent component, Field field)
void
visitSelectorDefault(SelectorDefault dflt, Method method)
void
visitSelectorProxy(SelectorProxy proxy, Method method)
void
visitTextField(TextFieldComponent component, Field field)
-
-
-
Method Detail
-
visitCheckBox
public void visitCheckBox(CheckBoxComponent component, Field field)
- Specified by:
visitCheckBox
in interfaceConfigVisitor
-
visitTextField
public void visitTextField(TextFieldComponent component, Field field)
- Specified by:
visitTextField
in interfaceConfigVisitor
-
visitSelector
public void visitSelector(SelectorComponent component, Field field)
- Specified by:
visitSelector
in interfaceConfigVisitor
-
visitSelectorProxy
public void visitSelectorProxy(SelectorProxy proxy, Method method)
- Specified by:
visitSelectorProxy
in interfaceConfigVisitor
-
visitSelectorDefault
public void visitSelectorDefault(SelectorDefault dflt, Method method)
- Specified by:
visitSelectorDefault
in interfaceConfigVisitor
-
setSection
public void setSection(String section, ConfigModel model)
- Specified by:
setSection
in interfaceConfigVisitor
-
getComponents
public Map<String,FieldAnnotationMapping> getComponents()
-
getSelectorProxies
public Map<String,MethodAnnotationMapping> getSelectorProxies()
-
getSelectorDefaults
public Map<String,MethodAnnotationMapping> getSelectorDefaults()
-
-