public class DefaultMatchingContext extends java.lang.Object implements MatchingContext
| Constructor and Description |
|---|
DefaultMatchingContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContextBinding(java.lang.String name,
java.lang.Object value)
Add a context binding with the given name and value
|
java.lang.Object |
getBinding(java.lang.String contextParameterName)
returns the binding associated with the
given context parameter name (or null if
there is no such context).
|
boolean |
hasContextBinding(java.lang.String contextParameterName)
Returns true iff this matching context has a defined
binding for the given context parameter.
|
void |
removeContextBinding(java.lang.String name)
Remove the context binding with the given name
|
public boolean hasContextBinding(java.lang.String contextParameterName)
MatchingContexthasContextBinding in interface MatchingContextpublic java.lang.Object getBinding(java.lang.String contextParameterName)
MatchingContextgetBinding in interface MatchingContextpublic void addContextBinding(java.lang.String name,
java.lang.Object value)
name - value - public void removeContextBinding(java.lang.String name)
name -