Platform SDK Java 8.5 API Reference

com.genesyslab.platform.configuration.protocol.runtime.codec
Class PathArrayCodec2

java.lang.Object
  extended by com.genesyslab.platform.configuration.protocol.runtime.codec.PathArrayCodec2
All Implemented Interfaces:
com.genesyslab.platform.commons.protocol.runtime.codec.AttributeTypeCodec, com.genesyslab.platform.commons.protocol.runtime.codec.CustomPackager, com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec

public class PathArrayCodec2
extends java.lang.Object
implements com.genesyslab.platform.commons.protocol.runtime.codec.AttributeTypeCodec, com.genesyslab.platform.commons.protocol.runtime.codec.CustomPackager


Field Summary
protected static int FOLDER_TYPE_ID
           
protected static java.lang.String LOG_PATH_SEPARATOR
           
protected static java.lang.String LOG_TYPE
           
protected static java.lang.String NS_ATTR_NAME
           
protected static int OBJECT_PATHES_ID
           
protected static int OBJECT_TYPE_ID
           
protected static java.lang.String PATH_XML_ELEMENT
           
protected static java.lang.String SPLITTER
           
 
Constructor Summary
PathArrayCodec2()
           
 
Method Summary
 void appendLogValue(java.lang.StringBuffer buf, java.lang.Object customTypeObject, boolean truncate, boolean hide)
           
 java.lang.Object decodeFromConnection(java.lang.Object obj, com.genesyslab.platform.commons.protocol.runtime.AttributeDescription attrDescr)
           
 java.lang.Object decodeFromXml(javax.xml.transform.Source attributeElement, com.genesyslab.platform.commons.protocol.runtime.AttributeDescription attrDescr)
           
 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()
           
 java.lang.String getNS()
           
 void onAttribute(java.lang.String id, java.lang.Object value)
           
 void onMessageEnd()
           
 void onMessageStart(Message message)
           
 void setMessage(Message message)
           
 void setProtocolData(java.lang.Object protocolData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECT_PATHES_ID

protected static final int OBJECT_PATHES_ID
See Also:
Constant Field Values

OBJECT_TYPE_ID

protected static final int OBJECT_TYPE_ID
See Also:
Constant Field Values

FOLDER_TYPE_ID

protected static final int FOLDER_TYPE_ID
See Also:
Constant Field Values

LOG_TYPE

protected static final java.lang.String LOG_TYPE
See Also:
Constant Field Values

SPLITTER

protected static final java.lang.String SPLITTER
See Also:
Constant Field Values

PATH_XML_ELEMENT

protected static final java.lang.String PATH_XML_ELEMENT
See Also:
Constant Field Values

LOG_PATH_SEPARATOR

protected static final java.lang.String LOG_PATH_SEPARATOR
See Also:
Constant Field Values

NS_ATTR_NAME

protected static final java.lang.String NS_ATTR_NAME
See Also:
Constant Field Values
Constructor Detail

PathArrayCodec2

public PathArrayCodec2()
Method Detail

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)
Specified by:
onAttribute in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomPackager

onMessageEnd

public void onMessageEnd()
Specified by:
onMessageEnd in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomPackager

getNS

public java.lang.String getNS()
Specified by:
getNS in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec

decodeFromConnection

public java.lang.Object decodeFromConnection(java.lang.Object obj,
                                             com.genesyslab.platform.commons.protocol.runtime.AttributeDescription attrDescr)
                                      throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
decodeFromConnection in interface com.genesyslab.platform.commons.protocol.runtime.codec.AttributeTypeCodec
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

setProtocolData

public void setProtocolData(java.lang.Object protocolData)
Specified by:
setProtocolData in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec

setMessage

public void setMessage(Message message)
Specified by:
setMessage in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec

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 attrDescr)
                               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

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

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.