public class URIResolveResult extends Object implements ResolvedVariables
| Modifier and Type | Class and Description |
|---|---|
static class |
URIResolveResult.Status
The possible status of a resolve result.
|
| Modifier | Constructor and Description |
|---|---|
protected |
URIResolveResult(URIPattern pattern)
Constructs an instance of this class with fields initialised to null.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected URIResolveResult(URIPattern pattern)
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.Copyright © 2021. All rights reserved.