public class MetadataRevisionNoteURI
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MetadataRevisionNoteURI.SandboxArchiveId
The URI that represents the ID of a sandbox archive.
|
static class |
MetadataRevisionNoteURI.SandboxId
The URI that represents the ID of a sandbox.
|
static class |
MetadataRevisionNoteURI.TransactionId
The URI that represents the ID of a transaction.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_uri
The URI String.
|
Modifier and Type | Method and Description |
---|---|
static MetadataRevisionNoteURI |
create(java.lang.String note)
Creates a note URI that represents a simple note.
|
protected java.lang.String |
extractSchemeSpecificPart()
Extracts the scheme-specific part from this URI.
|
java.lang.String |
getSchemeSpecificPart()
Returns the scheme-specific part of this URI.
|
java.lang.String |
getSubject()
Returns the subject of the resource resolved by
MetadataRevisionNoteDescriptor . |
static MetadataRevisionNoteURI |
parse(java.lang.String noteURI)
Parses a URI string and returns a
MetadataRevisionNoteURI
object according to the scheme. |
java.lang.String |
toString() |
public java.lang.String getSchemeSpecificPart()
""
if this URI
contains only the schemeprotected java.lang.String extractSchemeSpecificPart()
getSchemeSpecificPart()
.public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getSubject()
MetadataRevisionNoteDescriptor
.MetadataRevisionNoteDescriptor
public static MetadataRevisionNoteURI create(java.lang.String note)
note
- the simple notenull
if the
given note is nullpublic static MetadataRevisionNoteURI parse(java.lang.String noteURI)
MetadataRevisionNoteURI
object according to the scheme. If the scheme cannot be recognized, a
generic MetadataRevisionNoteURI
is returned.noteURI
- the URI that identifies a noteMetadataRevisionNoteURI
object or null
if the given URI is null