|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectavignon.AttributesShunt
Used in unit testing to simulate the attributes that will be available to a tag handler.
| Constructor Summary | |
AttributesShunt()
Creates an org.xml.sax.Attributes instance with no values |
|
AttributesShunt(java.lang.String[] names,
java.lang.String[] values)
Creates an org.xml.sax.Attributes instance with multiple values. |
|
AttributesShunt(java.lang.String name,
java.lang.String value)
Creates an org.xml.sax.Attributes instance with one value. |
|
| Method Summary | |
int |
getIndex(java.lang.String str)
Not supported at this time. |
int |
getIndex(java.lang.String str,
java.lang.String str1)
Not supported at this time. |
int |
getLength()
Not supported at this time. |
java.lang.String |
getLocalName(int param)
Not supported at this time. |
java.lang.String |
getQName(int param)
Returns the param-th key in the attribute map by getting the key set as it currently exists. |
java.lang.String |
getType(int param)
Not supported at this time. |
java.lang.String |
getType(java.lang.String str)
Not supported at this time. |
java.lang.String |
getType(java.lang.String str,
java.lang.String str1)
Not supported at this time. |
java.lang.String |
getURI(int param)
Not supported at this time. |
java.lang.String |
getValue(int param)
Returns the value for param-th key in the attribute map by getting the key set as it currently exists. |
java.lang.String |
getValue(java.lang.String name)
Determines the value of the named attribute. |
java.lang.String |
getValue(java.lang.String str,
java.lang.String str1)
Not supported at this time. |
void |
setValue(java.lang.String name,
java.lang.String value)
Allows the programmer to change the value of an attribute at runtime. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AttributesShunt(java.lang.String name,
java.lang.String value)
name - Name of the attribute.value - Value of the attribute.
public AttributesShunt(java.lang.String[] names,
java.lang.String[] values)
names - Array of attribute names.values - Array of attribute values in the same order as the names.public AttributesShunt()
| Method Detail |
public void setValue(java.lang.String name,
java.lang.String value)
name - Name of the attribute to change.value - Value of the attribute.public int getIndex(java.lang.String str)
getIndex in interface org.xml.sax.Attributesstr -
public int getIndex(java.lang.String str,
java.lang.String str1)
getIndex in interface org.xml.sax.Attributesstr - str1 -
public int getLength()
getLength in interface org.xml.sax.Attributespublic java.lang.String getLocalName(int param)
getLocalName in interface org.xml.sax.Attributesparam -
public java.lang.String getQName(int param)
getQName in interface org.xml.sax.Attributesparam - The index into the key set.
public java.lang.String getType(java.lang.String str)
getType in interface org.xml.sax.Attributesstr -
public java.lang.String getType(int param)
getType in interface org.xml.sax.Attributesparam -
public java.lang.String getType(java.lang.String str,
java.lang.String str1)
getType in interface org.xml.sax.Attributesstr - str1 -
public java.lang.String getURI(int param)
getURI in interface org.xml.sax.Attributesparam -
public java.lang.String getValue(int param)
getValue in interface org.xml.sax.Attributesparam - The index into the key set.
public java.lang.String getValue(java.lang.String name)
getValue in interface org.xml.sax.Attributesname - Name of the attribute.
public java.lang.String getValue(java.lang.String str,
java.lang.String str1)
getValue in interface org.xml.sax.Attributesstr - str1 -
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||