|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.
Constructor Summary | |
---|---|
TomcatContextXml(org.w3c.dom.Document document)
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, getDocument, getElements, getImmediateChild, getInsertionPointFor, getNestedElements, getNestedText, getRootElement, getText, replaceElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TomcatContextXml(org.w3c.dom.Document document)
document
- The DOM document representing the parsed deployment descriptorMethod 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 |