public class TomcatContextXml extends AbstractDescriptor
META-INF/context.xml to provide convenience methods for easy access and
manipulation.| Constructor and Description |
|---|
TomcatContextXml(Document document)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFileName()
Returns the file name of this descriptor.
|
Map |
getParameters()
Gets all the parameters that match XPath "Context/Parameter".
|
String |
getPath() |
addElement, checkElement, createNestedText, getChildText, getDocument, getElements, getImmediateChild, getInsertionPointFor, getNestedElements, getNestedText, getRootElement, getText, replaceElementpublic TomcatContextXml(Document document)
document - The DOM document representing the parsed deployment descriptorpublic String getPath()
context.xml file (available in
the path attribute) or null if not definedpublic Map getParameters()
public final String getFileName()
Descriptor.getFileName()Copyright © 2004-2013 Codehaus. All Rights Reserved.