Package org.codehaus.cargo.module.webapp
Class WebXml22Type
- java.lang.Object
-
- org.jdom2.DefaultJDOMFactory
-
- org.codehaus.cargo.module.AbstractDescriptorType
-
- org.codehaus.cargo.module.webapp.WebXmlType
-
- org.codehaus.cargo.module.webapp.WebXml22Type
-
- All Implemented Interfaces:
DescriptorType
,org.jdom2.JDOMFactory
public class WebXml22Type extends WebXmlType
Web 2.2 Descriptor.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.module.webapp.WebXmlType
AUTH_CONSTRAINT, AUTH_METHOD, CONTEXT_PARAM, DESCRIPTION, DISPATCHER, DISPLAY_NAME, DISTRIBUTABLE, EJB_LINK, EJB_LOCAL_REF, EJB_REF, EJB_REF_NAME, EJB_REF_TYPE, ENV_ENTRY, ERROR_PAGE, EXTENSION, FILTER, FILTER_CLASS, FILTER_MAPPING, FILTER_NAME, HOME, ICON, INIT_PARAM, JSP_FILE, LISTENER, LOAD_ON_STARTUP, LOCAL, LOCAL_HOME, LOGIN_CONFIG, MIME_MAPPING, MIME_TYPE, PARAM_NAME, PARAM_VALUE, REALM_NAME, REMOTE, RES_REF_NAME, RES_TYPE, RESOURCE_ENV_REF, RESOURCE_REF, ROLE_NAME, RUN_AS, SECURITY_CONSTRAINT, SECURITY_ROLE, SERVLET, SERVLET_CLASS, SERVLET_MAPPING, SERVLET_NAME, SESSION_CONFIG, TAGLIB, URL_PATTERN, WEB_RESOURCE_COLLECTION, WEB_RESOURCE_NAME, WELCOME_FILE_LIST
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WebXml22Type()
Protected Constructor.protected
WebXml22Type(AbstractDescriptorType parent, Dtd grammar)
Protected constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebXmlType
getInstance()
Get the instance of the WEB XML Type.WebXmlVersion
getVersion()
Get the web xml version for his type.-
Methods inherited from class org.codehaus.cargo.module.AbstractDescriptorType
addTag, document, element, element, getAllTags, getDescriptorIo, getGrammar, getJDOMFactory, getTagByName, setDescriptorIo
-
Methods inherited from class org.jdom2.DefaultJDOMFactory
addContent, addNamespaceDeclaration, attribute, attribute, attribute, attribute, attribute, attribute, cdata, cdata, comment, comment, docType, docType, docType, docType, docType, docType, document, document, element, element, element, element, element, element, entityRef, entityRef, entityRef, entityRef, entityRef, entityRef, processingInstruction, processingInstruction, processingInstruction, processingInstruction, processingInstruction, processingInstruction, setAttribute, setRoot, text, text
-
-
-
-
Constructor Detail
-
WebXml22Type
protected WebXml22Type()
Protected Constructor.
-
WebXml22Type
protected WebXml22Type(AbstractDescriptorType parent, Dtd grammar)
Protected constructor.- Parameters:
parent
- Parent type if anygrammar
- grammar to use
-
-
Method Detail
-
getInstance
public static WebXmlType getInstance()
Get the instance of the WEB XML Type.- Returns:
- WebXmlType
-
getVersion
public WebXmlVersion getVersion()
Get the web xml version for his type.- Specified by:
getVersion
in classWebXmlType
- Returns:
- the version for this type
-
-