public class BitSetHandler extends AbstractBodyDecoderHandler
| Modifier and Type | Field and Description |
|---|---|
static Decoder<java.util.BitSet> |
DECODER |
elementNameobjectTL, refTLobject, 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, startElementgetObject, getRefId, setObject, setRefIdendObject, endSubElement, startSubElementpublic static Decoder<java.util.BitSet> DECODER
public Decoder<?> getBodyDecoder()
DeserializationHandlerDeserializationHandler.onBody(Object)protected java.lang.Object createNoBodyObject()
createNoBodyObject in class AbstractBodyDecoderHandlerpublic boolean supportsNestedElements()
DeserializationHandlerReturn 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 DeserializationHandlersupportsNestedElements in class AbstractBodyDecoderHandlerpublic DeserializationHandler clone()
DeserializationHandlerclone in interface DeserializationHandlerclone in class AbstractBodyDecoderHandler