|
||||||||||
| 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()
|
java.lang.String |
getFileName()
Returns the file name of this descriptor. |
org.jdom.Element |
getRootElement()
|
org.jdom.Element |
getTagByIdentifier(DescriptorTag tag,
java.lang.String value)
Get elements of a particular descriptor tag whose identifier matches the passed parameter. |
java.util.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 |
|---|
java.lang.String getFileName()
org.jdom.Document getDocument()
getDocument in interface org.jdom.Parentorg.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,
java.lang.String value)
tag - tag to search forvalue - value for the identifier to match
java.util.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 | |||||||||