com.genesyslab.platform.management.protocol.messageserver.runtime.codec
Class AttributeListCodec
java.lang.Object
com.genesyslab.platform.management.protocol.messageserver.runtime.codec.AttributeListCodec
- All Implemented Interfaces:
- com.genesyslab.platform.commons.connection.impl.EncodingSupport, com.genesyslab.platform.commons.protocol.runtime.codec.CustomPackager, com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
public class AttributeListCodec
- extends java.lang.Object
- implements com.genesyslab.platform.commons.protocol.runtime.codec.CustomPackager, com.genesyslab.platform.commons.connection.impl.EncodingSupport
Fields inherited from interface com.genesyslab.platform.commons.connection.impl.EncodingSupport |
DEFAULT_CHARSET, DEFAULT_ENCODING, UTF8_CHARSET, UTF8_ENCODING |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeListCodec
public AttributeListCodec()
getNS
public java.lang.String getNS()
- Specified by:
getNS
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
setStringAttributesEncoding
public void setStringAttributesEncoding(java.lang.String stringAttributesEncoding)
- Specified by:
setStringAttributesEncoding
in interface com.genesyslab.platform.commons.connection.impl.EncodingSupport
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
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
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
setMessage
public void setMessage(Message message)
- Specified by:
setMessage
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
setProtocolData
public void setProtocolData(java.lang.Object protocolData)
- Specified by:
setProtocolData
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
onMessageStart
public void onMessageStart(Message message)
- Specified by:
onMessageStart
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomPackager
onAttribute
public void onAttribute(java.lang.String id,
java.lang.Object value)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
onAttribute
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomPackager
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
onMessageEnd
public void onMessageEnd()
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
onMessageEnd
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomPackager
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
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
getLogType
public java.lang.String getLogType()
- Specified by:
getLogType
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.