public class XMLStyledEntityCreator extends java.lang.Object implements SendableEntityCreator, XMLGrammar
| Constructor and Description |
|---|
XMLStyledEntityCreator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChildren(XMLEntity parent,
XMLEntity child)
Add a Child to parent Element.
|
void |
endChild(java.lang.String tag)
Set the EndTag of Child.
|
java.lang.String[] |
getProperties()
Gets the properties.
|
java.lang.Object |
getSendableInstance(boolean prototyp)
Gets the sendable instance.
|
java.lang.Object |
getValue(java.lang.Object entity,
java.lang.String attribute)
Gets the value.
|
boolean |
parseChild(XMLEntity entity,
XMLEntity child,
Tokener value)
Methgod to parse Children.
|
boolean |
setValue(java.lang.Object entity,
java.lang.String attribute,
java.lang.Object value,
java.lang.String type)
Sets the value.
|
public java.lang.String[] getProperties()
SendableEntityCreatorgetProperties in interface SendableEntityCreatorpublic java.lang.Object getSendableInstance(boolean prototyp)
SendableEntityCreatorgetSendableInstance in interface SendableEntityCreatorprototyp - the prototyppublic java.lang.Object getValue(java.lang.Object entity,
java.lang.String attribute)
SendableEntityCreatorgetValue in interface SendableEntityCreatorentity - the entityattribute - the attributepublic boolean setValue(java.lang.Object entity,
java.lang.String attribute,
java.lang.Object value,
java.lang.String type)
SendableEntityCreatorsetValue in interface SendableEntityCreatorentity - the entityattribute - the attributevalue - the valuetype - edit, update or remove operationpublic boolean parseChild(XMLEntity entity, XMLEntity child, Tokener value)
XMLGrammarparseChild in interface XMLGrammarentity - the Entitychild - the new Childvalue - the Tokenerpublic void addChildren(XMLEntity parent, XMLEntity child)
XMLGrammaraddChildren in interface XMLGrammarparent - the Parent Elementchild - the new Childpublic void endChild(java.lang.String tag)
XMLGrammarendChild in interface XMLGrammartag - the End Tag