org.apache.commons.digester.substitution
Class VariableAttributes
java.lang.Object
org.apache.commons.digester.substitution.VariableAttributes
- Attributes
public class VariableAttributes
extends java.lang.Object
implements 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.
attrs
private Attributes attrs
values
private ArrayList values
getIndex
public int getIndex(String qname)
getIndex
public int getIndex(String uri,
String localpart)
getLength
public int getLength()
getLocalName
public String getLocalName(int index)
getQName
public String getQName(int index)
getType
public String getType(String qname)
getType
public String getType(String uri,
String localname)
getType
public String getType(int index)
getURI
public String getURI(int index)
getValue
public String getValue(String qname)
getValue
public String getValue(String uri,
String localname)
getValue
public String getValue(int index)
init
public void init(Attributes attrs,
VariableExpander expander)
Specify which attributes class this object is a proxy for.
Copyright 2001-2005 The Apache Software Foundation.