Class FooterTypeEncoder

    • Constructor Detail

      • FooterTypeEncoder

        public FooterTypeEncoder()
    • Method Detail

      • getTypeClass

        public Class<Footer> getTypeClass()
        Returns:
        the Class type that this encoder handles.
      • getDescriptorCode

        public UnsignedLong getDescriptorCode()
        Returns:
        the UnsignedLong value to use as the Descriptor for this type.
      • getDescriptorSymbol

        public Symbol getDescriptorSymbol()
        Returns:
        the Symbol value to use as the Descriptor for this type.
      • hasMap

        public boolean hasMap​(Footer value)
        Description copied from class: AbstractDescribedMapTypeEncoder
        Returns false when the value to be encoded has no Map body and can be written as a Null body type instead of a Map type.
        Specified by:
        hasMap in class AbstractDescribedMapTypeEncoder<Object,​Object,​Footer>
        Parameters:
        value - the value which be encoded as a map type.
        Returns:
        true if the type to be encoded has a Map body, false otherwise.