Interface BinaryExchange

    • Method Detail

      • getEncodingType

        String getEncodingType()
        Gets the value of the encodingType property.
        Returns:
        String
      • getOtherAttributes

        Map<QName,​String> getOtherAttributes()
        Gets a map that contains attributes that aren't bound to any typed property on this class.

        the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

        Returns:
        always non-null
      • getRawValue

        byte[] getRawValue()
        Gets the decoded value of the text node. This represents the raw bytes for the Binary Exchange.
        Returns:
        possible object is byte[]
      • getTextValue

        String getTextValue()
        Gets the value of the text node. This method will return the encoded value of the binary data exchanged. Encoding is specified with the encodingType attibute.
        Returns:
        String
        See Also:
        getRawValue()
      • getValueType

        String getValueType()
        Gets the value of the valueType property. ValueType contains the URI that identifies the type of negotiation.
        Returns:
        String
      • setEncodingType

        void setEncodingType​(String encodingType)
        Sets the value of the encodingType property.
        Parameters:
        encodingType - String
      • setTextValue

        void setTextValue​(String encodedText)
        Sets the value of the text node. It is assumed that the proper encoding has already been taken care of to create the text value.
        Parameters:
        encodedText - String
      • setRawValue

        void setRawValue​(byte[] rawText)
        Sets the value of the binary exchange as raw bytes. The value that appears in the element will be encoded appropriately.
        Parameters:
        rawText - allowed object is byte[]
      • setValueType

        void setValueType​(String valueType)
        Sets the value of the valueType property.
        Parameters:
        valueType - String