|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdom.DefaultJDOMFactory
org.codehaus.cargo.module.AbstractDescriptorType
public class AbstractDescriptorType
| Constructor Summary | |
|---|---|
protected |
AbstractDescriptorType(DescriptorType parent,
java.lang.Class descriptorClass,
Grammar grammar)
Constructor. |
| Method Summary | |
|---|---|
void |
addTag(DescriptorTag tag)
Add a descriptor tag to this descriptor type. |
org.jdom.Document |
document(org.jdom.Element rootElement)
Create a JDOM Document. |
org.jdom.Element |
element(java.lang.String arg0)
|
org.jdom.Element |
element(java.lang.String name,
org.jdom.Namespace namespace)
|
java.util.Collection |
getAllTags()
Get all defined tags for this descriptor. |
DescriptorIo |
getDescriptorIo()
Get the IO class for this descriptor type. |
Grammar |
getGrammar()
Get the grammar for this descriptor type. |
org.jdom.JDOMFactory |
getJDOMFactory()
|
DescriptorTag |
getTagByName(java.lang.String name)
Get a descriptor tag by name. |
protected void |
setDescriptorIo(DescriptorIo descriptorIo)
Set the IO class for this descriptor type. |
| Methods inherited from class org.jdom.DefaultJDOMFactory |
|---|
addContent, addNamespaceDeclaration, attribute, attribute, attribute, attribute, cdata, comment, docType, docType, docType, document, document, element, element, entityRef, entityRef, entityRef, processingInstruction, processingInstruction, setAttribute, text |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jdom.JDOMFactory |
|---|
addContent, addNamespaceDeclaration, attribute, attribute, attribute, attribute, cdata, comment, docType, docType, docType, document, document, element, element, entityRef, entityRef, entityRef, processingInstruction, processingInstruction, setAttribute, text |
| Constructor Detail |
|---|
protected AbstractDescriptorType(DescriptorType parent,
java.lang.Class descriptorClass,
Grammar grammar)
parent - the parent of this typedescriptorClass - the class that implements this descriptorgrammar - grammar for this type (or null if none).| Method Detail |
|---|
public DescriptorIo getDescriptorIo()
getDescriptorIo in interface DescriptorTypeprotected void setDescriptorIo(DescriptorIo descriptorIo)
descriptorIo - the IO classpublic Grammar getGrammar()
getGrammar in interface DescriptorTypepublic void addTag(DescriptorTag tag)
addTag in interface DescriptorTypetag - the tag to add.public DescriptorTag getTagByName(java.lang.String name)
DescriptorType
getTagByName in interface DescriptorTypename - name of the tag
public java.util.Collection getAllTags()
DescriptorType
getAllTags in interface DescriptorTypepublic org.jdom.Element element(java.lang.String arg0)
element in interface org.jdom.JDOMFactoryelement in class org.jdom.DefaultJDOMFactoryJDOMFactory.element(java.lang.String)
public org.jdom.Element element(java.lang.String name,
org.jdom.Namespace namespace)
element in interface org.jdom.JDOMFactoryelement in class org.jdom.DefaultJDOMFactorypublic org.jdom.Document document(org.jdom.Element rootElement)
document in interface org.jdom.JDOMFactorydocument in class org.jdom.DefaultJDOMFactoryrootElement - the root element for the document
public org.jdom.JDOMFactory getJDOMFactory()
getJDOMFactory in interface DescriptorTypeDescriptorType.getJDOMFactory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||