Class AbstractDelimitedStringDecoder<T>
- java.lang.Object
-
- com.inductiveautomation.ignition.common.xmlserialization.deserialization.handlers.AbstractDelimitedStringDecoder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected char
delimiter
protected java.lang.String[]
elements
protected int
index
protected int
numElements
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractDelimitedStringDecoder(int numElements)
protected
AbstractDelimitedStringDecoder(int numElements, char delimiter)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract T
arrayToObject(java.lang.String[] array, DeserializationContext context)
T
stringToObject(java.lang.String s, DeserializationContext context)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.common.xmlserialization.encoding.Decoder
binaryToObject, createEncoder
-
-
-
-
Method Detail
-
arrayToObject
protected abstract T arrayToObject(java.lang.String[] array, DeserializationContext context) throws java.io.IOException
- Throws:
java.io.IOException
-
stringToObject
public T stringToObject(java.lang.String s, DeserializationContext context) throws java.io.IOException
- Specified by:
stringToObject
in interfaceDecoder<T>
- Throws:
java.io.IOException
-
-