# Package org.apache.tomcat.util.descriptor.web

package org.apache.tomcat.util.descriptor.web

This package contains Java objects that represent complex data structures from the web application deployment descriptor file (`web.xml`). It is assumed that these objects will be initialized within the context of a single thread, and then referenced in a read-only manner subsequent to that time. Therefore, no multi-thread synchronization is utilized within the implementation classes.

Related Packages
Package
Description
org.apache.tomcat.util.descriptor
org.apache.tomcat.util.descriptor.tagplugin
org.apache.tomcat.util.descriptor.tld
Package containing a Java model of the XML for a Tag Library Descriptor.
Class
Description
ApplicationParameter
Representation of a context initialization parameter that is configured in the server configuration file, rather than the application deployment descriptor.
Constants
Constants for web descriptor utilities.
ContextEjb
Representation of an EJB resource reference for a web application, as represented in a `<ejb-ref>` element in the deployment descriptor.
ContextEnvironment
Representation of an application environment entry, as represented in an `<env-entry>` element in the deployment descriptor.
ContextHandler
Representation of a handler reference for a web service, as represented in a `<handler>` element in the deployment descriptor.
ContextLocalEjb
Representation of a local EJB resource reference for a web application, as represented in a `<ejb-local-ref>` element in the deployment descriptor.
ContextResource
Representation of a resource reference for a web application, as represented in a `<resource-ref>` element in the deployment descriptor.
ContextResourceEnvRef
Representation of an application resource reference, as represented in an `<res-env-ref>` element in the deployment descriptor.
ContextResourceLink
Representation of a resource link for a web application, as represented in a `<ResourceLink>` element in the server configuration file.
ContextService
Representation of a web service reference for a web application, as represented in a `<service-ref>` element in the deployment descriptor.
ContextTransaction
Representation of an application resource reference, as represented in an `<res-env-ref>` element in the deployment descriptor.
ErrorPage
Representation of an error page element for a web application, as represented in a `<error-page>` element in the deployment descriptor.
FilterDef
Representation of a filter definition for a web application, as represented in a `<filter>` element in the deployment descriptor.
FilterMap
Representation of a filter mapping for a web application, as represented in a `<filter-mapping>` element in the deployment descriptor.
FragmentJarScannerCallback
Callback handling a web-fragment.xml descriptor.
Injectable
Interface for objects that can be injected with dependencies.
InjectionTarget
Represents a target for dependency injection.
JspConfigDescriptorImpl
Implementation of JspConfigDescriptor that provides access to JSP property groups and tag library descriptors.
JspPropertyGroup
Representation of a jsp-property-group element in web.xml.
JspPropertyGroupDescriptorImpl
Implementation of JspPropertyGroupDescriptor that wraps a JspPropertyGroup.
LoginConfig
Representation of a login configuration element for a web application, as represented in a `<login-config>` element in the deployment descriptor.
MessageDestination
Representation of a message destination for a web application, as represented in a `<message-destination>` element in the deployment descriptor.
MessageDestinationRef
Representation of a message destination reference for a web application, as represented in a `<message-destination-ref>` element in the deployment descriptor.
MultipartDef
Representation of the multipart configuration for a servlet.
NamingResources
Defines an interface for the object that is added to the representation of a JNDI resource in web.xml to enable it to also be the implementation of that JNDI resource.
ResourceBase
Representation of a Context element.
SecurityCollection
Representation of a web resource collection for a web application's security constraint, as represented in a `<web-resource-collection>` element in the deployment descriptor.
SecurityConstraint
Representation of a security constraint element for a web application, as represented in a `<security-constraint>` element in the deployment descriptor.
SecurityRoleRef
Representation of a security role reference for a web application, as represented in a `<security-role-ref>` element in the deployment descriptor.
ServletDef
Representation of a servlet definition for a web application, as represented in a `<servlet>` element in the deployment descriptor.
SessionConfig
Representation of a session configuration element for a web application, as represented in a `<session-config>` element in the deployment descriptor.
TaglibDescriptorImpl
Implementation of TaglibDescriptor that holds the location and URI of a tag library.
WebRuleSet
RuleSet for processing the contents of a web application deployment descriptor (`/WEB-INF/web.xml`) resource.
WebXml
Representation of common elements of web.xml and web-fragment.xml.
WebXmlParser
Parser for web.xml and web-fragment.xml deployment descriptors.
XmlEncodingBase
Deprecated.
This abstract class will be removed in Tomcat 12 onwards