com.genesyslab.platform.webmedia.protocol.basicchat.runtime.codec
Class BasicChatEventListCodec
java.lang.Object
com.genesyslab.platform.commons.protocol.runtime.codec.NoDataCodec
com.genesyslab.platform.webmedia.protocol.runtime.codec.XmlComplexTypeListCodec
com.genesyslab.platform.webmedia.protocol.basicchat.runtime.codec.BasicChatEventListCodec
- All Implemented Interfaces:
- com.genesyslab.platform.commons.connection.impl.xml.XmlStructureHandler, ConfigurationSupport, com.genesyslab.platform.commons.protocol.runtime.codec.CustomPackager, com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
public class BasicChatEventListCodec
- extends XmlComplexTypeListCodec
Method Summary |
protected com.genesyslab.platform.commons.protocol.runtime.CompoundValue |
createCompoundValue(java.lang.Object state,
java.lang.String attributeId)
|
protected java.lang.String |
createElement(com.genesyslab.platform.commons.protocol.runtime.DataSupport data,
com.genesyslab.platform.commons.connection.impl.xml.XmlMessage xmlMessage,
com.genesyslab.platform.commons.protocol.runtime.AttributeDescription info)
|
protected java.util.List |
createList(java.lang.Object state,
java.lang.String attributeId)
|
protected java.util.List |
getList(java.lang.Object state,
java.lang.String attributeId)
|
java.lang.String |
getLogType()
|
static java.lang.String |
getType(java.lang.Class<?> typeClass)
Gets type name for a specified basic chat event class. |
static java.lang.Class<?> |
getTypeClass(java.lang.String typeName)
Gets type class for a specified basic chat event type name. |
protected java.lang.String |
translateAttributeId(java.lang.String origAttributeId)
|
Methods inherited from class com.genesyslab.platform.webmedia.protocol.runtime.codec.XmlComplexTypeListCodec |
append, appendLogValue, configure, decodeFromXml, encodeForConnection, encodeToXml, getConfiguration, needsProcessing, onAttribute, onComplexAttribute, onComplexEnd, onMessageEnd, onMessageStart, setMessage, setProtocolData |
Methods inherited from class com.genesyslab.platform.commons.protocol.runtime.codec.NoDataCodec |
getNS |
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 |
BasicChatEventListCodec
public BasicChatEventListCodec()
createElement
protected java.lang.String createElement(com.genesyslab.platform.commons.protocol.runtime.DataSupport data,
com.genesyslab.platform.commons.connection.impl.xml.XmlMessage xmlMessage,
com.genesyslab.platform.commons.protocol.runtime.AttributeDescription info)
- Overrides:
createElement
in class XmlComplexTypeListCodec
createCompoundValue
protected com.genesyslab.platform.commons.protocol.runtime.CompoundValue createCompoundValue(java.lang.Object state,
java.lang.String attributeId)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
createCompoundValue
in class XmlComplexTypeListCodec
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
translateAttributeId
protected java.lang.String translateAttributeId(java.lang.String origAttributeId)
- Specified by:
translateAttributeId
in class XmlComplexTypeListCodec
createList
protected java.util.List createList(java.lang.Object state,
java.lang.String attributeId)
- Specified by:
createList
in class XmlComplexTypeListCodec
getList
protected java.util.List getList(java.lang.Object state,
java.lang.String attributeId)
- Overrides:
getList
in class XmlComplexTypeListCodec
getLogType
public java.lang.String getLogType()
getType
public static java.lang.String getType(java.lang.Class<?> typeClass)
- Gets type name for a specified basic chat event class.
- Parameters:
typeClass
- basic chat event class.
- Returns:
- type name for a specified basic chat event class.
getTypeClass
public static java.lang.Class<?> getTypeClass(java.lang.String typeName)
- Gets type class for a specified basic chat event type name.
- Parameters:
typeName
- basic chat event type name.
- Returns:
- type class for a specified basic chat event type name.
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.