Platform SDK Java 8.5 API Reference

com.genesyslab.platform.contacts.protocol.contactserver
Class StringBinary

java.lang.Object
  extended by com.genesyslab.platform.contacts.protocol.contactserver.StringBinary
All Implemented Interfaces:
XmlSerializable

public class StringBinary
extends java.lang.Object
implements XmlSerializable

Type that can hold string or binary value.


Constructor Summary
StringBinary()
           
StringBinary(byte[] obj)
           
StringBinary(java.lang.String obj)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static StringBinary fromKVList(java.lang.Object obj)
           
 byte[] getBinaryValue()
           
 java.lang.String getStringValue()
           
 int hashCode()
           
 void loadFromXml(UCSCustomCodec custCodec, org.w3c.dom.Node node)
           
 void saveToXml(UCSCustomCodec custCodec, org.w3c.dom.Node node)
           
 void setBinValue(byte[] value)
           
 void setStringValue(java.lang.String value)
           
static java.lang.Object toKVList(StringBinary sb)
           
 java.lang.String toString()
           
 java.lang.String toString(int ident)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringBinary

public StringBinary()

StringBinary

public StringBinary(java.lang.String obj)

StringBinary

public StringBinary(byte[] obj)
Method Detail

toKVList

public static java.lang.Object toKVList(StringBinary sb)

fromKVList

public static StringBinary fromKVList(java.lang.Object obj)

toString

public java.lang.String toString(int ident)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getStringValue

public java.lang.String getStringValue()

setStringValue

public void setStringValue(java.lang.String value)

getBinaryValue

public byte[] getBinaryValue()

setBinValue

public void setBinValue(byte[] value)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

saveToXml

public void saveToXml(UCSCustomCodec custCodec,
                      org.w3c.dom.Node node)
               throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
saveToXml in interface XmlSerializable
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

loadFromXml

public void loadFromXml(UCSCustomCodec custCodec,
                        org.w3c.dom.Node node)
                 throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
loadFromXml in interface XmlSerializable
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.