|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeSet
A simple interface for handling Attributes in the Marshalling Framework.
Method Summary | |
---|---|
int |
getIndex(java.lang.String name,
java.lang.String namespace)
Returns the index of the attribute associated with the given name and namespace. |
java.lang.String |
getName(int index)
Returns the name of the attribute located at the given index. |
java.lang.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. |
java.lang.String |
getValue(int index)
Returns the value of the attribute located at the given index within this AttributeSet. |
java.lang.String |
getValue(java.lang.String name)
Returns the value of the attribute associated with the given name. |
java.lang.String |
getValue(java.lang.String name,
java.lang.String namespace)
Returns the value of the attribute associated with the given name. |
Method Detail |
---|
int getIndex(java.lang.String name, java.lang.String namespace)
name
- the name of the attribute whose value should be returned.namespace
- the namespace of the attribute
java.lang.String getName(int index)
index
- the index of the attribute whose name should be returned.
java.lang.String getNamespace(int index)
int getSize()
java.lang.String getValue(int index)
index
- the index of the attribute whose value should be returned.java.lang.String getValue(java.lang.String name)
name
- the name of the attribute whose value should be returned.java.lang.String getValue(java.lang.String name, java.lang.String namespace)
name
- the name of the attribute whose value should be returned.namespace
- the namespace of the attribute
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |