Package org.codehaus.cargo.module
Class DescriptorElement
- java.lang.Object
-
- org.jdom2.Content
-
- org.jdom2.Element
-
- org.codehaus.cargo.module.DescriptorElement
-
- All Implemented Interfaces:
Serializable
,Cloneable
,org.jdom2.NamespaceAware
,org.jdom2.Parent
- Direct Known Subclasses:
JndiLink
,ResourceRef
,SystemProperty
,WebXmlElement
public class DescriptorElement extends org.jdom2.Element
Extension of JDOM element that represents a descriptor element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescriptorElement(DescriptorTag tag)
Constructor.DescriptorElement(DescriptorTag tag, org.jdom2.Element element)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptorTag
getTag()
void
setTag(DescriptorTag tag)
-
Methods inherited from class org.jdom2.Element
addContent, addContent, addContent, addContent, addContent, addNamespaceDeclaration, canContainContent, clone, cloneContent, coalesceText, detach, getAdditionalNamespaces, getAttribute, getAttribute, getAttributes, getAttributesSize, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValue, getChild, getChild, getChildren, getChildren, getChildren, getChildText, getChildText, getChildTextNormalize, getChildTextNormalize, getChildTextTrim, getChildTextTrim, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getName, getNamespace, getNamespace, getNamespacePrefix, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getNamespaceURI, getQualifiedName, getText, getTextNormalize, getTextTrim, getValue, getXMLBaseURI, hasAdditionalNamespaces, hasAttributes, indexOf, isAncestor, isRootElement, removeAttribute, removeAttribute, removeAttribute, removeChild, removeChild, removeChildren, removeChildren, removeContent, removeContent, removeContent, removeContent, removeNamespaceDeclaration, setAttribute, setAttribute, setAttribute, setAttributes, setContent, setContent, setContent, setContent, setName, setNamespace, setText, sortAttributes, sortChildren, sortContent, sortContent, toString
-
Methods inherited from class org.jdom2.Content
equals, getCType, getDocument, getParent, getParentElement, hashCode, setParent
-
-
-
-
Constructor Detail
-
DescriptorElement
public DescriptorElement(DescriptorTag tag)
Constructor.- Parameters:
tag
- the tag type
-
DescriptorElement
public DescriptorElement(DescriptorTag tag, org.jdom2.Element element)
Constructor.- Parameters:
tag
- the tag typeelement
- element to clone
-
-
Method Detail
-
getTag
public DescriptorTag getTag()
- Returns:
- the tag
-
setTag
public void setTag(DescriptorTag tag)
- Parameters:
tag
- the tag to set
-
-