|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdom.Document
org.codehaus.cargo.module.AbstractDescriptor
org.codehaus.cargo.module.webapp.tomcat.TomcatContextXml
public class TomcatContextXml
Encapsulates the DOM representation of a web deployment descriptor
META-INF/context.xml to provide convenience methods for easy access and
manipulation.
| Field Summary |
|---|
| Fields inherited from class org.jdom.Document |
|---|
baseURI |
| Constructor Summary | |
|---|---|
TomcatContextXml(org.jdom.Element rootElement,
DescriptorType type)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFileName()
Returns the file name of this descriptor. |
java.util.Map |
getParameters()
Gets all the parameters that match XPath "Context/Parameter". |
java.lang.String |
getPath()
|
| Methods inherited from class org.codehaus.cargo.module.AbstractDescriptor |
|---|
addElement, checkElement, createNestedText, getChildText, getChildText, getDescriptorType, getDocument, getElements, getElements, getImmediateChild, getInsertionPointFor, getNestedElements, getNestedText, getTagByIdentifier, getTagByIdentifier, getTags, getTags, getText |
| Methods inherited from class org.jdom.Document |
|---|
addContent, addContent, addContent, addContent, clone, cloneContent, detachRootElement, equals, getBaseURI, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getDocType, getParent, getProperty, getRootElement, hashCode, hasRootElement, indexOf, removeContent, removeContent, removeContent, removeContent, setBaseURI, setContent, setContent, setContent, setContent, setDocType, setProperty, setRootElement, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.codehaus.cargo.module.Descriptor |
|---|
getRootElement |
| Methods inherited from interface org.jdom.Parent |
|---|
clone, cloneContent, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getParent, indexOf, removeContent, removeContent, removeContent, removeContent |
| Constructor Detail |
|---|
public TomcatContextXml(org.jdom.Element rootElement,
DescriptorType type)
rootElement - The root element of the contexttype - the document descriptor type| Method Detail |
|---|
public java.lang.String getPath()
context.xml file (available in
the path attribute) or null if not definedpublic java.util.Map getParameters()
public final java.lang.String getFileName()
Descriptor.getFileName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||