nbi.xmlsec.xacml.builder
Class StringActionMatchBuilder
java.lang.Object
nbi.xmlsec.xacml.builder.TargetMatchBuilder
nbi.xmlsec.xacml.builder.ActionMatchBuilder
nbi.xmlsec.xacml.builder.StringActionMatchBuilder
- public class StringActionMatchBuilder
- extends ActionMatchBuilder
Implements an ActionMatchBuilder for String attributes.
- Since:
- Version:
- $Revision: 1.1 $
- Author:
- Lutz Suhrbier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringActionMatchBuilder
public StringActionMatchBuilder()
StringActionMatchBuilder
public StringActionMatchBuilder(String action,
boolean match)
- Creates the instance.
- Parameters:
action
- The String resource to match.match
- true
, selects the
MatchFunction.NAME_REGEXP_STRING_MATCH
function, false
EqualFunction.NAME_STRING_EQUAL
.
StringActionMatchBuilder
public StringActionMatchBuilder(String action)
- Creates the instance and selects the
EqualFunction.NAME_STRING_EQUAL
.
- Parameters:
action
- The String action to match.
setAttribute
public void setAttribute(String attr)
- Sets an String attribute.
- Parameters:
attr
- The String attribute.
createMatchValue
public AttributeValue createMatchValue()
- Creates the attribute match value from the attribute.
- Overrides:
createMatchValue
in class ActionMatchBuilder
- Returns:
- The created attribute value.
Copyright © 2006 Lutz Suhrbier, Freie Universität Berlin. All Rights Reserved.