Class SAXAttributesMap
- java.lang.Object
-
- com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractAttributesMap
-
- com.inductiveautomation.ignition.common.xmlserialization.deserialization.SAXAttributesMap
-
- All Implemented Interfaces:
AttributesMap
public class SAXAttributesMap extends AbstractAttributesMap
-
-
Constructor Summary
Constructors Constructor Description SAXAttributesMap(DeserializationContext context, org.xml.sax.Attributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Decoder<?>
getDecoder(java.lang.String name)
Return the best decoder to use for the given attribute name.int
getLength()
The number of attributes in the mapjava.lang.String
getName(int index)
The name of the attribute at the location<T> T
getValue(java.lang.String name, Decoder<T> decoder)
-
Methods inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractAttributesMap
getClass, getInt, getSignature, getString
-
-
-
-
Constructor Detail
-
SAXAttributesMap
public SAXAttributesMap(DeserializationContext context, org.xml.sax.Attributes attributes)
-
-
Method Detail
-
getLength
public int getLength()
Description copied from interface:AttributesMap
The number of attributes in the map
-
getName
public java.lang.String getName(int index)
Description copied from interface:AttributesMap
The name of the attribute at the location
-
getValue
public <T> T getValue(java.lang.String name, Decoder<T> decoder) throws java.io.IOException
- Throws:
java.io.IOException
-
getDecoder
public Decoder<?> getDecoder(java.lang.String name)
Description copied from interface:AttributesMap
Return the best decoder to use for the given attribute name. Not supported by all attribute maps.
-
-