Class AttributeFromBodyConfigurator
java.lang.Object
org.x4o.xml.element.AbstractElementMetaBase
org.x4o.xml.element.AbstractElementConfigurator
org.x4o.xml.eld.lang.AttributeFromBodyConfigurator
- All Implemented Interfaces:
ElementConfigurator, ElementMetaBase
AttributeFromBodyConfigurator sets the body as attribute.
- Version:
- 1.0 Aug 23, 2012
- Author:
- Willem Cazander
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoConfigElement(Element element) Config an element body as attribute of parent elememt.getName()voidsetBodyType(String bodyType) voidMethods inherited from class AbstractElementConfigurator
isConfigAction, setConfigActionMethods inherited from class AbstractElementMetaBase
getDescription, getId, setDescription, setIdMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ElementMetaBase
getDescription, getId, setDescription, setId
-
Constructor Details
-
AttributeFromBodyConfigurator
public AttributeFromBodyConfigurator()
-
-
Method Details
-
doConfigElement
Config an element body as attribute of parent elememt.- Parameters:
element- The element to config.- Throws:
ElementConfiguratorException- Is thrown when object tree is non valid.- See Also:
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getBodyType
- Returns:
- the bodyType
-
setBodyType
- Parameters:
bodyType- the bodyType to set
-