com.genesyslab.platform.commons.connection.impl.EncodingSupport
, com.genesyslab.platform.commons.protocol.runtime.codec.ReverseDirectionCodecSupport
ObjectSerializerV6
, ObjectSerializerV7
public abstract class ObjectSerializer
extends java.lang.Object
implements com.genesyslab.platform.commons.connection.impl.EncodingSupport, com.genesyslab.platform.commons.protocol.runtime.codec.ReverseDirectionCodecSupport
Modifier and Type | Class | Description |
---|---|---|
protected static class |
ObjectSerializer.DocumentWalker |
Modifier and Type | Field | Description |
---|---|---|
protected AesUtil |
aes |
|
protected static java.lang.String |
BINARY_PAIR |
|
protected static java.lang.String |
DBID |
|
protected boolean |
deltaCleanUp |
|
protected javax.xml.parsers.DocumentBuilder |
docCreator |
|
protected static java.lang.String |
INTEGER_PAIR |
|
protected static java.lang.String |
INTID |
|
protected static java.lang.String |
KEY |
|
protected CfgMetadata |
metadata |
|
protected static java.lang.String |
PASSWORD |
|
protected boolean |
reversed |
|
protected static java.lang.String |
STRING_PAIR |
|
protected java.lang.String |
stringsEncoding |
|
protected static java.lang.String |
VALUE |
Modifier | Constructor | Description |
---|---|---|
protected |
ObjectSerializer(CfgMetadata metadata,
AesUtil aes,
boolean deltaCleanUp) |
Modifier and Type | Method | Description |
---|---|---|
protected org.w3c.dom.Element |
createElement(org.w3c.dom.Document document,
java.lang.String elementName) |
|
protected java.lang.String |
createTruncatedLogTrace(java.lang.String strData) |
|
protected org.w3c.dom.Element |
createXmlElement(CfgDescriptionAttribute attr,
TokenReader tokenReader,
org.w3c.dom.Document document) |
|
protected org.w3c.dom.Element |
createXmlElement(CfgDescriptionAttribute attributeDescription,
TokenReader tokenReader,
org.w3c.dom.Document document,
boolean isAddedObjlistElement) |
|
abstract java.lang.String |
deserialize(java.lang.String objectTypeName,
org.w3c.dom.Document document) |
|
protected abstract boolean |
deserializeDBIdList(java.lang.String name,
ObjectSerializer.DocumentWalker navigator,
java.io.StringWriter cfgWriter) |
|
protected abstract boolean |
deserializeIntList(java.lang.String name,
ObjectSerializer.DocumentWalker navigator,
java.io.StringWriter cfgWriter) |
|
protected abstract boolean |
deserializeKVList(java.lang.String name,
ObjectSerializer.DocumentWalker navigator,
java.io.StringWriter cfgWriter) |
|
protected abstract boolean |
deserializeObjList(CfgDescriptionAttributeReference attr,
ObjectSerializer.DocumentWalker navigator,
java.io.StringWriter cfgWriter) |
|
protected abstract boolean |
deserializePObject(CfgDescriptionAttributeReference attr,
ObjectSerializer.DocumentWalker navigator,
java.io.StringWriter cfgWriter) |
|
protected abstract boolean |
deserializePrimitive(java.lang.String name,
char delimiter,
ObjectSerializer.DocumentWalker navigator,
java.io.StringWriter cfgWriter) |
|
protected java.lang.String |
getDecrypted(java.lang.String val) |
|
protected java.lang.String |
getEncrypted(java.lang.String val) |
|
CfgMetadata |
getMetadata() |
|
void |
reverse() |
|
abstract org.w3c.dom.Document |
serialize(java.lang.String objectTypeName,
java.lang.String cfgStr) |
|
protected org.w3c.dom.Element |
serializeDBIDList(java.lang.String name,
TokenReader tokenReader,
org.w3c.dom.Document document) |
|
protected org.w3c.dom.Element |
serializeIntList(java.lang.String name,
TokenReader tokenReader,
org.w3c.dom.Document document) |
|
protected org.w3c.dom.Element |
serializeKVList(java.lang.String name,
TokenReader tokenReader,
org.w3c.dom.Document document) |
|
protected org.w3c.dom.Element |
serializeKVListPair(TokenReader tokenReader,
org.w3c.dom.Document document) |
|
protected org.w3c.dom.Element |
serializeKVPair(TokenReader tokenReader,
org.w3c.dom.Document document) |
|
protected org.w3c.dom.Element |
serializeObjList(CfgDescriptionAttributeReference attr,
TokenReader tokenReader,
org.w3c.dom.Document document) |
|
protected org.w3c.dom.Element |
serializePObject(CfgDescriptionAttributeReference attr,
TokenReader tokenReader,
org.w3c.dom.Document document) |
|
protected org.w3c.dom.Element |
serializePObject(CfgDescriptionAttributeReference attr,
TokenReader tokenReader,
org.w3c.dom.Document document,
boolean isAddedObjlistElement) |
|
protected org.w3c.dom.Element |
serializePrimitive(java.lang.String name,
TokenReader tokenReader,
org.w3c.dom.Document document) |
|
protected org.w3c.dom.Element |
serializePrimitive(java.lang.String name,
TokenReader tokenReader,
org.w3c.dom.Document document,
boolean isAddedObjlistElement) |
|
protected org.w3c.dom.Element |
serializeStrList(CfgDescriptionAttributeReference attr,
TokenReader tokenReader,
org.w3c.dom.Document document) |
|
void |
setStringAttributesEncoding(java.lang.String strEncoding) |
|
protected abstract boolean |
writeCfgString(CfgDescriptionAttribute attr,
ObjectSerializer.DocumentWalker navigator,
java.io.StringWriter cfgWriter) |
protected static final java.lang.String KEY
protected static final java.lang.String VALUE
protected static final java.lang.String BINARY_PAIR
protected static final java.lang.String STRING_PAIR
protected static final java.lang.String INTEGER_PAIR
protected static final java.lang.String PASSWORD
protected static final java.lang.String DBID
protected static final java.lang.String INTID
protected AesUtil aes
protected CfgMetadata metadata
protected boolean deltaCleanUp
protected java.lang.String stringsEncoding
protected boolean reversed
protected javax.xml.parsers.DocumentBuilder docCreator
protected ObjectSerializer(CfgMetadata metadata, AesUtil aes, boolean deltaCleanUp)
public void reverse()
reverse
in interface com.genesyslab.platform.commons.protocol.runtime.codec.ReverseDirectionCodecSupport
public CfgMetadata getMetadata()
public void setStringAttributesEncoding(java.lang.String strEncoding)
setStringAttributesEncoding
in interface com.genesyslab.platform.commons.connection.impl.EncodingSupport
public abstract org.w3c.dom.Document serialize(java.lang.String objectTypeName, java.lang.String cfgStr) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
public abstract java.lang.String deserialize(java.lang.String objectTypeName, org.w3c.dom.Document document) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected org.w3c.dom.Element serializeKVPair(TokenReader tokenReader, org.w3c.dom.Document document) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected org.w3c.dom.Element createElement(org.w3c.dom.Document document, java.lang.String elementName)
protected org.w3c.dom.Element serializeKVListPair(TokenReader tokenReader, org.w3c.dom.Document document) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected org.w3c.dom.Element createXmlElement(CfgDescriptionAttribute attr, TokenReader tokenReader, org.w3c.dom.Document document) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected org.w3c.dom.Element createXmlElement(CfgDescriptionAttribute attributeDescription, TokenReader tokenReader, org.w3c.dom.Document document, boolean isAddedObjlistElement) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected org.w3c.dom.Element serializePrimitive(java.lang.String name, TokenReader tokenReader, org.w3c.dom.Document document) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected org.w3c.dom.Element serializePrimitive(java.lang.String name, TokenReader tokenReader, org.w3c.dom.Document document, boolean isAddedObjlistElement) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected org.w3c.dom.Element serializeIntList(java.lang.String name, TokenReader tokenReader, org.w3c.dom.Document document)
protected org.w3c.dom.Element serializeDBIDList(java.lang.String name, TokenReader tokenReader, org.w3c.dom.Document document)
protected org.w3c.dom.Element serializeObjList(CfgDescriptionAttributeReference attr, TokenReader tokenReader, org.w3c.dom.Document document) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected org.w3c.dom.Element serializePObject(CfgDescriptionAttributeReference attr, TokenReader tokenReader, org.w3c.dom.Document document) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected org.w3c.dom.Element serializePObject(CfgDescriptionAttributeReference attr, TokenReader tokenReader, org.w3c.dom.Document document, boolean isAddedObjlistElement) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected org.w3c.dom.Element serializeKVList(java.lang.String name, TokenReader tokenReader, org.w3c.dom.Document document) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected org.w3c.dom.Element serializeStrList(CfgDescriptionAttributeReference attr, TokenReader tokenReader, org.w3c.dom.Document document)
protected abstract boolean deserializeKVList(java.lang.String name, ObjectSerializer.DocumentWalker navigator, java.io.StringWriter cfgWriter) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected abstract boolean deserializeIntList(java.lang.String name, ObjectSerializer.DocumentWalker navigator, java.io.StringWriter cfgWriter) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected abstract boolean deserializeDBIdList(java.lang.String name, ObjectSerializer.DocumentWalker navigator, java.io.StringWriter cfgWriter) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected abstract boolean deserializeObjList(CfgDescriptionAttributeReference attr, ObjectSerializer.DocumentWalker navigator, java.io.StringWriter cfgWriter) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected abstract boolean deserializePObject(CfgDescriptionAttributeReference attr, ObjectSerializer.DocumentWalker navigator, java.io.StringWriter cfgWriter) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected abstract boolean deserializePrimitive(java.lang.String name, char delimiter, ObjectSerializer.DocumentWalker navigator, java.io.StringWriter cfgWriter) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected abstract boolean writeCfgString(CfgDescriptionAttribute attr, ObjectSerializer.DocumentWalker navigator, java.io.StringWriter cfgWriter) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected java.lang.String getEncrypted(java.lang.String val) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected java.lang.String getDecrypted(java.lang.String val) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected java.lang.String createTruncatedLogTrace(java.lang.String strData)
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.