|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A RFC2396 URI interface.
remainder ::= '//' authority abspath query
abspath ::= '/' pathsegment | empty
pathsegment ::= name | name '/' pathsegment | empty
query ::= '?' uri-characters | empty
Copyright (c) SAP AG 2001-2003
| Method Summary | |
IHierarchicalUri |
appendPath(java.lang.String path)
Append the given path segment to the current path of this uri. |
java.lang.String |
getAuthority()
Return authority part of this hierarchical Uri. |
java.lang.String |
getPath()
Return path of this Uri or, if not there, the emtpy string |
java.lang.String[] |
getPathSegments()
Return the segments of the uri path |
java.lang.String |
getQuery()
Return query of this Uri in RFC 2396 encoded form or, if not there, null |
IHierarchicalUri |
getRoot()
Returns the uri of the root collection (path = "/"). |
boolean |
isAncestorOf(IHierarchicalUri other)
Determine if this Uri is ancestor of other uri |
IUriReference |
mapToAbsolutePath(IUriReference ref)
Given this Uri as the base, map the uri reference to a uri reference with absolute path component. |
IUriReference |
mapToAbsolutePath(Rid wcmPath)
TBD: Description of the Method. |
IUriReference |
mapToAbsolutePath(Rid wcmPath,
UriCodec codec)
TBD: Description of the Method. |
IHierarchicalUri |
mapToAbsoluteUri(Rid wcmPath)
TBD: Description of the Method. |
IHierarchicalUri |
mapToAbsoluteUri(Rid wcmPath,
UriCodec codec)
TBD: Description of the Method. |
Rid |
mapToResourceID(IUriReference ref)
TBD: Description of the Method. |
Rid |
mapToResourceID(IUriReference ref,
UriCodec codec)
TBD: Description of the Method. |
IHierarchicalUri |
setPath(java.lang.String path)
Construct a new object of same type with the given path. |
IHierarchicalUri |
setQuery(java.lang.String query)
Construct a new object of same type with the given query. |
IUriReference |
unresolve(IHierarchicalUri other,
java.lang.String fragment)
Convert the given uri to a relative uri reference with this uri as base. |
| Methods inherited from interface com.sap.netweaver.bc.rf.common.IAbsoluteUri |
getRemainder, getScheme, resolve, toExternalForm |
| Method Detail |
public IHierarchicalUri appendPath(java.lang.String path)
path - TBD: Description of the incoming method parameterpublic java.lang.String getAuthority()
public java.lang.String getPath()
public java.lang.String[] getPathSegments()
public java.lang.String getQuery()
public IHierarchicalUri getRoot()
public boolean isAncestorOf(IHierarchicalUri other)
other - TBD: Description of the incoming method parameter
public IUriReference unresolve(IHierarchicalUri other,
java.lang.String fragment)
other - uri to unresolvefragment - to add to result uri referencepublic Rid mapToResourceID(IUriReference ref)
ref - TBD: Description of the incoming method parameter
public Rid mapToResourceID(IUriReference ref,
UriCodec codec)
ref - TBD: Description of the incoming method parametercodec - TBD: Description of the incoming method parameterpublic IUriReference mapToAbsolutePath(Rid wcmPath)
wcmPath - TBD: Description of the incoming method parameter
public IUriReference mapToAbsolutePath(Rid wcmPath,
UriCodec codec)
wcmPath - TBD: Description of the incoming method parametercodec - TBD: Description of the incoming method parameterpublic IUriReference mapToAbsolutePath(IUriReference ref)
Example: "http://host/docs" + "test%203", gives "/docs/test%203" Example: "http://host/docs" + "http://another/fs/test", gives "http://another/fs/test"
ref - TBD: Description of the incoming method parameterpublic IHierarchicalUri mapToAbsoluteUri(Rid wcmPath)
wcmPath - TBD: Description of the incoming method parameter
public IHierarchicalUri mapToAbsoluteUri(Rid wcmPath,
UriCodec codec)
wcmPath - TBD: Description of the incoming method parametercodec - TBD: Description of the incoming method parameterpublic IHierarchicalUri setQuery(java.lang.String query)
null , the new uri will be without query. The query string
must be in RFC 2396 encoded form. See UriQuery for manipulation of
query strings.query - encoded query string for returned objectpublic IHierarchicalUri setPath(java.lang.String path)
null , the new uri will have the root path /. The path string must
be in RFC 2396 encoded form. See URICodec. The query of the
resulting uri will always be empty.path - encoded path string for returned object
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||