public class JBossWebXml extends AbstractDescriptor
jboss-web.xml
to provide convenience methods for easy access and
manipulation.Constructor and Description |
---|
JBossWebXml(Document document)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getContextRoot() |
String |
getFileName()
Returns the file name of this descriptor.
|
addElement, checkElement, createNestedText, getChildText, getDocument, getElements, getImmediateChild, getInsertionPointFor, getNestedElements, getNestedText, getRootElement, getText, replaceElement
public JBossWebXml(Document document)
document
- The DOM document representing the parsed deployment
descriptorpublic String getContextRoot()
jboss-web.xml
file or null if not definedpublic final String getFileName()
Descriptor.getFileName()
Copyright © 2004-2013 Codehaus. All Rights Reserved.