com.genesyslab.platform.webmedia.protocol.email.runtime.codec
Class MailPropertiesCodec
java.lang.Object
com.genesyslab.platform.webmedia.protocol.runtime.codec.XmlKeyValueCodec
com.genesyslab.platform.webmedia.protocol.email.runtime.codec.MailPropertiesCodec
- All Implemented Interfaces:
- com.genesyslab.platform.commons.connection.impl.EncodingSupport, com.genesyslab.platform.commons.connection.impl.xml.XmlStructureHandler, ConfigurationSupport, com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
public class MailPropertiesCodec
- extends XmlKeyValueCodec
Fields inherited from interface com.genesyslab.platform.commons.connection.impl.EncodingSupport |
DEFAULT_CHARSET, DEFAULT_ENCODING, UTF8_CHARSET, UTF8_ENCODING |
Method Summary |
void |
appendLogValue(java.lang.StringBuffer buf,
java.lang.Object customTypeObject,
boolean truncate,
boolean hide)
|
java.lang.Object |
decodeFromXml(javax.xml.transform.Source attributeElement,
com.genesyslab.platform.commons.protocol.runtime.AttributeDescription attributeDescription)
|
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)
|
protected java.lang.Object |
getComplexAttributeValue()
|
protected java.lang.String |
getNodeName(int depth,
java.lang.String key,
java.lang.Object value)
|
protected void |
setAdditionalAttributes(MessageTransport transport,
java.lang.Object transportState,
java.lang.String key,
int depth)
|
Methods inherited from class com.genesyslab.platform.webmedia.protocol.runtime.codec.XmlKeyValueCodec |
configure, getConfiguration, getKeyText, getList, getLogType, getNS, getTypeText, needsProcessing, onComplexAttribute, onComplexEnd, setMessage, setProtocolData, setStringAttributesEncoding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FLD_ATTACHMENTS
public static final java.lang.String FLD_ATTACHMENTS
- See Also:
- Constant Field Values
MailPropertiesCodec
public MailPropertiesCodec()
getNodeName
protected java.lang.String getNodeName(int depth,
java.lang.String key,
java.lang.Object value)
- Overrides:
getNodeName
in class XmlKeyValueCodec
setAdditionalAttributes
protected void setAdditionalAttributes(MessageTransport transport,
java.lang.Object transportState,
java.lang.String key,
int depth)
throws PlatformException
- Overrides:
setAdditionalAttributes
in class XmlKeyValueCodec
- Throws:
PlatformException
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
- Overrides:
encodeForConnection
in class XmlKeyValueCodec
- Throws:
PlatformException
appendLogValue
public void appendLogValue(java.lang.StringBuffer buf,
java.lang.Object customTypeObject,
boolean truncate,
boolean hide)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
appendLogValue
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
- Overrides:
appendLogValue
in class XmlKeyValueCodec
- 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 attributeDescription)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
decodeFromXml
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
- Overrides:
decodeFromXml
in class XmlKeyValueCodec
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
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
- Overrides:
encodeToXml
in class XmlKeyValueCodec
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
getComplexAttributeValue
protected java.lang.Object getComplexAttributeValue()
- Overrides:
getComplexAttributeValue
in class XmlKeyValueCodec
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.