org.weborganic.furi
Class URIResolveResult

java.lang.Object
  extended by org.weborganic.furi.URIResolveResult
All Implemented Interfaces:
ResolvedVariables

public class URIResolveResult
extends Object
implements ResolvedVariables

Holds the results of a URI resolver.

Version:
5 February 2010
Author:
Christophe Lauret

Nested Class Summary
static class URIResolveResult.Status
          The possible status of a resolve result.
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

names

public Set<String> names()
Returns the names of the variables which have been resolved.

Specified by:
names in interface ResolvedVariables
Returns:
The names of the variables which have been resolved.

get

public Object get(String name)
Returns the object corresponding to the specified variable name.

Specified by:
get in interface ResolvedVariables
Parameters:
name - The name of the variable.
Returns:
The object corresponding to the specified variable; may be null.

getStatus

public URIResolveResult.Status getStatus()
Returns the status of this result.

Returns:
The status of this result.

getURIPattern

public URIPattern getURIPattern()
Returns the URI Pattern that was used to produce this result.

Returns:
The URI Pattern that was used to produce this result.