Class CheckFlagDeserializer

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<CheckFlag>

    public class CheckFlagDeserializer
    extends java.lang.Object
    implements com.google.gson.JsonDeserializer<CheckFlag>
    Very simple deserializer for CheckFlag
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CheckFlag deserialize​(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)  
      static java.lang.String parseIdentifiers​(com.google.gson.JsonArray identifiers)
      Returns a comma delimited string of identifiers.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CheckFlagDeserializer

        public CheckFlagDeserializer()
    • Method Detail

      • parseIdentifiers

        public static java.lang.String parseIdentifiers​(com.google.gson.JsonArray identifiers)
        Returns a comma delimited string of identifiers.
        Parameters:
        identifiers - - array of flag identifiers
        Returns:
        - comma delimited string
      • deserialize

        public CheckFlag deserialize​(com.google.gson.JsonElement json,
                                     java.lang.reflect.Type typeOfT,
                                     com.google.gson.JsonDeserializationContext context)
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<CheckFlag>