public class UriReference extends Object implements IUriReference
Copyright (c) SAP AG 2001-2003
Constructor and Description |
---|
UriReference(IAbsoluteUri uri,
String fragmentIdentifier)
Construct new absolute uri reference.
|
UriReference(IUriReference reference,
String fragmentIdentifier)
Construct object of class UriReference.
|
UriReference(String path,
String query,
String fragment)
Construct new relative uri reference without authority and scheme.
|
UriReference(String authority,
String path,
String query,
String fragment)
Construct new relative uri reference without scheme.
|
UriReference(String scheme,
String authority,
String path,
String query,
String fragment)
Construct new relative uri reference with scheme.
|
Modifier and Type | Method and Description |
---|---|
IUriReference |
appendPath(String path)
TBD: Description of the Method.
|
boolean |
equals(IUriReference other) |
boolean |
equals(Object other) |
boolean |
equals(UriReference other) |
String |
getAuthority()
Get the authority of the reference
|
String |
getFragmentIdentifier()
Get the fragment identifier (without '#') of the uri
|
String |
getPath()
Get the path of the reference
|
String |
getQuery()
Get the query of the reference
|
String |
getScheme()
Get the scheme of the reference
|
IAbsoluteUri |
getUri()
Get the uri if the reference is absolute
|
int |
hashCode()
TBD: Description of the Method.
|
boolean |
isAbsolute()
Determine if the reference is absolute
|
IUriReference |
resolveWith(IAbsoluteUri base)
With base Uri, resolve this reference to an absolute reference.
|
IUriReference |
setQuery(String query)
Set the query attribute of the UriReference object.
|
String |
toExternalForm()
TBD: Description of the Method.
|
String |
toString()
TBD: Description of the Method.
|
public UriReference(IAbsoluteUri uri, String fragmentIdentifier)
uri
- the absolute urifragmentIdentifier
- the fragment of the uri referencepublic UriReference(String path, String query, String fragment)
path
- the path of the reference or emptyfragment
- used in reference of nullquery
- TBD: Description of the incoming method parameterpublic UriReference(String authority, String path, String query, String fragment)
authority
- of the relative uri referencepath
- the path of the reference or emptyfragment
- used in reference of nullquery
- TBD: Description of the incoming method parameterpublic UriReference(String scheme, String authority, String path, String query, String fragment) throws IllegalArgumentException
scheme
- of the relative uri referenceauthority
- of the relative uri referencepath
- the path of the reference or emptyfragment
- used in reference of nullquery
- TBD: Description of the incoming method parameterIllegalArgumentException
- Exception raised in failure situation
throws ArgumentNotValidException if both scheme and authority
are not nullpublic UriReference(IUriReference reference, String fragmentIdentifier)
reference
- TBD: Description of the incoming method parameterfragmentIdentifier
- TBD: Description of the incoming method parameterpublic IUriReference appendPath(String path)
appendPath
in interface IUriReference
path
- TBD: Description of the incoming method parameterpublic IUriReference setQuery(String query)
setQuery
in interface IUriReference
query
- The new query valuepublic boolean equals(IUriReference other)
public boolean equals(UriReference other)
public int hashCode()
public String toExternalForm()
toExternalForm
in interface IUriReference
public String toString()
public String getFragmentIdentifier()
getFragmentIdentifier
in interface IUriReference
public String getScheme()
getScheme
in interface IUriReference
public String getAuthority()
getAuthority
in interface IUriReference
public String getPath()
getPath
in interface IUriReference
public String getQuery()
getQuery
in interface IUriReference
public IAbsoluteUri getUri()
getUri
in interface IUriReference
public boolean isAbsolute()
isAbsolute
in interface IUriReference
public IUriReference resolveWith(IAbsoluteUri base)
resolveWith
in interface IUriReference
base
- uri to resolve this reference withAccess 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 2018 SAP AG Complete Copyright Notice