|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Descriptor
Common interface for Deployment Descriptors.
Method Summary | |
---|---|
org.jdom.Element |
addElement(DescriptorTag tag,
org.jdom.Element right,
org.jdom.Element rootElement)
Add an element into the descriptor. |
DescriptorType |
getDescriptorType()
Get the descriptor type for this descriptor. |
org.jdom.Document |
getDocument()
|
String |
getFileName()
Returns the file name of this descriptor. |
org.jdom.Element |
getRootElement()
|
org.jdom.Element |
getTagByIdentifier(DescriptorTag tag,
String value)
Get elements of a particular descriptor tag whose identifier matches the passed parameter. |
List |
getTags(DescriptorTag tag)
Get tags of a particular type. |
Methods inherited from interface org.jdom.Parent |
---|
clone, cloneContent, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getParent, indexOf, removeContent, removeContent, removeContent, removeContent |
Method Detail |
---|
String getFileName()
org.jdom.Document getDocument()
getDocument
in interface org.jdom.Parent
org.jdom.Element getRootElement()
org.jdom.Parent#getRootElement
org.jdom.Element addElement(DescriptorTag tag, org.jdom.Element right, org.jdom.Element rootElement)
tag
- Descriptor Tagright
- Element insert beforerootElement
- Parent element
org.jdom.Element getTagByIdentifier(DescriptorTag tag, String value)
tag
- tag to search forvalue
- value for the identifier to match
List getTags(DescriptorTag tag)
tag
- type of elements to find
DescriptorType getDescriptorType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |