| org.apache.cactus.integration.ant.deployment.application.ApplicationXml
All known Subclasses: org.apache.cactus.integration.ant.deployment.application.DefaultApplicationXml,
ApplicationXml | public interface ApplicationXml (Code) | | Encapsulates the DOM representation of an EAR descriptor
(application.xml ) to provide convenience methods for easy
access and manipulation.
since: Cactus 1.5 version: $Id: ApplicationXml.java 239141 2005-02-15 10:31:44Z vmassol $ |
addWebModule | void addWebModule(String theUri, String theContext)(Code) | | Adds a web module to the deployment descriptor
Parameters: theUri - the uri of the new module Parameters: theContext - the context of the new module |
getDocument | Document getDocument()(Code) | | Returns the DOM document representing the deployment descriptor. The
document will contain any modifications made through this instance.
The document representing the deploy descriptor |
getElements | Iterator getElements(ApplicationXmlTag theTag)(Code) | | Returns an iterator over the elements that match the specified tag.
Parameters: theTag - The descriptor tag of which the elements should bereturned An iterator over the elements matching the tag, in the order they occur in the descriptor |
getWebModule | Element getWebModule(String theWebUri)(Code) | | Returns the element that contains the definition of a specific web
module, or null if a web module with the specified web-uri
is not defined.
Parameters: theWebUri - The uri of the web module The DOM element representing the web module definition |
getWebModuleContextRoot | String getWebModuleContextRoot(String theWebUri)(Code) | | Returns the context root of the the specified web module.
Parameters: theWebUri - The uri of the web module The context root of the web module |
getWebModuleUris | Iterator getWebModuleUris()(Code) | | Returns an iterator over the URIs of the web modules defined in the
descriptor.
An iterator over the URIs of the web modules |
|
|