public class GenericJsonGrammar extends SimpleGrammar
| Constructor and Description |
|---|
GenericJsonGrammar() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Class<?> |
getClassForName(java.lang.String className) |
java.lang.Object |
getNewEntity(SendableEntityCreator creator,
java.lang.String className,
boolean prototype)
Get a new Instance of Element from the Creator
|
SendableEntityCreator |
getSuperCreator(IdMap map,
boolean searchForSuperCreator,
java.lang.Object modelItem) |
encode, getCreator, getId, getProperties, getValue, hasValue, withBasicFeature, withoutBasicFeature, writeBasicValue, writeValuepublic SendableEntityCreator getSuperCreator(IdMap map, boolean searchForSuperCreator, java.lang.Object modelItem)
getSuperCreator in class SimpleGrammarpublic java.lang.Object getNewEntity(SendableEntityCreator creator, java.lang.String className, boolean prototype)
GrammargetNewEntity in interface GrammargetNewEntity in class SimpleGrammarcreator - The EntityCreatorclassName - Alternative Name of Classprototype - switch for getNewEntity only for prototypeprotected java.lang.Class<?> getClassForName(java.lang.String className)
getClassForName in class SimpleGrammar