public interface AttributeSet
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex(String name,
String namespace)
Returns the index of the attribute associated with the given name and namespace.
|
String |
getName(int index)
Returns the name of the attribute located at the given index.
|
String |
getNamespace(int index)
Returns the namespace of the attribute located at the given index.
|
int |
getSize()
Returns the number of Attributes within this AttributeSet.
|
String |
getValue(int index)
Returns the value of the attribute located at the given index within this AttributeSet.
|
String |
getValue(String name)
Returns the value of the attribute associated with the given name.
|
String |
getValue(String name,
String namespace)
Returns the value of the attribute associated with the given name.
|
int getIndex(String name, String namespace)
name - the name of the attribute whose value should be returned.namespace - the namespace of the attributeString getName(int index)
index - the index of the attribute whose name should be returned.String getNamespace(int index)
int getSize()
String getValue(int index)
index - the index of the attribute whose value should be returned.String getValue(String name)
name - the name of the attribute whose value should be returned.Copyright © 2016. All rights reserved.