Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C D E F G H I J L M N O P R S T U V W

A

AUTH_CONSTRAINT - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'auth-constraint'.
AUTH_METHOD - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'auth-method'.
addContextParam(Element) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Adds a new context-param element to the descriptor.
addElement(WebXmlTag, Element) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Adds an element of the specified tag to the descriptor.
addFilter(String, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Adds a new servlet filter to the descriptor.
addFilter(Element) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Adds a new servlet filter to the descriptor.
addFilterInitParam(String, String, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Adds an initialization parameter to the specified filter.
addFilterMapping(String, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Adds a filter mapping to the descriptor.
addInitParam(Element, String, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Adds an initialization parameter to the specified filter or servlet.
addJspFile(String, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Adds a mapped JSP file to the descriptor.
addSecurityConstraint(String, String, List) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Creates and adds a security-constraint to the descriptor.
addSecurityRole(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Adds a new security role to the descriptor.
addServlet(String, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Adds a new servlet to the descriptor.
addServlet(Element) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Adds a new servlet to the descriptor.
addServletInitParam(String, String, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Adds an initialization parameter to the specified servlet.
addServletMapping(String, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Adds a servlet mapping to the descriptor.
addServletRunAsRoleName(String, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Adds a run-as declaration to the specified servlet.

B

builder - Variable in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
The JAXP document builder.
builder - Variable in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
The JAXP document builder.

C

CONTEXT_PARAM - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'context-param'.
checkElement(Element, WebXmlTag) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Checks an element whether its name matches the specified name.
checkServletVersions(WebXml) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Checks the versions of the servlet API in each descriptor, and logs a warning if a mismatch might result in the loss of definitions.
compareTo(Object) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlVersion
 
containsClass(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.DefaultWarArchive
Returns whether a class of the specified name is contained in the web-app archive, either directly in WEB-INF/classes, or in one of the JARs in WEB-INF/lib.
createContextParamElement(Document, String, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Create a context-param element containing the specified text in the child elements.
createFilterElement(Document, String, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Create a filter element containing the specified text in the child elements.
createNestedText(WebXmlTag, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Creates an element that contains nested text.
createServletElement(Document, String, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Create a servlet element containing the specified text in the child elements.

D

DESCRIPTION - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'description'.
DISPLAY_NAME - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'display-name'.
DISTRIBUTABLE - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'distributable'.
DefaultWarArchive - class org.apache.cactus.integration.ant.deployment.webapp.DefaultWarArchive.
Class that encapsulates access to a WAR.
DefaultWarArchive(File) - Constructor for class org.apache.cactus.integration.ant.deployment.webapp.DefaultWarArchive
Constructor.
DefaultWarArchive(InputStream) - Constructor for class org.apache.cactus.integration.ant.deployment.webapp.DefaultWarArchive
Constructor.
document - Variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
The DOM representation of the deployment descriptor.
domImpl - Variable in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlVersion
The DOM implementation

E

EJB_LOCAL_REF - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'ejb-local-ref'.
EJB_REF - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'ejb-ref'.
ELEMENT_ORDER - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Specifies the order in which the top-level elements must appear in the descriptor, according to the DTD.
ENV_ENTRY - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'env-entry'.
ERROR_PAGE - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'error-page'.
equals(Object) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
 
equals(Object) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlVersion
 

F

FILTER - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'filter'.
FILTER_CLASS - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'filter-class'.
FILTER_MAPPING - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'filter-mapping'.
FILTER_NAME - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'filter-name'.
factory - Variable in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
The document builder factory.
factory - Variable in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
The document builder factory.

G

getContextParam(String) - Method in class org.apache.cactus.integration.ant.deployment.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.apache.cactus.integration.ant.deployment.webapp.WebXml
 
getDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the DOM document representing the deployment descriptor.
getElements(WebXmlTag) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns an iterator over the elements that match the specified tag.
getFilter(String) - Method in class org.apache.cactus.integration.ant.deployment.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.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the value of an initialization parameter of the specified filter.
getFilterInitParamNames(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the names of the initialization parameters of the specified servlet filter.
getFilterMappings(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the URL-patterns that the specified filter is mapped to in an ordered list.
getFilterNames() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the names of all filters defined in the deployment descriptor.
getFilterNamesForClass(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns a list of names of filters that are mapped to the specified class.
getInitParam(Element, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the value of an initialization parameter of the specified filter or servlet.
getInitParamNames(Element) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the names of the initialization parameters of the specified filter or servlet.
getInsertionPointFor(WebXmlTag) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
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.
getLoginConfig() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns whether the descriptor has a login configuration.
getLoginConfigAuthMethod() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the authorization method defined by the login configuration.
getNestedElements(Element, WebXmlTag) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns an iterator over the child elements of the specified element that match the specified tag.
getNestedText(Element, WebXmlTag) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the text nested inside a child element of the specified element.
getPublicId() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlVersion
Returns the public ID of the document type corresponding to the descriptor version.
getSecurityConstraint(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the element that contains the security constraint defined for the specified URL pattern.
getSecurityRole(String) - Method in class org.apache.cactus.integration.ant.deployment.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.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns a list of the security role names defined in the deployment descriptor
getServlet(String) - Method in class org.apache.cactus.integration.ant.deployment.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.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the value of an initialization parameter of the specified servlet.
getServletInitParamNames(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the names of the initialization parameters of the specified servlet.
getServletMappings(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the URL-patterns that the specified servlet is mapped to in an ordered list.
getServletNames() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the names of all servlets defined in the deployment descriptor.
getServletNamesForClass(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns a list of names of servlets that are mapped to the specified class.
getServletNamesForJspFile(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns a list of names of servlets that are mapped to the specified JSP file.
getServletRunAsRoleName(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the role name that the servlet is running as.
getSystemId() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlVersion
Returns the system ID of the document type corresponding to the descriptor version.
getTagName() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Returns the tag name.
getTestInput(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWarArchive
Returns a file from the test inputs directory, which is determined by the system property testinput.dir.
getVersion() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns the servlet API version.
getVersion() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlVersion
Returns the tag name.
getWebXml() - Method in class org.apache.cactus.integration.ant.deployment.webapp.DefaultWarArchive
 
getWebXml() - Method in interface org.apache.cactus.integration.ant.deployment.webapp.WarArchive
Returns the deployment descriptor of the web application.

H

hasContextParam(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns whether a context param by the specified name is defined in the deployment descriptor.
hasFilter(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns whether a servlet filter by the specified name is defined in the deployment descriptor.
hasLoginConfig() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns whether the descriptor has a login configuration.
hasSecurityConstraint(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns whether a security constraint has been mapped to the specified URL pattern.
hasSecurityRole(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns whether a specific security role has been defined.
hasServlet(String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Returns whether a servlet by the specified name is defined in the deployment descriptor.
hashCode() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
 
hashCode() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlVersion
 

I

ICON - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'icon'.
INIT_PARAM - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'init-param'.
insertElements(WebXml, WebXmlTag) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Insert all elements of the specified tag from the given descriptor into the original descriptor, and returns the number of elements that were added.
isMultipleAllowed() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Returns whether the tag may occur multiple times in the descriptor.

J

JSP_FILE - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'jsp-file'.

L

LISTENER - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'listener'.
LOAD_ON_STARTUP - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'load-on-startup'.
LOGIN_CONFIG - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'login-config'.
log - Variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
The log to use.

M

MIME_MAPPING - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'mime-mapping'.
merge(WebXml) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Merges the merge descriptor with the original descriptor.
mergeContextParams(WebXml) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Merges the context-param definitions from the specified descriptor into the original descriptor.
mergeEjbLocalRefs(WebXml) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Merges the EJB local references from the provided descriptor into the original descriptor.
mergeEjbRefs(WebXml) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Merges the EJB references from the provided descriptor into the original descriptor.
mergeEnvironmentEntries(WebXml) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Merges the environment entries from the provided descriptor into the original descriptor.
mergeFilters(WebXml) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Merges the servlet definitions from the specified descriptor into the original descriptor.
mergeLoginConfig(WebXml) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Merges the login configuration from the provided descriptor into the original descriptor, thereby eventually replacing the existing login config.
mergeResourceEnvironmentReferences(WebXml) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Merges the resource environment references from the provided descriptor into the original descriptor.
mergeResourceReferences(WebXml) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Merges the resource references from the provided descriptor into the original descriptor.
mergeSecurityConstraints(WebXml) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Merges the
mergeSecurityRoles(WebXml) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Merges the security roles from the provided descriptor into the original descriptor.
mergeServlets(WebXml) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Merges the servlet definitions from the specified descriptor into the original descriptor.
multipleAllowed - Variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Whether multiple occurrences of the tag in the descriptor are allowed.

N

newWebXml(WebXmlVersion) - Static method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlIo
Creates a new empty deployment descriptor.

O

org.apache.cactus.integration.ant.deployment.webapp - package org.apache.cactus.integration.ant.deployment.webapp
Contains classes that support deployment aspects like parsing deployment descriptors and extracting resources from deployment archives.

P

PARAM_NAME - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'param-name'.
PARAM_VALUE - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'param-value'.
parseWebXml(InputStream, EntityResolver) - Static method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlIo
Parses a deployment descriptor provided as input stream.
parseWebXmlFromFile(File, EntityResolver) - Static method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlIo
Parses a deployment descriptor stored in a regular file.
publicId - Variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlVersion
The public ID of the corresponding document type.

R

REALM_NAME - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'realm-name'.
RESOURCE_ENV_REF - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'resource-env-ref'.
RESOURCE_REF - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'resource-ref'.
ROLE_NAME - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'role-name'.
RUN_AS - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'run-as'.
replaceElement(WebXmlTag, Element) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Replaces all elements of the specified tag with the provided element.
replaceElement(WebXml, WebXmlTag) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Replaces the element of the specified tag in the original descriptor with the equivalent element in the specified descriptor.
resolveEntity(String, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlIo.WebXmlEntityResolver
 
rootElement - Variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
The root element of the descriptor.

S

SECURITY_CONSTRAINT - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'security-constraint'.
SECURITY_ROLE - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'security-role'.
SERVLET - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'servlet'.
SERVLET_CLASS - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'servlet-class'.
SERVLET_MAPPING - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'servlet-mapping'.
SERVLET_NAME - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'servlet-name'.
SESSION_CONFIG - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'session-config'.
setLog(Log) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlMerger
Sets the log to which events should be written.
setLoginConfig(String, String) - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXml
Sets the login configuration.
setUp() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
 
setUp() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
 
setUp() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlVersion
 
systemId - Variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlVersion
The system ID of the corresponding document type.

T

TAGLIB - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'taglib'.
TestWarArchive - class org.apache.cactus.integration.ant.deployment.webapp.TestWarArchive.
Unit tests for WarArchive.
TestWarArchive() - Constructor for class org.apache.cactus.integration.ant.deployment.webapp.TestWarArchive
 
TestWebXml - class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml.
Unit tests for WebXml.
TestWebXml() - Constructor for class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
 
TestWebXmlMerger - class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger.
Unit tests for WebXmlMerger.
TestWebXmlMerger() - Constructor for class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
 
TestWebXmlVersion - class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlVersion.
Unit tests for WebXmlVersion.
TestWebXmlVersion() - Constructor for class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlVersion
 
tagName - Variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
The tag name,
testAddContextParamToDocumentWithAnotherContextParam() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a single context param is correctly inserted into a descriptor that already contains an other context param definition.
testAddContextParamToDocumentWithTheSameContextParam() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether trying to add a context param to a descriptor that already contains a context param definition with the same name results in an exception.
testAddContextParamToEmptyDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a single context-param is correctly inserted into an empty descriptor.
testAddFilterToDocumentWithAnotherFilter() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a single filter is correctly inserted into a descriptor that already contains an other filter definition.
testAddFilterToDocumentWithTheSameFilter() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether trying to add a filter to a descriptor that already contains a filter definition with the same name results in a exception.
testAddFilterToEmptyDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a single filter is correctly inserted into an empty descriptor.
testAddFilterWithNameAndClass() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a single filter can be added using the method that takes a string for the filter name and a string for the filter class.
testAddMultipleFilterInitParams() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether multiple initialization parameter can be added to a filter definition.
testAddMultipleServletInitParams() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether multiple initialization parameters are correctly added to an existing servlet definition.
testAddOneFilterInitParam() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a single initialization parameter can be added to a filter definition.
testAddOneServletInitParam() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a single initialization parameter is correctly added to an existing servlet definition.
testAddSecurityConstraint() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a security-constraint with no roles is successfully added to an empty descriptor.
testAddSecurityConstraintWithRoles() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a security-constraint with two roles is successfully added to an empty descriptor.
testAddServletRunAsRole() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests that a run-as role-name can be added to a servlet
testAddServletToDocumentWithAnotherServlet() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a single servlet can be added to a descriptor already containing an other servlet.
testAddServletToDocumentWithTheSameServlet() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether trying to add a servlet to a descriptor that already contains a servlet with the same name results in an exception.
testAddServletToEmptyDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a single servlet can be added to an empty descriptor.
testAddServletWithNameAndClass() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a single servlet can be added using the method that takes a string for the servlet name and a string for the servlet class.
testAddServletWithNameAndJspFile() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a single servlet can be added using the method that takes a string for the servlet name and a string for the JSP file.
testCompare22To22() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlVersion
Verifies that comparing version 2.2 to version 2.2 yields zero.
testCompare22To23() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlVersion
Verifies that comparing version 2.2 to version 2.3 yields a negative value.
testCompare23To22() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlVersion
Verifies that comparing version 2.2 to version 2.3 yields a negative value.
testCompare23To23() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlVersion
Verifies that comparing version 2.3 to version 2.3 yields zero.
testConstructionWithNullDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether the construction of a WebXml object with a null parameter for the DOM document throws a NullPointerException.
testContainsClassEmpty() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWarArchive
Verifies that the method containsClass() returns false if the WAR does not contain such a class.
testContainsClassInWebinfClasses() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWarArchive
Verifies that the method containsClass() returns true if the WAR contains the requested class in WEB-INF/classes.
testContainsClassInWebinfLib() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWarArchive
Verifies that the method containsClass() returns true if the WAR contains the requested class in a JAR in WEB-INF/lib.
testElementOrderFilterBeforeServlet() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a filter is inserted before a servlet element.
testElementOrderFilterBeforeServletWithComment() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a filter is inserted before the comment node preceding a servlet definition.
testElementOrderServletAfterFilter() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a servlet is inserted after a filter.
testElementOrderServletAfterFilterWithComment() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a servlet is inserted after a filter that is preceded by a comment node.
testGetFilterElementWithOneFilter() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a DOM element representing a single filter definition can be correctly retrieved from a descriptor containing only that filter.
testGetFilterMappingsWithFilter() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a filter-mapping is correctly retrieved from a descriptor.
testGetFilterMappingsWithMultipleMappings() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether multiple filter-mappings are correctly retrieved from a descriptor.
testGetFilterMappingsWithOneMapping() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a filter-mapping is correctly retrieved from a descriptor.
testGetFilterNames() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether the filter names are retrieved in the expected order.
testGetFilterNamesForClassWithMultipleFilters() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a retrieving the filter names by the name of the class implementing the filter works correctly for a descriptor with multiple filter definitions.
testGetFilterNamesForClassWithSingleFilter() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a retrieving a filter name by the name of the class implementing the filter works correctly for a descriptor with a single filter definition.
testGetLoginConfig() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether the login-config element can be correctly retrieved.
testGetLoginConfigAuthMethod() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests retrieving the authentication method from a descriptor.
testGetLoginConfigEmpty() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether retrieving the login-config from an empty descriptor returns null.
testGetMutlipleSecurityConstraints() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether multiple security-constraint elements are returned in the expected order.
testGetMutlipleSecurityRoles() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether multiple security-role elements are correctly retrieved in the expected order.
testGetServletElementWithOneServlet() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a servlet element is correctly retrieved from a descriptor containing only one servlet definition.
testGetServletMappingsWithMultipleMappings() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether multiple servlet mappings are correctly retrieved from a descriptor.
testGetServletMappingsWithOneMapping() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a single serrvlet-mapping is correctly retrieved from a descriptor.
testGetServletNames() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether the names of the servlets defined in a descriptor are correctly returned in the expected order.
testGetServletNamesForClassWithMultipleServlets() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a retrieving the servlet names by the name of the class implementing the servlet works correctly for a descriptor with multiple servlet definitions.
testGetServletNamesForClassWithSingleServlet() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a retrieving a servlet name by the name of the class implementing the servlet works correctly for a descriptor with a single servlet definition.
testGetServletNamesForJspFileWithMultipleServlets() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a retrieving the servlet names by the path of the JSP file implementing the servlet works correctly for a descriptor with multiple servlet definitions.
testGetServletNamesForJspFileWithSingleServlet() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a retrieving a servlet name by the path of the JSP file implementing the servlet works correctly for a descriptor with a single servlet definition.
testGetServletRunAsRole() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests that the a servlets run-as role-name can be extracted
testGetSingleSecurityConstraint() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a single security-constraint element in the descriptor is correctly retrieved.
testGetSingleSecurityRole() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a single security-role element is correctly retrieved.
testGetVersion22() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a servlet API version 2.2 descriptor is correctly detected.
testGetVersion23() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether a servlet API version 2.3 descriptor is correctly detected.
testGetVersionUnknown() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether WebXml#getVersion returns null when the public ID of the DOCTYPE is not recognized.
testGetVersionWithoutDoctype() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether WebXml#getVersion returns null when the DOCTYPE is missing.
testHasFilterWithMultipleFilters() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether WebXml.hasFilter returns the correct values for a descriptor containing multiple filter definitions.
testHasFilterWithNullName() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether calling WebXml.hasFilter with null as filter name parameter results in a NullPointerException being thrown.
testHasFilterWithOneFilter() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether WebXml.hasFilter returns the correct value for a descriptor containing one filter definition.
testHasLoginConfig() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether checking a descriptor with a login configuration for a login configuration results in true.
testHasLoginConfigEmpty() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether checking an empty descriptor for a login configuration results in false.
testHasSecurityConstraintEmpty() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether checking an empty descriptor for some security constraint results in false.
testHasSecurityRoleEmpty() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether checking an empty descriptor for some security roles results in false.
testHasServletWithMultipleServlets() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether WebXml.hasServlet(java.lang.String) 55 reports the correct values for a descriptor containing multiple servlet definitions.
testHasServletWithNullName() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether calling WebXml.hasServlet(java.lang.String) 55 with a null parameter as servlet name throws a NullPointerException.
testHasServletWithOneServlet() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests whether WebXml.hasServlet(java.lang.String) 55 reports the correct values for a descriptor containing a single servlet definition.
testMergeMultipleFiltersIntoEmptyDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether multiple filters are correctly merged into an empty descriptor.
testMergeMultipleServletsIntoEmptyDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether multiple servlet in the merge file are correctly inserted into an empty descriptor.
testMergeOneContextParamIntoDocumentWithAnotherContextParam() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single context param is correctly merged into a descriptor that already contains another context param.
testMergeOneContextParamIntoDocumentWithSameContextParam() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single context param in the merge descriptor is ignored because a context param with the same name already exists in the source descriptor.
testMergeOneContextParamIntoEmptyDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single context param is correctly merged into an empty descriptor.
testMergeOneEjbRefIntoEmptyDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single EJB reference is correctly inserted into an empty descriptor.
testMergeOneFilterIntoDocumentWithAnotherFilter() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single filter is correctly merged into a descriptor that already contains another filter.
testMergeOneFilterIntoDocumentWithMultipleFilters() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single filter is correctly merged into a descriptor that already contains multiple other filter definitions.
testMergeOneFilterIntoDocumentWithSameFilter() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single filter in the merge descriptor is ignored because a filter with the same name already exists in the source descriptor.
testMergeOneFilterIntoDocumentWithSameFilterAndParam() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a filter initialization parameter is merged into the descriptor.
testMergeOneFilterIntoEmptyDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single filter is correctly merged into an empty descriptor.
testMergeOneFilterWithMultipleMappingsIntoEmptyDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests wether a single filter with multiple mappings is correctly merged into an empty descriptor.
testMergeOneFilterWithOneMappingIntoEmptyDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a filter with one mapping is correctly merged into an empty descriptor.
testMergeOneServletIntoDocumentWithAnotherServlet() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single servlet is correctly merged into a descriptor that already contains the definition of an other servlet.
testMergeOneServletIntoDocumentWithMultipleServlets() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single servlet is correctly merged into a descriptor with multiple servlets.
testMergeOneServletIntoDocumentWithSameServlet() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single servlet is correctly merged into a descriptor that already contains the definition of a servlet with the same name.
testMergeOneServletIntoDocumentWithSameServletAndParam() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tets whether a servlet with an initialization parameter is correctly merged into a descriptor that contains the definition of a servlet with the same name.
testMergeOneServletIntoEmptyDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single servlet is correctly merged into an empty descriptor.
testMergeOneServletWithMultipleMappingsIntoEmptyDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single servlet with multiple mappings is correctly inserted into an empty descriptor.
testMergeOneServletWithOneMappingIntoEmptyDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single servlet with one mapping is correctly inserted into an empty descriptor.
testMergeSecurityRoleIntoDocumentWithSameRole() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single security role is ignored when the source descriptor already contains a role with the same name.
testMergeSecurityRoleIntoEmptyDocument() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Tests whether a single security role is correctly inserted into an empty descriptor.
testMergingServletWithInitParamsThatIsAlreadyDefined() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger
Verifies that servlet init parameters are added after the load-on-startup element of an already existing servlet definition.
testSetLoginConfigAdding() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests retrieving the authentication method from a descriptor.
testSetLoginConfigReplacing() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXml
Tests retrieving the authentication method from a descriptor.
testValueOfDocType22() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlVersion
Verifies that calling WebXmlVersion.valueOf() with a web-app 2.2 document type returns the correct instance.
testValueOfDocType23() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlVersion
Verifies that calling WebXmlVersion.valueOf() with a web-app 2.3 document type returns the correct instance.
testValueOfNull() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlVersion
Verifies that calling WebXmlVersion.valueOf(null) throws a NullPointerException.
testValueOfUnknownDocType() - Method in class org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlVersion
Verifies that calling WebXmlVersion.valueOf() with a unknown document type returns null.
toString() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
 
toString() - Method in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlVersion
 

U

URL_PATTERN - Static variable in class org.apache.cactus.integration.ant.deployment.webapp.WebXmlTag
Element name 'url-pattern'.

V