com.genesyslab.platform.contacts.protocol.runtime
Class UCSCustomCodec
java.lang.Object
com.genesyslab.platform.commons.protocol.runtime.codec.NoDataCodec
com.genesyslab.platform.contacts.protocol.runtime.UCSCustomCodec
- All Implemented Interfaces:
- com.genesyslab.platform.commons.protocol.runtime.codec.AttributeTypeCodec, com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
public class UCSCustomCodec
- extends com.genesyslab.platform.commons.protocol.runtime.codec.NoDataCodec
- implements com.genesyslab.platform.commons.protocol.runtime.codec.AttributeTypeCodec
Method Summary |
void |
appendLogValue(java.lang.StringBuffer buf,
java.lang.Object customTypeObject,
boolean truncate,
boolean hide)
|
protected java.lang.Class |
classFromXmlName(java.lang.String name)
|
protected java.lang.String |
className4xml(java.lang.Class cls)
|
java.lang.Object |
decodeFromConnection(java.lang.Object value,
com.genesyslab.platform.commons.protocol.runtime.AttributeDescription attributeDescription)
|
java.lang.Object |
decodeFromXml(javax.xml.transform.Source attributeElement,
com.genesyslab.platform.commons.protocol.runtime.AttributeDescription ai)
|
protected java.lang.Object |
decodeFromXml(javax.xml.transform.Source attributeElement,
java.lang.Class cls)
|
java.lang.Object |
encodeForConnection(java.lang.Object customTypeObject,
java.lang.String id,
MessageTransport transport,
java.lang.Object transportState)
|
void |
encodeToXml(java.lang.Object customTypeObject,
javax.xml.transform.Result attributeElement)
|
java.lang.String |
getLogType()
|
void |
objectToXml(java.lang.Object obj,
org.w3c.dom.Element root)
|
java.lang.Object |
xmlToObject(org.w3c.dom.Node nav,
java.lang.Class t)
|
Methods inherited from class com.genesyslab.platform.commons.protocol.runtime.codec.NoDataCodec |
getNS, setMessage, setProtocolData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec |
getNS, setMessage, setProtocolData |
UCSCustomCodec
public UCSCustomCodec()
encodeForConnection
public java.lang.Object encodeForConnection(java.lang.Object customTypeObject,
java.lang.String id,
MessageTransport transport,
java.lang.Object transportState)
throws PlatformException
- Specified by:
encodeForConnection
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
- Throws:
PlatformException
decodeFromConnection
public java.lang.Object decodeFromConnection(java.lang.Object value,
com.genesyslab.platform.commons.protocol.runtime.AttributeDescription attributeDescription)
throws PlatformException
- Specified by:
decodeFromConnection
in interface com.genesyslab.platform.commons.protocol.runtime.codec.AttributeTypeCodec
- Throws:
PlatformException
encodeToXml
public void encodeToXml(java.lang.Object customTypeObject,
javax.xml.transform.Result attributeElement)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
encodeToXml
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
decodeFromXml
public java.lang.Object decodeFromXml(javax.xml.transform.Source attributeElement,
com.genesyslab.platform.commons.protocol.runtime.AttributeDescription ai)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
decodeFromXml
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
decodeFromXml
protected java.lang.Object decodeFromXml(javax.xml.transform.Source attributeElement,
java.lang.Class cls)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
xmlToObject
public java.lang.Object xmlToObject(org.w3c.dom.Node nav,
java.lang.Class t)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
objectToXml
public void objectToXml(java.lang.Object obj,
org.w3c.dom.Element root)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
getLogType
public java.lang.String getLogType()
- Specified by:
getLogType
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
appendLogValue
public void appendLogValue(java.lang.StringBuffer buf,
java.lang.Object customTypeObject,
boolean truncate,
boolean hide)
- Specified by:
appendLogValue
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
className4xml
protected java.lang.String className4xml(java.lang.Class cls)
classFromXmlName
protected java.lang.Class classFromXmlName(java.lang.String name)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.