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
- Author:
- Ben Fortuna
$Id$
Created on 6/05/2006
|
Field Summary |
protected org.jdom.Element |
element
|
|
Constructor Summary |
ElementBinding(org.jdom.Element element)
Default constructor. |
ElementBinding(org.jdom.Element element,
org.jdom.Namespace namespace)
|
|
Method Summary |
org.jdom.Element |
getElement()
|
org.jdom.Element |
getElement(java.lang.String name)
Returns the specified child element of the element associated with this meta message. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
element
protected org.jdom.Element element
ElementBinding
public ElementBinding(org.jdom.Element element)
- Default constructor.
ElementBinding
public ElementBinding(org.jdom.Element element,
org.jdom.Namespace namespace)
- Parameters:
namespace -
getElement
public final org.jdom.Element getElement(java.lang.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
Copyright © 2004-2011 Micronode. All Rights Reserved.