com.sun.xml.ws.security.trust.impl.elements
Class BinaryExchangeImpl

java.lang.Object
  extended by com.sun.xml.ws.security.trust.impl.bindings.BinaryExchangeType
      extended by com.sun.xml.ws.security.trust.impl.elements.BinaryExchangeImpl
All Implemented Interfaces:
BinaryExchange

public class BinaryExchangeImpl
extends BinaryExchangeType
implements BinaryExchange

Author:
Manveen Kaur (manveen.kaur@sun.com).

Field Summary
 
Fields inherited from class com.sun.xml.ws.security.trust.impl.bindings.BinaryExchangeType
encodingType, value, valueType
 
Constructor Summary
BinaryExchangeImpl(BinaryExchangeType bcType)
           
BinaryExchangeImpl(java.lang.String encodingType, java.lang.String valueType, byte[] rawText)
           
 
Method Summary
 byte[] getRawValue()
           
 java.lang.String getTextValue()
           
 void setRawValue(byte[] rawText)
           
 void setTextValue(java.lang.String encodedText)
           
 
Methods inherited from class com.sun.xml.ws.security.trust.impl.bindings.BinaryExchangeType
getEncodingType, getOtherAttributes, getValue, getValueType, setEncodingType, setValue, setValueType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.ws.security.trust.elements.BinaryExchange
getEncodingType, getOtherAttributes, getValueType, setEncodingType, setValueType
 

Constructor Detail

BinaryExchangeImpl

public BinaryExchangeImpl(java.lang.String encodingType,
                          java.lang.String valueType,
                          byte[] rawText)

BinaryExchangeImpl

public BinaryExchangeImpl(BinaryExchangeType bcType)
                   throws java.lang.RuntimeException
Throws:
java.lang.RuntimeException
Method Detail

getRawValue

public byte[] getRawValue()
Specified by:
getRawValue in interface BinaryExchange

getTextValue

public java.lang.String getTextValue()
Specified by:
getTextValue in interface BinaryExchange

setTextValue

public void setTextValue(@NotNull
                         java.lang.String encodedText)
Specified by:
setTextValue in interface BinaryExchange

setRawValue

public final void setRawValue(@NotNull
                              byte[] rawText)
Specified by:
setRawValue in interface BinaryExchange


Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.