|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.symbol.advanced.Message
public class Message

Message contains properties which can be processed by MessageProcessor. Apart from message ID, all other
properties are name-value pairs which should be recognizable to the target message processor.
| Constructor Summary | |
|---|---|
Message()
Initializes a Message object. |
|
Message(org.codehaus.jackson.JsonParser parser)
Initializes a Message object from an JsonParsor object. |
|
Message(Message other)
Initializes a Message object from other message. |
|
| Method Summary | |
|---|---|
void |
addProperties(Map<String,Object> properties)
Adds the properties as a map. |
String |
getID()
Get the message ID. |
Map<String,Object> |
getProperties()
Gets the properties as a map. |
Object |
getProperty(String name)
Returns the property value in specified name. |
void |
setID(String id)
Sets the message ID. |
void |
setProperties(Map<String,Object> properties)
Sets the properties as a map. |
void |
setProperty(String name,
Object value)
Sets the property with specified name-value pair. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Message()
public Message(org.codehaus.jackson.JsonParser parser)
parser - JsonParser object which represents a message in JSON format.public Message(Message other)
other - the other message.| Method Detail |
|---|
public String getID()
public void setID(String id)
id - the id to setpublic Map<String,Object> getProperties()
public void setProperties(Map<String,Object> properties)
properties - the properties to setpublic void addProperties(Map<String,Object> properties)
properties - the properties to add.public Object getProperty(String name)
name - property name.
public void setProperty(String name,
Object value)
name - property name.value - property value.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||