FileDocCategorySizeDatePackage
BinaryExchange.javaAPI DocExample4599Tue May 29 16:56:54 BST 2007com.sun.xml.ws.security.trust.elements

BinaryExchange

public interface BinaryExchange
author
WS-Trust Implementation Team

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetEncodingType()
Gets the value of the encodingType property.

return
{@link String}

public java.util.MapgetOtherAttributes()
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.

return
always non-null

public byte[]getRawValue()
Gets the decoded value of the text node. This represents the raw bytes for the Binary Exchange.

return
{@link byte[] }

public java.lang.StringgetTextValue()
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.

return
{@link String}
see
{getRawValue}

public java.lang.StringgetValueType()
Gets the value of the valueType property. ValueType contains the URI that identifies the type of negotiation.

return
{@link String }

public voidsetEncodingType(java.lang.String encodingType)
Sets the value of the encodingType property.

param
encodingType {@link String}

public voidsetRawValue(byte[] rawText)
Sets the value of the binary exchange as raw bytes. The value that appears in the element will be encoded appropriately.

param
rawText {@link byte[]}

public voidsetTextValue(java.lang.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.

param
encodedText {@link String }

public voidsetValueType(java.lang.String valueType)
Sets the value of the valueType property.

param
valueType {@link String}