|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.module.apikit.uri.URIResolveResult
public class URIResolveResult
Holds the results of a URI resolver.
| Nested Class Summary | |
|---|---|
static class |
URIResolveResult.Status
The possible status of a resolve result. |
| Constructor Summary | |
|---|---|
protected |
URIResolveResult(URIPattern pattern)
Constructs an instance of this class with fields initialised to null. |
| Method Summary | |
|---|---|
Object |
get(String name)
Returns the object corresponding to the specified variable name. |
URIResolveResult.Status |
getStatus()
Returns the status of this result. |
URIPattern |
getURIPattern()
Returns the URI Pattern that was used to produce this result. |
Set<String> |
names()
Returns the names of the variables which have been resolved. |
protected void |
put(String name,
Object o)
Puts the object corresponding to the specified variable name in the results. |
protected void |
setStatus(URIResolveResult.Status status)
Sets the status of this result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected URIResolveResult(URIPattern pattern)
| Method Detail |
|---|
public Set<String> names()
names in interface ResolvedVariablespublic Object get(String name)
get in interface ResolvedVariablesname - The name of the variable.
null.public URIResolveResult.Status getStatus()
public URIPattern getURIPattern()
protected void put(String name,
Object o)
name - The name of the variable.o - The corresponding object.protected void setStatus(URIResolveResult.Status status)
status - The status of the result.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||