|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.sentinel.uri.GenericURI.Query
public static class GenericURI.Query
A class supported the generic query string specified by RFC 3986.
Field Summary | |
---|---|
static PercentCodex |
QUERY_CODEX
|
Constructor Summary | |
---|---|
GenericURI.Query()
Construct an empty instance. |
|
GenericURI.Query(GenericURI.Query src)
Make a deep copy of the passed instance. |
|
GenericURI.Query(String rawQuery)
Construct a query based on the passed, encoded raw string. |
Method Summary | |
---|---|
String |
getQuery()
Get the decoded, literal query string, if any. |
String |
getRaw()
Get the raw, unparsed, un-decoded string used to construct or set the data in this instance. |
boolean |
isEmpty()
Return true if there is no data associated with this instance. |
protected void |
parse(String queryString)
|
void |
set(String rawString)
Set the query data based on the passed raw string. |
void |
setQuery(String literalString)
Set the query data based on the passed literal (unencoded) string. |
protected void |
setRaw(String rawQuery)
Set the raw string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PercentCodex QUERY_CODEX
Constructor Detail |
---|
public GenericURI.Query()
public GenericURI.Query(String rawQuery)
rawQuery
- The raw string.public GenericURI.Query(GenericURI.Query src)
src
- The instance to copy.Method Detail |
---|
public boolean isEmpty()
public void set(String rawString)
rawString
- The raw string.public void setQuery(String literalString)
literalString
- public String getQuery()
public String getRaw()
protected void setRaw(String rawQuery)
rawQuery
- The string to set, or null.protected void parse(String queryString)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |