Package net.fortuna.mstor.data.xml
Class ElementBinding
- java.lang.Object
-
- net.fortuna.mstor.data.xml.XmlBinding
-
- net.fortuna.mstor.data.xml.ElementBinding
-
public class ElementBinding extends XmlBinding
-
-
Field Summary
-
Fields inherited from class net.fortuna.mstor.data.xml.XmlBinding
namespace
-
-
Constructor Summary
Constructors Constructor Description ElementBinding(org.jdom.Element element)
Default constructor.ElementBinding(org.jdom.Element element, org.jdom.Namespace namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jdom.Element
getElement()
org.jdom.Element
getElement(String name)
Returns the specified child element of the element associated with this meta message.-
Methods inherited from class net.fortuna.mstor.data.xml.XmlBinding
getNamespace
-
-
-
-
Method Detail
-
getElement
public final org.jdom.Element getElement(String name)
Returns the specified child element of the element associated with this meta message. If the child does not exist it is created and added to the message element.- Parameters:
name
- name of the child element- Returns:
- a JDOM element
-
getElement
public final org.jdom.Element getElement()
- Returns:
- the element
-
-