Class VariableAttributes
java.lang.Object
org.apache.commons.digester.substitution.VariableAttributes
- All Implemented Interfaces:
Attributes
Wrapper for an org.xml.sax.Attributes object which expands any "variables" referenced in the attribute value via ${foo} or similar. This is only done when something actually asks for the attribute value, thereby imposing no performance penalty if the attribute is not used.
- Since:
- 1.6
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
getLocalName
(int index) getQName
(int index) getType
(int index) getURI
(int index) getValue
(int index) void
init
(Attributes attrs, VariableExpander expander) Specify which attributes class this object is a proxy for.
-
Field Details
-
values
-
attrs
-
expander
-
-
Constructor Details
-
VariableAttributes
public VariableAttributes()
-
-
Method Details
-
init
Specify which attributes class this object is a proxy for. -
getValue
- Specified by:
getValue
in interfaceAttributes
-
getValue
- Specified by:
getValue
in interfaceAttributes
-
getValue
- Specified by:
getValue
in interfaceAttributes
-
getIndex
- Specified by:
getIndex
in interfaceAttributes
-
getIndex
- Specified by:
getIndex
in interfaceAttributes
-
getLength
public int getLength()- Specified by:
getLength
in interfaceAttributes
-
getLocalName
- Specified by:
getLocalName
in interfaceAttributes
-
getQName
- Specified by:
getQName
in interfaceAttributes
-
getType
- Specified by:
getType
in interfaceAttributes
-
getType
- Specified by:
getType
in interfaceAttributes
-
getType
- Specified by:
getType
in interfaceAttributes
-
getURI
- Specified by:
getURI
in interfaceAttributes
-