com.genesyslab.platform.configuration.protocol.runtime.channel
Class ConfSerializerV6
java.lang.Object
com.genesyslab.platform.configuration.protocol.runtime.channel.ConfSerializer
com.genesyslab.platform.configuration.protocol.runtime.channel.ConfSerializerV6
- All Implemented Interfaces:
- com.genesyslab.platform.commons.connection.impl.EncodingSupport, com.genesyslab.platform.commons.protocol.runtime.codec.ReverseDirectionCodecSupport
public class ConfSerializerV6
- extends ConfSerializer
Configuration Protocol data serializer for 'V6' packing format.
This format is used for transportation of configuration brief objects,
objects/accounts permissions information, configuration schema and localization data.
Fields inherited from interface com.genesyslab.platform.commons.connection.impl.EncodingSupport |
DEFAULT_CHARSET, DEFAULT_ENCODING, UTF8_CHARSET, UTF8_ENCODING |
Method Summary |
ConfDataCollection<? extends ConfObjectBase> |
deserialize(CfgDescriptionClass typeDescription,
java.lang.String cfgStr)
|
java.lang.String |
serialize(ConfDataCollection<? extends ConfObjectBase> objects)
|
java.lang.String |
serialize(ConfObjectBase object)
|
protected void |
serializeEnumerationPObject(CfgDescriptionAttributeReference attr,
ConfObjectBase value,
java.io.StringWriter cfgWriter)
|
protected void |
serializeIntList(CfgDescriptionAttributeReference attr,
ConfIntegerCollection value,
java.io.StringWriter cfgWriter)
|
protected void |
serializeKVList(CfgDescriptionAttributeReference attr,
KeyValueCollection value,
java.io.StringWriter cfgWriter)
|
protected void |
serializeObjList(CfgDescriptionAttributeReference attr,
ConfStructureCollection value,
java.io.StringWriter cfgWriter)
|
protected void |
serializePObject(CfgDescriptionAttributeReference attr,
ConfObjectBase value,
java.io.StringWriter cfgWriter)
|
protected void |
serializePrimitive(CfgDescriptionAttribute attr,
char delimiter,
java.lang.Object value,
java.io.StringWriter cfgWriter)
|
protected void |
writeCfgString(CfgDescriptionAttribute attributeDescription,
java.lang.Object value,
java.io.StringWriter cfgWriter)
|
Methods inherited from class com.genesyslab.platform.configuration.protocol.runtime.channel.ConfSerializer |
createElement, createElement, createTruncatedLogTrace, deserializeIntList, deserializeKVList, deserializeKVListPair, deserializeKVPair, deserializeObjList, deserializePObject, deserializePObject, deserializePrimitive, deserializeStrList, getDecrypted, getEncrypted, getMetadata, reverse, setStringAttributesEncoding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfSerializerV6
public ConfSerializerV6(CfgMetadata metadata,
AesUtil aes)
deserialize
public ConfDataCollection<? extends ConfObjectBase> deserialize(CfgDescriptionClass typeDescription,
java.lang.String cfgStr)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
deserialize
in class ConfSerializer
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
serialize
public java.lang.String serialize(ConfDataCollection<? extends ConfObjectBase> objects)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
serialize
in class ConfSerializer
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
serialize
public java.lang.String serialize(ConfObjectBase object)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
serialize
in class ConfSerializer
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
serializeKVList
protected void serializeKVList(CfgDescriptionAttributeReference attr,
KeyValueCollection value,
java.io.StringWriter cfgWriter)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
serializeKVList
in class ConfSerializer
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
serializeIntList
protected void serializeIntList(CfgDescriptionAttributeReference attr,
ConfIntegerCollection value,
java.io.StringWriter cfgWriter)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
serializeIntList
in class ConfSerializer
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
serializeObjList
protected void serializeObjList(CfgDescriptionAttributeReference attr,
ConfStructureCollection value,
java.io.StringWriter cfgWriter)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
serializeObjList
in class ConfSerializer
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
serializeEnumerationPObject
protected void serializeEnumerationPObject(CfgDescriptionAttributeReference attr,
ConfObjectBase value,
java.io.StringWriter cfgWriter)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
serializePObject
protected void serializePObject(CfgDescriptionAttributeReference attr,
ConfObjectBase value,
java.io.StringWriter cfgWriter)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
serializePObject
in class ConfSerializer
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
serializePrimitive
protected void serializePrimitive(CfgDescriptionAttribute attr,
char delimiter,
java.lang.Object value,
java.io.StringWriter cfgWriter)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
serializePrimitive
in class ConfSerializer
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
writeCfgString
protected void writeCfgString(CfgDescriptionAttribute attributeDescription,
java.lang.Object value,
java.io.StringWriter cfgWriter)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
writeCfgString
in class ConfSerializer
- 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.