|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cactus.integration.ant.deployment.ApplicationXml
Encapsulates the DOM representation of a enterprise application descriptor
(application.xml
) to provide convenience methods for easy access
and manipulation.
Constructor Summary | |
ApplicationXml(org.w3c.dom.Document theDocument)
Constructor. |
Method Summary | |
org.w3c.dom.Document |
getDocument()
Returns the DOM document representing the deployment descriptor. |
java.util.Iterator |
getElements(ApplicationXmlTag theTag)
Returns an iterator over the elements that match the specified tag. |
ApplicationXmlVersion |
getVersion()
Returns the J2EE API version. |
org.w3c.dom.Element |
getWebModule(java.lang.String theWebUri)
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. |
java.lang.String |
getWebModuleContextRoot(java.lang.String theWebUri)
Returns the context root of the the specified web module. |
java.util.Iterator |
getWebModuleUris()
Returns an iterator over the URIs of the web modules defined in the descriptor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ApplicationXml(org.w3c.dom.Document theDocument)
theDocument
- The DOM document representing the parsed deployment
descriptorMethod Detail |
public final org.w3c.dom.Document getDocument()
public final ApplicationXmlVersion getVersion()
public final org.w3c.dom.Element getWebModule(java.lang.String theWebUri)
null
if a web module with the specified web-uri
is not defined.
theWebUri
- The uri of the web module
public final java.lang.String getWebModuleContextRoot(java.lang.String theWebUri)
theWebUri
- The uri of the web module
public final java.util.Iterator getWebModuleUris()
public final java.util.Iterator getElements(ApplicationXmlTag theTag)
theTag
- The descriptor tag of which the elements should be
returned
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |