- AbstractChoiceMergeStrategy - Class in org.codehaus.cargo.module.merge.strategy
-
A merging strategy that can make a decision between various differing merge strategies,
depending upon the state that it is passed.
- AbstractChoiceMergeStrategy() - Constructor for class org.codehaus.cargo.module.merge.strategy.AbstractChoiceMergeStrategy
-
- AbstractDescriptor - Class in org.codehaus.cargo.module
-
Encapsulates the DOM representation of a deployment descriptor to provide convenience methods for
easy access and manipulation.
- AbstractDescriptor(Document, Grammar) - Constructor for class org.codehaus.cargo.module.AbstractDescriptor
-
Constructor.
- AbstractDescriptorIo - Class in org.codehaus.cargo.module
-
Provides convenience methods for reading and writing web deployment descriptors.
- AbstractDescriptorIo() - Constructor for class org.codehaus.cargo.module.AbstractDescriptorIo
-
Utility class should not have a public or default constructor.
- AbstractElement - Class in org.codehaus.cargo.module.internal.util.xml
-
Simple wrapped abstract element so that subclasses can bind to particular attributes.
- AbstractElement(Element) - Constructor for class org.codehaus.cargo.module.internal.util.xml.AbstractElement
-
Constructor.
- AbstractMergeSet - Class in org.codehaus.cargo.module.merge
-
Abstract class containing a set of items that need to be merged, split up into items
that just appear in the left-hand side, those in the right-hand side, and
those that are in both (potential conflicts).
- AbstractMergeSet() - Constructor for class org.codehaus.cargo.module.merge.AbstractMergeSet
-
- AbstractNode - Class in org.codehaus.cargo.module.internal.util.xml
-
Simple wrapped abstract node.
- AbstractNode(Node) - Constructor for class org.codehaus.cargo.module.internal.util.xml.AbstractNode
-
- AbstractNodeList - Class in org.codehaus.cargo.module.internal.util.xml
-
Wrapped NodeList that provides accessors and iterators.
- AbstractNodeList(Element, NodeList) - Constructor for class org.codehaus.cargo.module.internal.util.xml.AbstractNodeList
-
Constructor.
- add(Element) - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNodeList
-
Add an item to the list.
- add(Element) - Method in class org.codehaus.cargo.module.merge.AbstractMergeSet
-
As a result of the merge, add an element to the output.
- add(Element) - Method in class org.codehaus.cargo.module.merge.MergeElement
-
As a result of the merge, add an element to the output.
- add(Element) - Method in class org.codehaus.cargo.module.merge.MergeNodeList
-
As a result of the merge, add an element to the output.
- addContextParam(Element) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Adds a new context-param element to the descriptor.
- addDispatchPolicy(EjbDef, String) - Method in class org.codehaus.cargo.module.ejb.weblogic.WeblogicEjbJarXml
-
Adds a dispatch policy to a ejb definition.
- addEjbModule(String) - Method in class org.codehaus.cargo.module.application.ApplicationXml
-
Adds a ejb module to the deployment descriptor.
- addEjbRef(EjbRef) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Adds an ejb-ref.
- addEjbReference(String, String) - Method in class org.codehaus.cargo.module.webapp.orion.OrionWebXml
-
Adds a ejb reference description to orion-web.xml.
- addEjbReference(String, String) - Method in class org.codehaus.cargo.module.webapp.resin.ResinWebXml
-
Adds a ejb reference description to orion-web.xml.
- addEjbReference(String, String) - Method in interface org.codehaus.cargo.module.webapp.VendorWebAppDescriptor
-
Adds an ejb reference to the descriptor.
- addEjbReference(String, String) - Method in class org.codehaus.cargo.module.webapp.weblogic.WeblogicXml
-
Adds a ejb reference description to the weblogic.xml.
- addEjbReference(String, String) - Method in class org.codehaus.cargo.module.webapp.websphere.IbmWebBndXmi
-
Adds a ejb reference description to the websphere web deployment descriptor.
- addElement(DescriptorTag, Element, Element) - Method in class org.codehaus.cargo.module.AbstractDescriptor
-
Adds an element of the specified tag to the descriptor.
- addFilter(String, String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Adds a new servlet filter to the descriptor.
- addFilter(Element) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Adds a new servlet filter to the descriptor.
- addFilterInitParam(String, String, String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Adds an initialization parameter to the specified filter.
- addFilterMapping(String, String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Adds a filter mapping to the descriptor.
- addJspFile(String, String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Adds a mapped JSP file to the descriptor.
- addMergeItem(Object) - Method in class org.codehaus.cargo.module.merge.DocumentMerger
-
Add an item to be merged.
- addMergeItem(Object) - Method in class org.codehaus.cargo.module.merge.DocumentStreamAdapter
-
Add an item to be merged.
- addMergeItem(Object) - Method in interface org.codehaus.cargo.module.merge.MergeProcessor
-
Add an item to be merged.
- addMergeItem(Object) - Method in class org.codehaus.cargo.module.webapp.WarArchiveMerger
-
Add an item to be merged.
- addMergeItem(Object) - Method in class org.codehaus.cargo.module.webapp.WarArchiveMerger.MergedWarArchive.ArchiveResourceMerger
-
Add an item into the merge.
- addMergeProcessor(String, MergeProcessor) - Method in class org.codehaus.cargo.module.webapp.WarArchiveMerger
-
Add a merging processor that merges specified items witin the war files.
- addProcessor(String, MergeProcessor) - Method in class org.codehaus.cargo.module.webapp.WarArchiveMerger.MergedWarArchive
-
- addRootElement(DescriptorTag, Element) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Adds an element of the specified tag to root of the descriptor.
- addSecurityConstraint(String, String, List) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Creates and adds a security-constraint to the descriptor.
- addSecurityRole(String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Adds a new security role to the descriptor.
- addServlet(String, String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Adds a new servlet to the descriptor.
- addServlet(Element) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Adds a new servlet to the descriptor.
- addServletInitParam(String, String, String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Adds an initialization parameter to the specified servlet.
- addServletMapping(String, String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Adds a servlet mapping to the descriptor.
- addServletRunAsRoleName(String, String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Adds a run-as declaration to the specified servlet.
- addStrategyForName(String, MergeStrategy) - Method in class org.codehaus.cargo.module.merge.strategy.ChooseByNameMergeStrategy
-
If the element has this name, then use this strategy.
- addVendorDescriptor(VendorEjbDescriptor) - Method in class org.codehaus.cargo.module.ejb.EjbJarXml
-
Associates a vendor specific descriptor with this web.xml.
- addVendorDescriptor(VendorWebAppDescriptor) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Associates a vendor specific descriptor with this web.xml.
- addWebModule(String, String) - Method in class org.codehaus.cargo.module.application.ApplicationXml
-
Adds a web module to the deployment descriptor.
- appendChild(Node) - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- ApplicationXml - Class in org.codehaus.cargo.module.application
-
Encapsulates the DOM representation of an EAR descriptor (application.xml
) to
provide convenience methods for easy access and manipulation.
- ApplicationXml(Document) - Constructor for class org.codehaus.cargo.module.application.ApplicationXml
-
Constructor.
- ApplicationXmlIo - Class in org.codehaus.cargo.module.application
-
Provides convenience methods for reading and writing enterprise application deployment
descriptors (application.xml).
- ApplicationXmlTag - Class in org.codehaus.cargo.module.application
-
Represents the various top-level tags in a enterprise application deployment descriptor as a
typesafe enumeration.
- ApplicationXmlTag(String, boolean) - Constructor for class org.codehaus.cargo.module.application.ApplicationXmlTag
-
Constructor.
- ApplicationXmlTag(String) - Constructor for class org.codehaus.cargo.module.application.ApplicationXmlTag
-
Constructor.
- ApplicationXmlVersion - Class in org.codehaus.cargo.module.application
-
Enumerated type that represents the version of the deployment descriptor of a enterprise
application (application.xml).
- AUTH_CONSTRAINT - Static variable in class org.codehaus.cargo.module.webapp.WebXmlTag
-
Element name 'auth-constraint'.
- AUTH_FILTER - Static variable in class org.codehaus.cargo.module.webapp.weblogic.WeblogicXmlTag
-
Element name 'auth-filter'.
- AUTH_METHOD - Static variable in class org.codehaus.cargo.module.webapp.WebXmlTag
-
Element name 'auth-method'.
- getApplicationXml() - Method in class org.codehaus.cargo.module.application.DefaultEarArchive
-
Returns the deployment descriptor of the web application.
- getApplicationXml() - Method in interface org.codehaus.cargo.module.application.EarArchive
-
Returns the deployment descriptor of the web application.
- getAttribute(String) - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractElement
- getAttributeNode(String) - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractElement
- getAttributeNodeNS(String, String) - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractElement
- getAttributeNS(String, String) - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractElement
- getAttributes() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getBaseURI() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getByElementId(String) - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNodeList
-
Get an element by comparing the provided name to each element in turn.
- getChildNodes() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getChildText(Element, DescriptorTag) - Method in class org.codehaus.cargo.module.AbstractDescriptor
-
Returns the text value from a child directly under the parent tag.
- getContentAsStream() - Method in class org.codehaus.cargo.module.DefaultJarArchive
-
Returns the content of the archive as JarInputStream
.
- getContextParam(String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the element that contains the definition of a specific context param, or
null
if a context param of the specified name is not defined in the descriptor.
- getContextParamName(Element) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
- getContextParams() - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Get the context parameters.
- getContextRoot() - Method in class org.codehaus.cargo.module.webapp.jboss.JBossWebXml
-
- getDirectoryServlet() - Method in class org.codehaus.cargo.module.webapp.resin.ResinWebXml
-
Get the directory servlet.
- getDispatchPolicy(EjbDef) - Method in class org.codehaus.cargo.module.ejb.weblogic.WeblogicEjbJarXml
-
Returns the dispatch policy for a given ejb.
- getDocument() - Method in class org.codehaus.cargo.module.AbstractDescriptor
-
Returns the DOM document representing the deployment descriptor.
- getDocument() - Method in interface org.codehaus.cargo.module.Descriptor
-
Returns the DOM Document that this Descriptor holds as its internal XML representation.
- getDocument(InputStream) - Method in class org.codehaus.cargo.module.merge.DocumentStreamAdapter
-
Parse the input stream into a document.
- getDtdFileName(String, String) - Method in class org.codehaus.cargo.module.XmlEntityResolver
-
Tries to decide the file name of a DTD from the public and system id.
- getEjbHomeInterface() - Method in class org.codehaus.cargo.module.webapp.EjbRef
-
Returns the ejb home inteface.
- getEjbInterface() - Method in class org.codehaus.cargo.module.webapp.EjbRef
-
Returns the ejb inteface.
- getEjbJarXml() - Method in class org.codehaus.cargo.module.ejb.DefaultEjbArchive
-
Return the ejb-jar.xml.
- getEjbJarXml() - Method in interface org.codehaus.cargo.module.ejb.EjbArchive
-
Return the ejb-jar.xml.
- getEjbModule(String) - Method in class org.codehaus.cargo.module.application.DefaultEarArchive
-
Returns the ejb archive stored in the EAR with the specified URI.
- getEjbModule(String) - Method in interface org.codehaus.cargo.module.application.EarArchive
-
Returns the ejb archive stored in the EAR with the specified URI.
- getEjbModules() - Method in class org.codehaus.cargo.module.application.ApplicationXml
-
Returns an iterator over the ejb modules defined in the descriptor.
- getEjbName() - Method in class org.codehaus.cargo.module.webapp.EjbRef
-
Returns the ejb name.
- getElement() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractElement
-
- getElementId() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractElement
-
Overridden by concrete implementors to return some reasonable identifier for
this section of XML.
- getElementId() - Method in class org.codehaus.cargo.module.webapp.ContextParam
-
Overridden by concrete implementors to return some reasonable identifier for
this section of XML.
- getElementId() - Method in class org.codehaus.cargo.module.webapp.Listener
-
Overridden by concrete implementors to return some reasonable identifier for
this section of XML.
- getElementId() - Method in class org.codehaus.cargo.module.webapp.resin.JndiLink
-
Overridden by concrete implementors to return some reasonable identifier for
this section of XML.
- getElementId() - Method in class org.codehaus.cargo.module.webapp.resin.ResourceRef
-
Overridden by concrete implementors to return some reasonable identifier for
this section of XML.
- getElementId() - Method in class org.codehaus.cargo.module.webapp.resin.SystemProperty
-
Overridden by concrete implementors to return some reasonable identifier for
this section of XML.
- getElementOrder(String) - Method in class org.codehaus.cargo.module.Dtd
-
Returns a List of
DescriptorTag
that describes the order that
elements can appear in a certain element accordingly to the grammar.
- getElementOrder(String) - Method in class org.codehaus.cargo.module.ejb.websphere.IbmEjbJarBndXmiGrammar
-
Returns a List of
DescriptorTag
that describes the order that
elements can appear in a certain element accordingly to the grammar.
- getElementOrder(String) - Method in interface org.codehaus.cargo.module.Grammar
-
Returns a List of
DescriptorTag
that describes the order that
elements can appear in a certain element accordingly to the grammar.
- getElementOrder(String) - Method in class org.codehaus.cargo.module.webapp.websphere.IbmWebBndXmiGrammar
-
Returns a List of
DescriptorTag
that describes the order that
elements can appear in a certain element accordingly to the grammar.
- getElements(DescriptorTag) - Method in class org.codehaus.cargo.module.AbstractDescriptor
-
Returns an iterator over the elements that match the specified tag.
- getElements(ApplicationXmlTag) - Method in class org.codehaus.cargo.module.application.ApplicationXml
-
Returns an iterator over the elements that match the specified tag.
- getElementsByTagName(String) - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractElement
- getElementsByTagNameNS(String, String) - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractElement
- getEntityEjb(String) - Method in class org.codehaus.cargo.module.ejb.EjbJarXml
-
Return a specific entity definition.
- getEntityEjbs() - Method in class org.codehaus.cargo.module.ejb.EjbJarXml
-
Returns all entity ejbs in this descriptor.
- getFeature(String, String) - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getFileHandler() - Method in class org.codehaus.cargo.module.DefaultJarArchive
-
- getFileName() - Method in class org.codehaus.cargo.module.application.ApplicationXml
-
Returns the file name of this descriptor.
- getFileName() - Method in interface org.codehaus.cargo.module.Descriptor
-
Returns the file name of this descriptor.
- getFileName() - Method in class org.codehaus.cargo.module.ejb.EjbJarXml
-
Returns the file name of this descriptor.
- getFileName() - Method in class org.codehaus.cargo.module.ejb.orion.OrionEjbJarXml
-
Returns the file name of this descriptor.
- getFileName() - Method in class org.codehaus.cargo.module.ejb.weblogic.WeblogicEjbJarXml
-
Returns the file name of this descriptor.
- getFileName() - Method in class org.codehaus.cargo.module.ejb.websphere.IbmEjbJarBndXmi
-
Returns the file name of this descriptor.
- getFileName() - Method in class org.codehaus.cargo.module.webapp.jboss.JBossWebXml
-
Returns the file name of this descriptor.
- getFileName() - Method in class org.codehaus.cargo.module.webapp.orion.OrionWebXml
-
Returns the file name of this descriptor.
- getFileName() - Method in class org.codehaus.cargo.module.webapp.resin.ResinWebXml
-
Returns the file name of this descriptor.
- getFileName() - Method in class org.codehaus.cargo.module.webapp.tomcat.TomcatContextXml
-
Returns the file name of this descriptor.
- getFileName() - Method in class org.codehaus.cargo.module.webapp.weblogic.WeblogicXml
-
- getFileName() - Method in class org.codehaus.cargo.module.webapp.websphere.IbmWebBndXmi
-
Returns the file name of this descriptor.
- getFileName() - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the file name of this descriptor.
- getFilter(String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the element that contains the definition of a specific servlet filter, or
null
if a filter of the specified name is not defined in the descriptor.
- getFilterInitParam(String, String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the value of an initialization parameter of the specified filter.
- getFilterInitParamNames(String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the names of the initialization parameters of the specified servlet filter.
- getFilterMappings(String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the URL-patterns that the specified filter is mapped to in an ordered list.
- getFilterNames() - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the names of all filters defined in the deployment descriptor.
- getFilterNamesForClass(String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns a list of names of filters that are mapped to the specified class.
- getFirstChild() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getId() - Method in class org.codehaus.cargo.module.ejb.EjbDef
-
Id accessor.
- getImmediateChild(Element, DescriptorTag) - Method in class org.codehaus.cargo.module.AbstractDescriptor
-
Gets a certain tag directly under the parent tag.
- getInsertionPointFor(DescriptorTag, String) - Method in class org.codehaus.cargo.module.AbstractDescriptor
-
Returns the node before which the specified tag should be inserted, or null
if
the node should be inserted at the end of the descriptor.
- getJBossWebXml() - Method in class org.codehaus.cargo.module.webapp.jboss.JBossWarArchive
-
Returns the jboss-web.xml
deployment descriptor of the web
application.
- getJndiLinks() - Method in class org.codehaus.cargo.module.webapp.resin.ResinWebXml
-
Get the jndi links.
- getJndiName(EjbDef) - Method in class org.codehaus.cargo.module.ejb.orion.OrionEjbJarXml
-
Returns the jndi name for an EJB.
- getJndiName(EjbDef) - Method in interface org.codehaus.cargo.module.ejb.VendorEjbDescriptor
-
Returns the jndi name for an EJB.
- getJndiName(EjbDef) - Method in class org.codehaus.cargo.module.ejb.weblogic.WeblogicEjbJarXml
-
Returns the jndi name for an EJB.
- getJndiName(EjbDef) - Method in class org.codehaus.cargo.module.ejb.websphere.IbmEjbJarBndXmi
-
Returns the jndi name for an EJB.
- getJndiName() - Method in class org.codehaus.cargo.module.webapp.EjbRef
-
Returns the jndi inteface.
- getLastChild() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getLeftElement() - Method in class org.codehaus.cargo.module.merge.MergePair
-
Get the left hand side element in the pair.
- getLength() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNodeList
- getListeners() - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns a list of nodes that are of web listeners.
- getLocal() - Method in class org.codehaus.cargo.module.ejb.EjbDef
-
Local accessor.
- getLocalHome() - Method in class org.codehaus.cargo.module.ejb.EjbDef
-
LocalHome accessor.
- getLocalName() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getLoginConfig() - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns whether the descriptor has a login configuration.
- getLoginConfigAuthMethod() - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the authorization method defined by the login configuration.
- getName() - Method in class org.codehaus.cargo.module.ejb.EjbDef
-
Name accessor.
- getName() - Method in class org.codehaus.cargo.module.webapp.EjbRef
-
Returns the name of the reference.
- getNamespaceURI() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getNestedElements(Element, DescriptorTag) - Method in class org.codehaus.cargo.module.AbstractDescriptor
-
Returns an iterator over the child elements of the specified element that match the specified
tag.
- getNestedText(Element, DescriptorTag) - Method in class org.codehaus.cargo.module.AbstractDescriptor
-
Returns the text nested inside a child element of the specified element.
- getNextSibling() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getNode() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
-
- getNode(Node) - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
-
- getNodeName() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getNodeType() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getNodeValue() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getOwnerDocument() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getParameters() - Method in class org.codehaus.cargo.module.webapp.tomcat.TomcatContextXml
-
Gets all the parameters that match XPath "Context/Parameter".
- getParentNode() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getPath() - Method in class org.codehaus.cargo.module.webapp.tomcat.TomcatContextXml
-
- getPrefix() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getPreviousSibling() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getPublicId() - Method in class org.codehaus.cargo.module.application.ApplicationXmlVersion
-
Returns the public ID of the document type corresponding to the descriptor version.
- getPublicId() - Method in class org.codehaus.cargo.module.ejb.EjbJarXmlVersion
-
Returns the public ID of the document type corresponding to the descriptor version.
- getPublicId() - Method in class org.codehaus.cargo.module.webapp.WebXmlVersion
-
Returns the public ID of the document type corresponding to the descriptor version.
- getResource(String) - Method in class org.codehaus.cargo.module.DefaultJarArchive
-
Returns a resource from the archive as input stream.
- getResource(String) - Method in interface org.codehaus.cargo.module.JarArchive
-
Returns a resource from the archive as input stream.
- getResource(String) - Method in class org.codehaus.cargo.module.webapp.WarArchiveMerger.MergedWarArchive
-
Returns a resource from the archive as input stream.
- getResourceRefs() - Method in class org.codehaus.cargo.module.webapp.resin.ResinWebXml
-
Get the resource references.
- getResources(String) - Method in class org.codehaus.cargo.module.DefaultJarArchive
-
Returns the list of resources in the specified directory in the archive.
- getResources(String) - Method in interface org.codehaus.cargo.module.JarArchive
-
Returns the list of resources in the specified directory in the archive.
- getResources(String) - Method in class org.codehaus.cargo.module.webapp.WarArchiveMerger.MergedWarArchive
-
Returns the list of resources in the specified directory in the archive.
- getRightElement() - Method in class org.codehaus.cargo.module.merge.MergePair
-
Get the right hand side element in the pair.
- getRootElement() - Method in class org.codehaus.cargo.module.AbstractDescriptor
-
- getSchemaTypeInfo() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractElement
- getSecurityConstraint(String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the element that contains the security constraint defined for the specified URL
pattern.
- getSecurityRole(String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the element that contains the specified security role, or null
if the
role is not defined in the descriptor.
- getSecurityRoleNames() - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns a list of the security role names defined in the deployment descriptor.
- getServlet(String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the element that contains the definition of a specific servlet, or null
if a servlet of the specified name is not defined in the descriptor.
- getServletInitParam(String, String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the value of an initialization parameter of the specified servlet.
- getServletInitParamNames(String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the names of the initialization parameters of the specified servlet.
- getServletMappings(String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the URL-patterns that the specified servlet is mapped to in an ordered list.
- getServletNames() - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the names of all servlets defined in the deployment descriptor.
- getServletNamesForClass(String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns a list of names of servlets that are mapped to the specified class.
- getServletNamesForJspFile(String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns a list of names of servlets that are mapped to the specified JSP file.
- getServletRunAsRoleName(String) - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the role name that the servlet is running as.
- getSessionConfig() - Method in class org.codehaus.cargo.module.webapp.resin.ResinWebXml
-
Get the session config element.
- getSessionEjb(String) - Method in class org.codehaus.cargo.module.ejb.EjbJarXml
-
Return a specific session definition.
- getSessionEjbs() - Method in class org.codehaus.cargo.module.ejb.EjbJarXml
-
Returns all session ejbs in this descriptor.
- getSystemId() - Method in class org.codehaus.cargo.module.application.ApplicationXmlVersion
-
Returns the system ID of the document type corresponding to the descriptor version.
- getSystemId() - Method in class org.codehaus.cargo.module.ejb.EjbJarXmlVersion
-
Returns the system ID of the document type corresponding to the descriptor version.
- getSystemId() - Method in class org.codehaus.cargo.module.webapp.WebXmlVersion
-
Returns the system ID of the document type corresponding to the descriptor version.
- getSystemProperties() - Method in class org.codehaus.cargo.module.webapp.resin.ResinWebXml
-
Get the system properties.
- getTagName() - Method in class org.codehaus.cargo.module.DescriptorTag
- getTagName() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractElement
- getText(Element) - Method in class org.codehaus.cargo.module.AbstractDescriptor
-
Returns the text value of an element.
- getText(Element) - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractElement
-
Returns the text value of an element.
- getTextContent() - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getTomcatContextXml() - Method in class org.codehaus.cargo.module.webapp.tomcat.TomcatWarArchive
-
Returns the META-INF/context.xml
deployment descriptor of the web application.
- getType() - Method in class org.codehaus.cargo.module.webapp.EjbRef
-
Returns the type of reference.
- getType() - Method in class org.codehaus.cargo.module.webapp.resin.ResourceRef
-
Get the resource type that this is (eg JNDI).
- getUserData(String) - Method in class org.codehaus.cargo.module.internal.util.xml.AbstractNode
- getValue() - Method in class org.codehaus.cargo.module.webapp.resin.SystemProperty
-
Get the system property value.
- getVendorDescriptors() - Method in class org.codehaus.cargo.module.application.ApplicationXml
-
Returns all vendor descriptors associated with this J2EE deployment descriptor.
- getVendorDescriptors() - Method in class org.codehaus.cargo.module.ejb.EjbJarXml
-
Returns all vendor descriptors associated with this J2EE deployment descriptor.
- getVendorDescriptors() - Method in interface org.codehaus.cargo.module.J2eeDescriptor
-
Returns all vendor descriptors associated with this J2EE deployment descriptor.
- getVendorDescriptors() - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns all vendor descriptors associated with this web.xml.
- getVendorWebAppDescriptor(WebXml, Class) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Get the vendor web app descriptor out of the web xml.
- getVersion() - Method in class org.codehaus.cargo.module.application.ApplicationXml
-
- getVersion() - Method in class org.codehaus.cargo.module.application.ApplicationXmlVersion
-
Returns the tag name.
- getVersion() - Method in class org.codehaus.cargo.module.ejb.EjbJarXmlVersion
-
Returns the tag name.
- getVersion() - Method in class org.codehaus.cargo.module.webapp.WebXml
-
Returns the servlet API version.
- getVersion() - Method in class org.codehaus.cargo.module.webapp.WebXmlVersion
-
Returns the tag name.
- getWebModule(String) - Method in class org.codehaus.cargo.module.application.ApplicationXml
-
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.
- getWebModule(String) - Method in class org.codehaus.cargo.module.application.DefaultEarArchive
-
Returns the web-app archive stored in the EAR with the specified URI.
- getWebModule(String) - Method in interface org.codehaus.cargo.module.application.EarArchive
-
Returns the web-app archive stored in the EAR with the specified URI.
- getWebModuleContextRoot(String) - Method in class org.codehaus.cargo.module.application.ApplicationXml
-
Returns the context root of the the specified web module.
- getWebModuleUris() - Method in class org.codehaus.cargo.module.application.ApplicationXml
-
Returns an iterator over the URIs of the web modules defined in the descriptor.
- getWebXml() - Method in class org.codehaus.cargo.module.webapp.DefaultWarArchive
-
Returns the deployment descriptor of the web application.
- getWebXml() - Method in interface org.codehaus.cargo.module.webapp.WarArchive
-
Returns the deployment descriptor of the web application.
- getWebXml() - Method in class org.codehaus.cargo.module.webapp.WarArchiveMerger.MergedWarArchive
-
Returns the deployment descriptor of the web application.
- getWebXmlMerger() - Method in class org.codehaus.cargo.module.webapp.WarArchiveMerger
-
Get the class used for web xml merging.
- getWebXmlMerger() - Method in class org.codehaus.cargo.module.webapp.WarArchiveMerger.MergedWarArchive
-
Get the web XML merger.
- Grammar - Interface in org.codehaus.cargo.module
-
Contains methods for retrieving grammar information for an XML file.
- merge(MergeStrategy) - Method in class org.codehaus.cargo.module.merge.AbstractMergeSet
-
Perform the merge using the passed strategy.
- merge(ResinWebXml) - Method in class org.codehaus.cargo.module.webapp.resin.ResinWebXmlMerger
-
Merges the merge descriptor with the original descriptor.
- merge(VendorWebAppDescriptor, VendorWebAppDescriptor) - Method in interface org.codehaus.cargo.module.webapp.WebXmlMerger.IMergeImplementation
-
Interface callback.
- merge(WebXml) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Merges the merge descriptor with the original descriptor.
- mergeContextParams(WebXml) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Merges the context-param definitions from the specified descriptor into the original
descriptor.
- mergeContextParamsStrategy - Variable in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Strategy for merging context parameters.
- mergeDirectoryServletStrategy - Variable in class org.codehaus.cargo.module.webapp.resin.ResinWebXmlMerger
-
Strategies for merging directory servlets.
- mergeEjbLocalRefs(WebXml) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Merges the EJB local references from the provided descriptor into the original descriptor.
- mergeEjbRefs(WebXml) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Merges the EJB references from the provided descriptor into the original descriptor.
- MergeElement - Class in org.codehaus.cargo.module.merge
-
MergeElement - a MergeSet that only contains one element from left or right.
- MergeElement(Element, Element, Element) - Constructor for class org.codehaus.cargo.module.merge.MergeElement
-
Constructor.
- mergeEnvironmentEntries(WebXml) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Merges the environment entries from the provided descriptor into the original descriptor.
- MergeException - Exception in org.codehaus.cargo.module.merge
-
Class for various exceptions happening within merges.
- MergeException(String) - Constructor for exception org.codehaus.cargo.module.merge.MergeException
-
- MergeException(String, Throwable) - Constructor for exception org.codehaus.cargo.module.merge.MergeException
-
- mergeFilters(WebXml) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Merges the servlet definitions from the specified descriptor into the original descriptor.
- mergeJndiLinksStrategy - Variable in class org.codehaus.cargo.module.webapp.resin.ResinWebXmlMerger
-
Strategies for merging jndi links.
- mergeListeners(WebXml) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Merges the listener elements from the provided descriptor into the original
descriptor.
- mergeListenerStrategy - Variable in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Strategy for merging listeners.
- mergeLoginConfig(WebXml) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Merges the login configuration from the provided descriptor into the original descriptor,
thereby eventually replacing the existing login config.
- MergeNodeList - Class in org.codehaus.cargo.module.merge
-
A MergedNodeList is a MergeSet that applies to AbstractNodeLists.
- MergeNodeList(AbstractNodeList, AbstractNodeList) - Constructor for class org.codehaus.cargo.module.merge.MergeNodeList
-
Constructor.
- MergePair - Class in org.codehaus.cargo.module.merge
-
Class containing a pair of items that need to be merged.
- MergeProcessor - Interface in org.codehaus.cargo.module.merge
-
Interface implemented by merger classes.
- mergeResourceEnvironmentReferences(WebXml) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Merges the resource environment references from the provided descriptor into the original
descriptor.
- mergeResourceReferences(WebXml) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Merges the resource references from the provided descriptor into the original descriptor.
- mergeResourceRefsStrategy - Variable in class org.codehaus.cargo.module.webapp.resin.ResinWebXmlMerger
-
Strategies for merging resource references.
- mergeSecurityConstraints(WebXml) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
- mergeSecurityRoles(WebXml) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Merges the security roles from the provided descriptor into the original descriptor.
- mergeServlets(WebXml) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Merges the servlet definitions from the specified descriptor into the original descriptor.
- mergeSessionConfigStrategy - Variable in class org.codehaus.cargo.module.webapp.resin.ResinWebXmlMerger
-
Strategies for merging session config.
- MergeStrategy - Class in org.codehaus.cargo.module.merge.strategy
-
A merge strategy is a vistor/stratey defining some way in which potential
merge conflicts can be resolved in the set.
- MergeStrategy() - Constructor for class org.codehaus.cargo.module.merge.strategy.MergeStrategy
-
- mergeSystemPropertiesStrategy - Variable in class org.codehaus.cargo.module.webapp.resin.ResinWebXmlMerger
-
Strategies for merging system properties.
- mergeVendorDescriptors(WebXml) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Merge in any vendor specific descriptors.
- mergeVendorDescriptors(WebXml, Class, WebXmlMerger.IMergeImplementation) - Method in class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Find vendor descriptors of a specific class, and merge them if they exist.
- MIME_MAPPING - Static variable in class org.codehaus.cargo.module.webapp.WebXmlTag
-
Element name 'mime-mapping'.
- MODULE - Static variable in class org.codehaus.cargo.module.application.ApplicationXmlTag
-
Element name 'module'.
- WarArchive - Interface in org.codehaus.cargo.module.webapp
-
Encapsulates access to a WAR.
- WarArchiveMerger - Class in org.codehaus.cargo.module.webapp
-
Class for merging two War Archives into each other.
- WarArchiveMerger() - Constructor for class org.codehaus.cargo.module.webapp.WarArchiveMerger
-
Constructor Class for merging War archives together.
- WarArchiveMerger.MergedWarArchive - Class in org.codehaus.cargo.module.webapp
-
Subclass representing the merged WAR file.
- WarArchiveMerger.MergedWarArchive.ArchiveResourceMerger - Class in org.codehaus.cargo.module.webapp
-
Class to store merging operations.
- WarArchiveMerger.MergedWarArchive.ArchiveResourceMerger(String, MergeProcessor) - Constructor for class org.codehaus.cargo.module.webapp.WarArchiveMerger.MergedWarArchive.ArchiveResourceMerger
-
Constructor.
- WEB - Static variable in class org.codehaus.cargo.module.application.ApplicationXmlTag
-
Element name 'web'.
- WEB_RESOURCE_COLLECTION - Static variable in class org.codehaus.cargo.module.webapp.WebXmlTag
-
Element name 'web-resource-collection'.
- WEB_RESOURCE_NAME - Static variable in class org.codehaus.cargo.module.webapp.WebXmlTag
-
Element name 'web-resource-name'.
- WEB_URI - Static variable in class org.codehaus.cargo.module.application.ApplicationXmlTag
-
Element name 'web-uri'.
- WEBLOGIC_VERSION - Static variable in class org.codehaus.cargo.module.webapp.weblogic.WeblogicXmlTag
-
Element name 'weblogic-version'.
- WeblogicEjbJarXml - Class in org.codehaus.cargo.module.ejb.weblogic
-
Encapsulates the DOM representation of a weblogic ejb deployment descriptor
weblogic-ejb-jar.xml
to provide convenience methods for easy access and
manipulation.
- WeblogicEjbJarXml(Document) - Constructor for class org.codehaus.cargo.module.ejb.weblogic.WeblogicEjbJarXml
-
Constructor.
- WeblogicEjbJarXmlIo - Class in org.codehaus.cargo.module.ejb.weblogic
-
Provides convenience methods for reading Weblogic ejb jar deployment descriptor.
- WeblogicEjbJarXmlIo() - Constructor for class org.codehaus.cargo.module.ejb.weblogic.WeblogicEjbJarXmlIo
-
- WeblogicEjbJarXmlTag - Class in org.codehaus.cargo.module.ejb.weblogic
-
Represents the various tags in a weblogic ejb jar deployment descriptor.
- WeblogicEjbJarXmlTag(String, boolean) - Constructor for class org.codehaus.cargo.module.ejb.weblogic.WeblogicEjbJarXmlTag
-
Constructor.
- WeblogicEjbJarXmlTag(String) - Constructor for class org.codehaus.cargo.module.ejb.weblogic.WeblogicEjbJarXmlTag
-
Constructor.
- WeblogicXml - Class in org.codehaus.cargo.module.webapp.weblogic
-
Encapsulates the DOM representation of a weblogic web deployment descriptor
weblogic.xml
to provide convenience methods for easy access and manipulation.
- WeblogicXml(Document) - Constructor for class org.codehaus.cargo.module.webapp.weblogic.WeblogicXml
-
Constructor.
- WeblogicXmlIo - Class in org.codehaus.cargo.module.webapp.weblogic
-
Provides convenience methods for reading Weblogic web deployment descriptor.
- WeblogicXmlIo() - Constructor for class org.codehaus.cargo.module.webapp.weblogic.WeblogicXmlIo
-
- WeblogicXmlTag - Class in org.codehaus.cargo.module.webapp.weblogic
-
Represents the various top-level tags in a web deployment descriptor as a typesafe enumeration.
- WeblogicXmlTag(String, boolean) - Constructor for class org.codehaus.cargo.module.webapp.weblogic.WeblogicXmlTag
-
Constructor.
- WeblogicXmlTag(String) - Constructor for class org.codehaus.cargo.module.webapp.weblogic.WeblogicXmlTag
-
Constructor.
- WebXml - Class in org.codehaus.cargo.module.webapp
-
Encapsulates the DOM representation of a web deployment descriptor web.xml
to
provide convenience methods for easy access and manipulation.
- WebXml(Document) - Constructor for class org.codehaus.cargo.module.webapp.WebXml
-
Constructor.
- WebXmlIo - Class in org.codehaus.cargo.module.webapp
-
Provides convenience methods for reading and writing web deployment descriptors.
- WebXmlMerger - Class in org.codehaus.cargo.module.webapp
-
Helper class that can merge two web deployment descriptors.
- WebXmlMerger(WebXml) - Constructor for class org.codehaus.cargo.module.webapp.WebXmlMerger
-
Constructor.
- WebXmlMerger.IMergeImplementation - Interface in org.codehaus.cargo.module.webapp
-
Interface used as a callback for descriptors.
- WebXmlTag - Class in org.codehaus.cargo.module.webapp
-
Represents the various top-level tags in a web deployment descriptor as a typesafe enumeration.
- WebXmlTag(String, boolean) - Constructor for class org.codehaus.cargo.module.webapp.WebXmlTag
-
Constructor.
- WebXmlTag(String) - Constructor for class org.codehaus.cargo.module.webapp.WebXmlTag
-
Constructor.
- WebXmlVersion - Class in org.codehaus.cargo.module.webapp
-
Enumerated type that represents the version of the web deployment descriptor.
- WELCOME_FILE_LIST - Static variable in class org.codehaus.cargo.module.webapp.WebXmlTag
-
Element name 'welcome-file-list'.
- WL_DISPATCH_POLICY - Static variable in class org.codehaus.cargo.module.webapp.weblogic.WeblogicXmlTag
-
Element name 'wl-dispatch-policy'.
- writeAll(J2eeDescriptor, String) - Static method in class org.codehaus.cargo.module.AbstractDescriptorIo
-
Writes the WebXml and its associated vendor descriptors to the specified directory.
- writeApplicationXml(ApplicationXml, File) - Static method in class org.codehaus.cargo.module.application.ApplicationXmlIo
-
Writes the specified document to a file.
- writeApplicationXml(ApplicationXml, File, String) - Static method in class org.codehaus.cargo.module.application.ApplicationXmlIo
-
Writes the specified document to a file.
- writeApplicationXml(ApplicationXml, File, String, boolean) - Static method in class org.codehaus.cargo.module.application.ApplicationXmlIo
-
Writes the specified document to a file.
- writeApplicationXml(ApplicationXml, OutputStream, String, boolean) - Static method in class org.codehaus.cargo.module.application.ApplicationXmlIo
-
Writes the specified document to an output stream.
- writeDescriptor(Descriptor, File) - Static method in class org.codehaus.cargo.module.AbstractDescriptorIo
-
Writes the specified document to a file.
- writeDescriptor(Descriptor, File, String) - Static method in class org.codehaus.cargo.module.AbstractDescriptorIo
-
Writes the specified document to a file.
- writeDescriptor(Descriptor, File, String, boolean) - Static method in class org.codehaus.cargo.module.AbstractDescriptorIo
-
Writes the specified document to a file.
- writeDescriptor(Descriptor, OutputStream, String, boolean) - Static method in class org.codehaus.cargo.module.AbstractDescriptorIo
-
Writes the specified document to an output stream.