public class TCMURI extends CMURI
This object is a helper object used to parse and create UDP URIs.
| Modifier and Type | Field and Description |
|---|---|
static TCMURI |
NULL_URI
Null TCM URI.
|
static String |
URI_NAMESPACE
URI namespace.
|
| Constructor and Description |
|---|
TCMURI(int publicationId,
int itemId,
int itemType,
int version)
Create a new
'tcm:' namespace URI based on publication Id, item Id, item type and version. |
TCMURI(String uri)
Create a new
'tcm:' namespace URI from a string. |
| Modifier and Type | Method and Description |
|---|---|
String |
getNamespace() |
protected boolean |
isNullUri()
Check if this object is NULL_URI.
|
compareTo, equals, getItemId, getItemType, getPublicationId, getVersion, hashCode, load, setItemId, setItemType, setNamespace, setPublicationId, setVersion, toStringpublic static final String URI_NAMESPACE
public static final TCMURI NULL_URI
public TCMURI(int publicationId,
int itemId,
int itemType,
int version)
'tcm:' namespace URI based on publication Id, item Id, item type and version.publicationId - publicationId for this URI.itemId - itemId for this URI.itemType - itemType for this URI.version - version for this URI.ItemTypespublic TCMURI(String uri) throws ParseException
'tcm:' namespace URI from a string.uri - String containing the URI to be parsed.ParseException - Thrown if the String does not contain a valid TCMURIpublic String getNamespace()
getNamespace in class CMURICopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries