public interface Descriptor
extends org.jdom.Parent
Modifier and Type | Method and Description |
---|---|
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.
|
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 elementorg.jdom.Element getTagByIdentifier(DescriptorTag tag, String value)
tag
- tag to search forvalue
- value for the identifier to matchList getTags(DescriptorTag tag)
tag
- type of elements to findDescriptorType getDescriptorType()
Copyright © 2004-2013 Codehaus. All Rights Reserved.