public final class EspEmailBinding
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
EspEmailBinding.KVBindingException |
Modifier and Type | Method | Description |
---|---|---|
static boolean |
isKnownMessage(java.lang.String key) |
Checks if message or class is known
|
static KeyValueCollection |
marshal(EmailAttachment obj) |
|
static KeyValueCollection |
marshal(EventCreateWebEmailIn obj) |
|
static KeyValueCollection |
marshal(EventError obj) |
|
static KeyValueCollection |
marshal(RequestCreateWebEmailIn obj) |
|
static KeyValueCollection |
marshal(java.lang.Object obj) |
Marshal data from object of predefined class to key value collection.
|
static KeyValueCollection |
marshal(java.lang.String key,
java.lang.Object obj) |
Marshal data from object of predefined class to key value collection.
|
static java.lang.String |
resolve(KeyValueCollection list) |
Resolve predefined class name according to key value collection
Predefined classes are generating according to protocol description.
|
static boolean |
setProperty(EmailAttachment obj,
java.lang.String name,
java.lang.Object value) |
Set property by name
|
static boolean |
setProperty(EventCreateWebEmailIn obj,
java.lang.String name,
java.lang.Object value) |
Set property by name
|
static boolean |
setProperty(EventError obj,
java.lang.String name,
java.lang.Object value) |
Set property by name
|
static boolean |
setProperty(RequestCreateWebEmailIn obj,
java.lang.String name,
java.lang.Object value) |
Set property by name
|
static java.lang.Object |
unmarshal(KeyValueCollection kvlist) |
Actually will be called unmarshal(resolve(kvlist), kvlist).
|
static java.lang.Object |
unmarshal(java.lang.String className,
KeyValueCollection kvlist) |
Unmarshal data from key value collection to appropriate object of predefined class.
|
public static boolean isKnownMessage(java.lang.String key)
key
- key or class name used as key for binding.public static KeyValueCollection marshal(java.lang.Object obj) throws EspEmailBinding.KVBindingException
obj
- object for which must be generated according key value collection that will be represent it dataEspEmailBinding.KVBindingException
public static KeyValueCollection marshal(java.lang.String key, java.lang.Object obj) throws EspEmailBinding.KVBindingException
key
- string key to be used for resolving marshallerobj
- object for which must be generated according key value collection that will be represent it dataEspEmailBinding.KVBindingException
public static java.lang.Object unmarshal(KeyValueCollection kvlist) throws EspEmailBinding.KVBindingException
kvlist
- key value collection for which must be generated appropriate object of predefined classEspEmailBinding.KVBindingException
public static java.lang.Object unmarshal(java.lang.String className, KeyValueCollection kvlist) throws EspEmailBinding.KVBindingException
className
- name of predefined class used as tergat for binding.kvlist
- key value collection for which must be generated appropriate object of predefined classEspEmailBinding.KVBindingException
public static java.lang.String resolve(KeyValueCollection list)
KeyValueCollection
- key value collection for which must be resolved predefined class namepublic static KeyValueCollection marshal(RequestCreateWebEmailIn obj) throws EspEmailBinding.KVBindingException
public static boolean setProperty(RequestCreateWebEmailIn obj, java.lang.String name, java.lang.Object value) throws java.lang.ClassCastException
obj
- object in which will be set propertyname
- property name to setvalue
- new property valuejava.lang.ClassCastException
public static KeyValueCollection marshal(EmailAttachment obj) throws EspEmailBinding.KVBindingException
public static boolean setProperty(EmailAttachment obj, java.lang.String name, java.lang.Object value) throws java.lang.ClassCastException
obj
- object in which will be set propertyname
- property name to setvalue
- new property valuejava.lang.ClassCastException
public static KeyValueCollection marshal(EventCreateWebEmailIn obj) throws EspEmailBinding.KVBindingException
public static boolean setProperty(EventCreateWebEmailIn obj, java.lang.String name, java.lang.Object value) throws java.lang.ClassCastException
obj
- object in which will be set propertyname
- property name to setvalue
- new property valuejava.lang.ClassCastException
public static KeyValueCollection marshal(EventError obj) throws EspEmailBinding.KVBindingException
public static boolean setProperty(EventError obj, java.lang.String name, java.lang.Object value) throws java.lang.ClassCastException
obj
- object in which will be set propertyname
- property name to setvalue
- new property valuejava.lang.ClassCastException
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.