public class BitSetHandler extends AbstractBodyDecoderHandler
Modifier and Type | Field and Description |
---|---|
static Decoder<java.util.BitSet> |
DECODER |
elementName
objectTL, refTL
object, refId
Constructor and Description |
---|
BitSetHandler() |
Modifier and Type | Method and Description |
---|---|
DeserializationHandler |
clone()
Clones this handler.
|
protected java.lang.Object |
createNoBodyObject() |
Decoder<?> |
getBodyDecoder()
Called when body data is encountered in this tag or a sub-tag.
|
boolean |
supportsNestedElements()
Return true if the element type that you're parsing can have nested elements, or false if you're a singleton
element.
|
endElement, getElementName, onBody, startElement
getObject, getRefId, setObject, setRefId
endObject, endSubElement, startSubElement
public static Decoder<java.util.BitSet> DECODER
public Decoder<?> getBodyDecoder()
DeserializationHandler
DeserializationHandler.onBody(Object)
protected java.lang.Object createNoBodyObject()
createNoBodyObject
in class AbstractBodyDecoderHandler
public boolean supportsNestedElements()
DeserializationHandler
Return true if the element type that you're parsing can have nested elements, or false if you're a singleton element. If you return true, you need to implement clone().
Note As of Ignition 7.6.5 with support for multi-deserialization, you should also return true from this and implement clone() if your return object is mutable, otherwise instances may be shared amongst multi-deserialized objects.
supportsNestedElements
in interface DeserializationHandler
supportsNestedElements
in class AbstractBodyDecoderHandler
public DeserializationHandler clone()
DeserializationHandler
clone
in interface DeserializationHandler
clone
in class AbstractBodyDecoderHandler