public class UriContext extends Object
Copyright (c) SAP AG 2001-2004
| Constructor and Description |
|---|
UriContext(RID basePath,
IUriMapper mapper)
Create a new UriContext which follows the given mapping and has
the given WCM Path as base.
|
| Modifier and Type | Method and Description |
|---|---|
RID |
getBasePath()
Retrieve the base WCM Path of this context
|
IUriReference |
getBaseReference()
Retrieve the base uri as reference without scheme and host name
|
IHierarchicalUri |
getBaseUri()
Retrieve the base uri of this context
|
RID |
mapWcmPath(IUriReference ref)
Maps the uri reference to the the local WCM Path.
|
RID |
mapWcmPath(IUriReference ref,
boolean systemWide)
Maps the uri reference to the the local WCM Path.
|
RID |
mapWcmPath(String externalForm)
Maps the external string representation of an uri reference to
the the local WCM Path.
|
RID |
mapWcmPath(String externalForm,
boolean systemWide)
Maps the external string representation of an uri reference to
the the local WCM Path.
|
public UriContext(RID basePath, IUriMapper mapper)
basePath - anchor for mapping in WCM Path spacemapper - for general mapping between WCM Path and Uri spacepublic RID getBasePath()
public IUriReference getBaseReference()
public IHierarchicalUri getBaseUri()
public RID mapWcmPath(String externalForm)
externalForm - of uri referencepublic RID mapWcmPath(String externalForm, boolean systemWide)
externalForm - of uri referencesystemWide - if true, uses all installed uri mappers to map the uri to a ridpublic RID mapWcmPath(IUriReference ref)
ref - uri referencepublic RID mapWcmPath(IUriReference ref, boolean systemWide)
ref - uri referencesystemWide - if true, uses all installed uri mappers to map the uri to a rid| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice