Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Enumerations | |
enum | NodeType { ELEMENT = ("element"), ATTR = ("attr") } |
enum | RecordEntry { RID = ("rid"), TARGET = ("target"), TYPE = ("type"), VERSION = ("version"), RECORD_TYPE, TARGET_VERSION = ("target-version"), PARENT = ("parent"), VISIBLE, PRIMARY_WEIGHT = ("primary-weight"), NS = ("ns"), NAME = ("name"), CHDATA, CREATOR = ("creator"), LAST_MODIFIED_BY = ("last-modified-by"), SENDER } |
enum | RecordType { NEW = ("new"), SET = ("set"), REMOVE = ("remove") } |
enum | SXEMessageType { RECORDS = ("records"), STATE_OFFER = ("state-offer"), REFUSE_STATE = ("refuse-state"), ACCEPT_STATE, ACK_STATE = ("ack-state"), STATE = ("state") } |
Enumeration for all possible attributes of any record respective SXE. Used in the RecordDataObject.
Each constant is enhanced by its XML tag to be used when serialized. Accessible by the toString()-method.
The static utility method fromString(String) facilitates deserialization.
Enumeration for SXE messages used during session negotiation.
Each constant but RECORDS is enhanced by its XML tag to be used when serialized. Accessible by the toString()-method.
The static utility method fromString(String) facilitates deserialization. It also checks whether the provided tag is a RecordType and will return RECORDS respectively.