Top Description Fields Constructors Methods
org.apache.tomcat.util.descriptor.web

pack-priv final Class SetSessionConfig

Located in compilation unit of org.apache.tomcat.util.descriptor.web.WebRuleSet.

extends Rule
Class Inheritance

Rule to check that the session-config is occurring only 1 time within the web.xml

Field Summary

Modifier and TypeField and Description
pack-priv boolean
Inherited from org.apache.tomcat.util.digester.Rule:
digesternamespaceURIsm

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
begin(String
the namespace URI of the matching element, or an empty string if the parser is not namespace aware or the element has no namespace
namespace
,
String
the local name if the parser is namespace aware, or just the element name otherwise
name
,
Attributes
The attribute list of this element
attributes
)

Overrides org.apache.tomcat.util.digester.Rule.begin.

This method is called when the beginning of a matching XML element is encountered.

Inherited from org.apache.tomcat.util.digester.Rule:
bodyendfinishgetDigestergetNamespaceURIsetDigestersetNamespaceURI

Field Detail

isSessionConfigSetback to summary
pack-priv boolean isSessionConfigSet

Constructor Detail

SetSessionConfigback to summary
pack-priv SetSessionConfig()

Method Detail

beginback to summary
public void begin(String namespace, String name, Attributes attributes) throws Exception

Overrides org.apache.tomcat.util.digester.Rule.begin.

Doc from org.apache.tomcat.util.digester.Rule.begin.

This method is called when the beginning of a matching XML element is encountered. The default implementation is a NO-OP.

Parameters
namespace:String

the namespace URI of the matching element, or an empty string if the parser is not namespace aware or the element has no namespace

name:String

the local name if the parser is namespace aware, or just the element name otherwise

attributes:Attributes

The attribute list of this element

Annotations
@Override
Exceptions
Exception:
if an error occurs while processing the event