com.genesyslab.platform.commons.connection.impl.EncodingSupport
, com.genesyslab.platform.commons.protocol.runtime.codec.ReverseDirectionCodecSupport
ConfSerializerV6
, ConfSerializerV7
public abstract class ConfSerializer
extends java.lang.Object
implements com.genesyslab.platform.commons.connection.impl.EncodingSupport, com.genesyslab.platform.commons.protocol.runtime.codec.ReverseDirectionCodecSupport
ConfSerializerV7
,
ConfSerializerV6
Modifier and Type | Field | Description |
---|---|---|
protected AesUtil |
aes |
|
protected CfgMetadata |
metadata |
|
protected static java.lang.String |
PASSWORD |
|
protected boolean |
reversed |
|
protected java.lang.String |
stringsEncoding |
Modifier | Constructor | Description |
---|---|---|
protected |
ConfSerializer(CfgMetadata metadata,
AesUtil aes) |
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.Object |
createElement(CfgDescriptionAttribute attr,
TokenReader tokenReader) |
|
protected java.lang.Object |
createElement(CfgDescriptionAttribute attributeDescription,
TokenReader tokenReader,
boolean isAddedObjlistElement) |
|
protected java.lang.String |
createTruncatedLogTrace(java.lang.String strData) |
|
abstract ConfDataCollection<? extends ConfObjectBase> |
deserialize(CfgDescriptionClass typeDescription,
java.lang.String cfgStr) |
|
protected ConfIntegerCollection |
deserializeIntList(CfgDescriptionAttributeReference attributeDescription,
TokenReader tokenReader) |
|
protected KeyValueCollection |
deserializeKVList(java.lang.String name,
TokenReader tokenReader) |
|
protected KeyValuePair |
deserializeKVListPair(TokenReader tokenReader) |
|
protected KeyValuePair |
deserializeKVPair(TokenReader tokenReader) |
|
protected ConfStructureCollection |
deserializeObjList(CfgDescriptionAttributeReferenceClass attr,
TokenReader tokenReader) |
|
protected ConfObjectBase |
deserializePObject(CfgDescriptionAttributeReference attr,
TokenReader tokenReader) |
|
protected ConfObjectBase |
deserializePObject(CfgDescriptionAttributeReference attr,
TokenReader tokenReader,
boolean isAddedObjlistElement) |
|
protected java.lang.Object |
deserializePrimitive(CfgDescriptionAttribute attributeDescription,
TokenReader tokenReader,
boolean isAddedObjlistElement) |
|
protected ConfStringCollection |
deserializeStrList(CfgDescriptionAttributeReference attr,
TokenReader tokenReader) |
|
protected java.lang.String |
getDecrypted(java.lang.String val) |
|
protected java.lang.String |
getEncrypted(java.lang.String val) |
|
CfgMetadata |
getMetadata() |
|
void |
reverse() |
|
abstract java.lang.String |
serialize(ConfDataCollection<? extends ConfObjectBase> objects) |
|
abstract java.lang.String |
serialize(ConfObjectBase object) |
|
protected abstract void |
serializeIntList(CfgDescriptionAttributeReference attr,
ConfIntegerCollection value,
java.io.StringWriter cfgWriter) |
|
protected abstract void |
serializeKVList(CfgDescriptionAttributeReference attr,
KeyValueCollection value,
java.io.StringWriter cfgWriter) |
|
protected abstract void |
serializeObjList(CfgDescriptionAttributeReference attr,
ConfStructureCollection value,
java.io.StringWriter cfgWriter) |
|
protected abstract void |
serializePObject(CfgDescriptionAttributeReference attr,
ConfObjectBase value,
java.io.StringWriter cfgWriter) |
|
protected abstract void |
serializePrimitive(CfgDescriptionAttribute attr,
char delimiter,
java.lang.Object value,
java.io.StringWriter cfgWriter) |
|
void |
setStringAttributesEncoding(java.lang.String strEncoding) |
|
protected abstract void |
writeCfgString(CfgDescriptionAttribute attr,
java.lang.Object value,
java.io.StringWriter cfgWriter) |
protected static final java.lang.String PASSWORD
protected AesUtil aes
protected CfgMetadata metadata
protected java.lang.String stringsEncoding
protected boolean reversed
protected ConfSerializer(CfgMetadata metadata, AesUtil aes)
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 ConfDataCollection<? extends ConfObjectBase> deserialize(CfgDescriptionClass typeDescription, 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 serialize(ConfObjectBase object) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
public abstract java.lang.String serialize(ConfDataCollection<? extends ConfObjectBase> objects) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected KeyValuePair deserializeKVPair(TokenReader tokenReader) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected KeyValuePair deserializeKVListPair(TokenReader tokenReader) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected java.lang.Object createElement(CfgDescriptionAttribute attr, TokenReader tokenReader) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected java.lang.Object createElement(CfgDescriptionAttribute attributeDescription, TokenReader tokenReader, boolean isAddedObjlistElement) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected java.lang.Object deserializePrimitive(CfgDescriptionAttribute attributeDescription, TokenReader tokenReader, boolean isAddedObjlistElement) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected ConfIntegerCollection deserializeIntList(CfgDescriptionAttributeReference attributeDescription, TokenReader tokenReader) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected ConfStructureCollection deserializeObjList(CfgDescriptionAttributeReferenceClass attr, TokenReader tokenReader) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected ConfObjectBase deserializePObject(CfgDescriptionAttributeReference attr, TokenReader tokenReader) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected ConfObjectBase deserializePObject(CfgDescriptionAttributeReference attr, TokenReader tokenReader, boolean isAddedObjlistElement) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected KeyValueCollection deserializeKVList(java.lang.String name, TokenReader tokenReader) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected ConfStringCollection deserializeStrList(CfgDescriptionAttributeReference attr, TokenReader tokenReader)
protected abstract void serializeKVList(CfgDescriptionAttributeReference attr, KeyValueCollection value, java.io.StringWriter cfgWriter) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected abstract void serializeIntList(CfgDescriptionAttributeReference attr, ConfIntegerCollection value, java.io.StringWriter cfgWriter) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected abstract void serializeObjList(CfgDescriptionAttributeReference attr, ConfStructureCollection value, java.io.StringWriter cfgWriter) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected abstract void serializePObject(CfgDescriptionAttributeReference attr, ConfObjectBase value, java.io.StringWriter cfgWriter) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected abstract void serializePrimitive(CfgDescriptionAttribute attr, char delimiter, java.lang.Object value, java.io.StringWriter cfgWriter) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
protected abstract void writeCfgString(CfgDescriptionAttribute attr, java.lang.Object value, 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.