public class Identifier
extends java.lang.Object
Constructor and Description |
---|
Identifier() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
buildInstanceStateID(EntryParser parser)
Builds an instance state identifier
|
static java.lang.String |
buildInstanceStateID(java.lang.String source,
java.lang.String id)
Builds an instance state identifier
|
static java.lang.String |
buildProfileID(java.lang.String message)
Builds a profile ID starting from the message (a string serialization of the profile)
|
public static java.lang.String buildInstanceStateID(EntryParser parser)
parser
- the parser of the source entrypublic static java.lang.String buildInstanceStateID(java.lang.String source, java.lang.String id)
source
- the URI of the publisherid
- the id related to the piece of state to identifypublic static java.lang.String buildProfileID(java.lang.String message) throws java.lang.Exception
message
- the messagejava.lang.Exception
- if the profile is not well-formed