Class BinaryValue

  • All Implemented Interfaces:
    Value

    public class BinaryValue
    extends BaseValue
    A BinaryValue provides an implementation of the Value interface representing a binary value.
    • Constructor Detail

      • BinaryValue

        public BinaryValue​(String text)
        Constructs a BinaryValue object based on a string.
        Parameters:
        text - the string this BinaryValue should represent
      • BinaryValue

        public BinaryValue​(Binary bin)
        Constructs a BinaryValue object based on a Binary.
        Parameters:
        bin - the bytes this BinaryValue should represent
      • BinaryValue

        public BinaryValue​(InputStream stream)
        Constructs a BinaryValue object based on a stream.
        Parameters:
        stream - the stream this BinaryValue should represent
      • BinaryValue

        public BinaryValue​(byte[] data)
        Constructs a BinaryValue object based on a byte array.
        Parameters:
        data - the bytes this BinaryValue should represent