Class Base64BinaryDt

All Implemented Interfaces:
IDatatype, IElement, IIdentifiableElement, IPrimitiveDatatype<byte[]>, ISupportsUndeclaredExtensions, Externalizable, Serializable, IBase, IBaseDatatype, IPrimitiveType<byte[]>

public class Base64BinaryDt extends BasePrimitive<byte[]>
See Also:
  • Constructor Details

  • Method Details

    • parse

      protected byte[] parse(String theValue)
      Description copied from class: BasePrimitive
      Subclasses must override to convert an encoded representation of this datatype into a "coerced" one
      Specified by:
      parse in class BasePrimitive<byte[]>
      Parameters:
      theValue - Will not be null
      Returns:
      May return null if the value does not correspond to anything
    • encode

      protected String encode(byte[] theValue)
      Description copied from class: BasePrimitive
      Subclasses must override to convert a "coerced" value into an encoded one.
      Specified by:
      encode in class BasePrimitive<byte[]>
      Parameters:
      theValue - Will not be null
      Returns:
      May return null if the value does not correspond to anything