com.genesyslab.platform.configuration.protocol.runtime.codec
Class XmlDocumentCodec
java.lang.Object
com.genesyslab.platform.configuration.protocol.runtime.codec.XmlDocumentCodec
- All Implemented Interfaces:
- com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
- Direct Known Subclasses:
- XmlDocumentCodecV6, XmlDocumentCodecV7
public abstract class XmlDocumentCodec
- extends java.lang.Object
- implements com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
Method Summary |
void |
appendLogValue(java.lang.StringBuffer buf,
java.lang.Object customTypeObject,
boolean truncate,
boolean hide)
|
protected org.w3c.dom.Document |
asDocument(java.lang.Object customTypeObject)
|
protected int |
asInt(java.lang.String id)
|
java.lang.Object |
decodeFromXml(javax.xml.transform.Source attributeElement,
com.genesyslab.platform.commons.protocol.runtime.AttributeDescription attributeDescription)
|
void |
encodeToXml(java.lang.Object customTypeObject,
javax.xml.transform.Result attributeElement)
|
java.lang.String |
getLogType()
|
void |
setMessage(Message message)
|
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 |
encodeForConnection, getNS, setProtocolData |
CONF_OBJ_ATTR_ID
protected static final int CONF_OBJ_ATTR_ID
- See Also:
- Constant Field Values
OBJ_TYPE_ATTR_ID
protected static final int OBJ_TYPE_ATTR_ID
- See Also:
- Constant Field Values
SCHEMA_INFO_ATTR_ID
protected static final int SCHEMA_INFO_ATTR_ID
- See Also:
- Constant Field Values
DELTA_INDEX
protected static final int DELTA_INDEX
- See Also:
- Constant Field Values
DELTA
protected static final java.lang.String DELTA
- See Also:
- Constant Field Values
BRIEF
protected static final java.lang.String BRIEF
- See Also:
- Constant Field Values
XML
protected static final java.lang.String XML
- See Also:
- Constant Field Values
CONF_ID
protected static final java.lang.String CONF_ID
- See Also:
- Constant Field Values
CONF_ACL
protected static final java.lang.String CONF_ACL
- See Also:
- Constant Field Values
CONF_LOCALE
protected static final java.lang.String CONF_LOCALE
- See Also:
- Constant Field Values
objectType
protected java.lang.Integer objectType
confObject
protected java.lang.String confObject
message
protected Message message
serializer
protected ObjectSerializer serializer
XmlDocumentCodec
public XmlDocumentCodec()
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)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
appendLogValue
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
- 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
- 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
- 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
asInt
protected int asInt(java.lang.String id)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
asDocument
protected org.w3c.dom.Document asDocument(java.lang.Object customTypeObject)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.