All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
addAbsoluteOrdering(String fragmentName) |
void |
addAbsoluteOrderingOthers() |
void |
addAfterOrdering(String fragmentName) |
void |
addAfterOrderingOthers() |
void |
addBeforeOrdering(String fragmentName) |
void |
addBeforeOrderingOthers() |
void |
addContextParam(String param,
String value) |
void |
addEjbLocalRef(ContextLocalEjb ejbLocalRef) |
void |
addEjbRef(ContextEjb ejbRef) |
void |
addEnvEntry(ContextEnvironment envEntry) |
void |
addErrorPage(ErrorPage errorPage) |
void |
addFilter(FilterDef filter) |
void |
addFilterMapping(FilterMap filterMap) |
void |
addJspPropertyGroup(JspPropertyGroup propertyGroup) |
void |
addListener(String className) |
void |
addLocaleEncodingMapping(String locale,
String encoding) |
void |
addMessageDestination(MessageDestination messageDestination) |
void |
addMessageDestinationRef(MessageDestinationRef messageDestinationRef) |
void |
addMimeMapping(String extension,
String mimeType) |
void |
addPostConstructMethods(String clazz,
String method) |
void |
addPreDestroyMethods(String clazz,
String method) |
void |
addResourceEnvRef(ContextResourceEnvRef resourceEnvRef) |
void |
addResourceRef(ContextResource resourceRef) |
void |
addSecurityConstraint(SecurityConstraint securityConstraint) |
void |
addSecurityRole(String securityRole) |
void |
addServiceRef(ContextService serviceRef) |
void |
addServlet(ServletDef servletDef) |
void |
addServletMapping(String urlPattern,
String servletName) |
void |
addTaglib(String uri,
String location) |
void |
addWelcomeFile(String welcomeFile) |
void |
createAbsoluteOrdering() |
Set<String> |
getAbsoluteOrdering() |
Set<String> |
getAfterOrdering() |
Set<String> |
getBeforeOrdering() |
Map<String,String> |
getContextParams() |
boolean |
getDelegate() |
boolean |
getDenyUncoveredHttpMethods() |
String |
getDisplayName() |
Map<String,ContextLocalEjb> |
getEjbLocalRefs() |
Map<String,ContextEjb> |
getEjbRefs() |
Map<String,ContextEnvironment> |
getEnvEntries() |
Map<String,ErrorPage> |
getErrorPages() |
Set<FilterMap> |
getFilterMappings() |
Map<String,FilterDef> |
getFilters() |
String |
getJarName() |
JspConfigDescriptor |
getJspConfigDescriptor() |
Set<JspPropertyGroup> |
getJspPropertyGroups() |
Set<String> |
getListeners() |
Map<String,String> |
getLocaleEncodingMappings() |
LoginConfig |
getLoginConfig() |
int |
getMajorVersion() |
Map<String,MessageDestinationRef> |
getMessageDestinationRefs() |
Map<String,MessageDestination> |
getMessageDestinations() |
Map<String,String> |
getMimeMappings() |
int |
getMinorVersion() |
String |
getName() |
Map<String,String> |
getPostConstructMethods() |
Map<String,String> |
getPreDestroyMethods() |
String |
getPublicId() |
Map<String,ContextResourceEnvRef> |
getResourceEnvRefs() |
Map<String,ContextResource> |
getResourceRefs() |
Set<SecurityConstraint> |
getSecurityConstraints() |
Set<String> |
getSecurityRoles() |
Map<String,ContextService> |
getServiceRefs() |
Map<String,String> |
getServletMappings() |
Map<String,ServletDef> |
getServlets() |
SessionConfig |
getSessionConfig() |
Map<String,String> |
getTaglibs() |
URL |
getURL() |
String |
getVersion() |
boolean |
getWebappJar() |
Set<String> |
getWelcomeFiles() |
boolean |
isDistributable() |
boolean |
isMetadataComplete() |
boolean |
isOverridable() |
boolean |
merge(Set<WebXml> fragments)
Merge the supplied web fragments into this main web.xml.
|
static Set<WebXml> |
orderWebFragments(WebXml application,
Map<String,WebXml> fragments,
ServletContext servletContext)
Generates the sub-set of the web-fragment.xml files to be processed in
the order that the fragments must be processed as per the rules in the
Servlet spec.
|
void |
setAlwaysAddWelcomeFiles(boolean alwaysAddWelcomeFiles)
When merging from this web.xml, should the welcome files be added to the
target web.xml even if it already contains welcome file definitions.
|
void |
setDelegate(boolean delegate) |
void |
setDenyUncoveredHttpMethods(boolean denyUncoveredHttpMethods) |
void |
setDisplayName(String displayName) |
void |
setDistributable(boolean distributable) |
void |
setJarName(String jarName) |
void |
setLoginConfig(LoginConfig loginConfig) |
void |
setMetadataComplete(boolean metadataComplete) |
void |
setName(String name) |
void |
setOverridable(boolean overridable) |
void |
setPublicId(String publicId) |
void |
setReplaceWelcomeFiles(boolean replaceWelcomeFiles)
When merging/parsing web.xml files into this web.xml should the current
set be completely replaced?
|
void |
setSessionConfig(SessionConfig sessionConfig) |
void |
setURL(URL url) |
void |
setVersion(String version)
Set the version for this web.xml file
|
void |
setWebappJar(boolean webappJar) |
String |
toString() |
String |
toXml()
Generate a web.xml in String form that matches the representation stored
in this object.
|