|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.ValueMap
public class ValueMap
Performs many to one mapping of source values to a return value. SourceValue strings may include regular expressions
and the ReturnValue may include back references to capturing groups as supported by Pattern
.
Nested Class Summary | |
---|---|
class |
ValueMap.SourceValue
Represents incoming attribute values and rules used for matching them. |
Constructor Summary | |
---|---|
ValueMap()
Constructor. |
Method Summary | |
---|---|
Set<String> |
evaluate(String attributeValue)
Evaluate an incoming attribute value against this value map. |
String |
getReturnValue()
Gets the return value. |
Collection<ValueMap.SourceValue> |
getSourceValues()
Gets the collection of source values. |
void |
setReturnValue(String newReturnValue)
Sets the return value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueMap()
Method Detail |
---|
public String getReturnValue()
public void setReturnValue(String newReturnValue)
newReturnValue
- the return valuepublic Collection<ValueMap.SourceValue> getSourceValues()
public Set<String> evaluate(String attributeValue)
attributeValue
- incoming attribute value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |