|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cactus.integration.ant.deployment.DefaultApplicationXml
Encapsulates the DOM representation of an EAR descriptor
(application.xml
) to provide convenience methods for easy
access and manipulation.
Constructor Summary | |
DefaultApplicationXml(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 DefaultApplicationXml(org.w3c.dom.Document theDocument)
theDocument
- The DOM document representing the parsed deployment
descriptorMethod Detail |
public final org.w3c.dom.Document getDocument()
ApplicationXml
getDocument
in interface ApplicationXml
ApplicationXml.getDocument()
public final ApplicationXmlVersion getVersion()
ApplicationXml
getVersion
in interface ApplicationXml
ApplicationXml.getVersion()
public final org.w3c.dom.Element getWebModule(java.lang.String theWebUri)
ApplicationXml
null
if a web module with the specified web-uri
is not defined.
getWebModule
in interface ApplicationXml
theWebUri
- The uri of the web module
ApplicationXml.getWebModule(String)
public final java.lang.String getWebModuleContextRoot(java.lang.String theWebUri)
ApplicationXml
getWebModuleContextRoot
in interface ApplicationXml
theWebUri
- The uri of the web module
ApplicationXml.getWebModuleContextRoot(String)
public final java.util.Iterator getWebModuleUris()
ApplicationXml
getWebModuleUris
in interface ApplicationXml
ApplicationXml.getWebModuleUris()
public final java.util.Iterator getElements(ApplicationXmlTag theTag)
ApplicationXml
getElements
in interface ApplicationXml
theTag
- The descriptor tag of which the elements should be
returned
ApplicationXml.getElements(ApplicationXmlTag)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |