Top Description Inners Fields Constructors Methods
org.apache.tomcat.util.digester

public Class SetPropertiesRule

extends Rule
Class Inheritance
Imports
java.util.HashMap, org.apache.tomcat.util.IntrospectionUtils, org.xml.sax.Attributes

Rule implementation that sets properties on the object at the top of the stack, based on attributes with corresponding names.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Field Summary

Modifier and TypeField and Description
protected final HashMap<String, String>
Inherited from org.apache.tomcat.util.digester.Rule:
digesternamespaceURIsm

Constructor Summary

AccessConstructor and Description
public
public

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
theName
,
Attributes
The attribute list for this element
attributes
)

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

Process the beginning of this element.

public String
toString()

Overrides java.lang.Object.toString.

Render a printable version of this Rule.

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

Field Detail

excludesback to summary
protected final HashMap<String, String> excludes

Constructor Detail

SetPropertiesRuleback to summary
public SetPropertiesRule()
SetPropertiesRuleback to summary
public SetPropertiesRule(String[] exclude)

Method Detail

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

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

Process the beginning of this element.

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

theName:String

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

attributes:Attributes

The attribute list for this element

Annotations
@Override
Exceptions
Exception:

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

if an error occurs while processing the event

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Render a printable version of this Rule.

Returns:String

Doc from java.lang.Object.toString.

a string representation of the object

Annotations
@Override
org.apache.tomcat.util.digester back to summary

public Interface SetPropertiesRule.Listener


Method Summary

Modifier and TypeMethod and Description
public void

Method Detail

endSetPropertiesRuleback to summary
public void endSetPropertiesRule()