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 TypeMethodDescriptionvoid
doConfigElement
(Element element) Config an element body as attribute of parent elememt.getName()
void
setBodyType
(String bodyType) void
Methods inherited from class org.x4o.xml.element.AbstractElementConfigurator
isConfigAction, setConfigAction
Methods inherited from class org.x4o.xml.element.AbstractElementMetaBase
getDescription, getId, setDescription, setId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.x4o.xml.element.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
-