Class KeyValue
- java.lang.Object
-
- com.priint.pubserver.comet.bridge.entitydata.Comet3EntityData
-
- com.priint.pubserver.comet.bridge.entitydata.KeyValue
-
- All Implemented Interfaces:
java.io.Serializable
public class KeyValue extends Comet3EntityData
Java class for the Comet3 KeyValue type.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeyValue.KeyValueAttributeAttributes for the Comet3 KeyValue type.
CAUTION! Do not change the order of these attributes or add or remove attributes, otherwise the InDesign Comet Plug-Ins and other clients will misinterpret the data sent from the Publishing Server.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Comet3Attribute[]getAttributes()Get attributes comet 3 attribute [ ].java.lang.StringgetContent()Gets content.java.lang.StringgetKey()Gets key.java.lang.StringgetValue()Gets value.voidsetContent(java.lang.String content)Sets content.voidsetKey(java.lang.String key)Sets key.voidsetValue(java.lang.String value)Sets value.java.lang.StringtoString()-
Methods inherited from class com.priint.pubserver.comet.bridge.entitydata.Comet3EntityData
get, getAsObject, set, setAsObject, toStringList
-
-
-
-
Constructor Detail
-
KeyValue
public KeyValue()
Instantiates a new Key value.
-
KeyValue
public KeyValue(java.lang.String key, java.lang.String value)Instantiates a new Key value.- Parameters:
key- the keyvalue- the value
-
KeyValue
public KeyValue(java.lang.Object key, java.lang.Object value)Instantiates a new Key value.- Parameters:
key- the keyvalue- the value
-
-
Method Detail
-
getAttributes
public Comet3Attribute[] getAttributes()
Description copied from class:Comet3EntityDataGet attributes comet 3 attribute [ ].- Specified by:
getAttributesin classComet3EntityData- Returns:
- the comet 3 attribute [ ]
-
getKey
public java.lang.String getKey()
Gets key.- Returns:
- the key
-
setKey
public void setKey(java.lang.String key)
Sets key.- Parameters:
key- the key
-
getValue
public java.lang.String getValue()
Gets value.- Returns:
- the value
-
setValue
public void setValue(java.lang.String value)
Sets value.- Parameters:
value- the value
-
getContent
public java.lang.String getContent()
Description copied from class:Comet3EntityDataGets content.- Specified by:
getContentin classComet3EntityData- Returns:
- the content
-
setContent
public void setContent(java.lang.String content)
Description copied from class:Comet3EntityDataSets content.- Specified by:
setContentin classComet3EntityData- Parameters:
content- the content
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-