|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.netweaver.bc.rf.common.UriQuery
public final class UriQuery
Manages query parameters for RFC 2396 uris.
Copyright (c) SAP AG 2001-2002
| Nested Class Summary | |
|---|---|
static class |
UriQuery.Parameter
Keeps one query parameter. |
| Constructor Summary | |
|---|---|
UriQuery()
Construct an empty query. |
|
| Method Summary | |
|---|---|
void |
add(String name,
String value)
Adds a new parameter to the end of the query |
void |
clear()
Remove all parameters from the query. |
UriQuery.Parameter |
get(int index)
Get the Parameter at given index |
Iterator |
iterator()
Get iterator to iterate over all parameters |
void |
remove(String name)
Removes all occurances of parameter with given name. |
void |
set(List parameter)
Sets query to given list of parameters. |
void |
set(String name,
String value)
Sets first occurance of parameter name to given value. |
int |
size()
Return number of parameters. |
String |
toExternalForm()
Convert query back to its RFC 2396 encoded form. |
String |
toString()
TBD: Description of the Method. |
static UriQuery |
valueOf(String query)
Get an object for manipulating the given query string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UriQuery()
| Method Detail |
|---|
public static UriQuery valueOf(String query)
query - the query from an uri
public String toString()
toString in class Objectpublic String toExternalForm()
public void add(String name,
String value)
name - of parametervalue - of parameter or null if not presentpublic void remove(String name)
name - to removepublic void clear()
public Iterator iterator()
UriQuery.Parameters
public void set(String name,
String value)
name - of parametervalue - of parameter or null if not presentpublic void set(List parameter)
parameter - TBD: Description of the incoming method parameterpublic int size()
public UriQuery.Parameter get(int index)
throws IndexOutOfBoundsException
index - of parameter to get
IndexOutOfBoundsException - when index not available| 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
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||