Interface AttributesMap
-
- All Known Implementing Classes:
AbstractAttributesMap,BinaryAttributesMap,SAXAttributesMap
public interface AttributesMap
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ClassgetClass(java.lang.String name)Decoder<?>getDecoder(java.lang.String name)Return the best decoder to use for the given attribute name.intgetInt(java.lang.String name)intgetLength()The number of attributes in the mapjava.lang.StringgetName(int index)The name of the attribute at the locationjava.lang.Class[]getSignature(java.lang.String name)java.lang.StringgetString(java.lang.String name)<T> TgetValue(java.lang.String name, Decoder<T> decoder)
-
-
-
Method Detail
-
getLength
int getLength()
The number of attributes in the map
-
getName
java.lang.String getName(int index)
The name of the attribute at the location
-
getInt
int getInt(java.lang.String name) throws java.io.IOException- Throws:
java.io.IOException
-
getString
java.lang.String getString(java.lang.String name) throws java.io.IOException- Throws:
java.io.IOException
-
getClass
java.lang.Class getClass(java.lang.String name) throws java.io.IOException- Throws:
java.io.IOException
-
getSignature
java.lang.Class[] getSignature(java.lang.String name) throws java.io.IOException- Throws:
java.io.IOException
-
getValue
<T> T getValue(java.lang.String name, Decoder<T> decoder) throws java.io.IOException- Throws:
java.io.IOException
-
getDecoder
Decoder<?> getDecoder(java.lang.String name)
Return the best decoder to use for the given attribute name. Not supported by all attribute maps.
-
-