nbi.xmlsec.xacml.builder
Class StringResourceMatchBuilder
java.lang.Object
nbi.xmlsec.xacml.builder.TargetMatchBuilder
nbi.xmlsec.xacml.builder.ResourceMatchBuilder
nbi.xmlsec.xacml.builder.StringResourceMatchBuilder
- public class StringResourceMatchBuilder
- extends ResourceMatchBuilder
Implements an ResourceMatchBuilder 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 |
StringResourceMatchBuilder
public StringResourceMatchBuilder()
StringResourceMatchBuilder
public StringResourceMatchBuilder(String resource,
boolean match)
- Creates the instance.
- Parameters:
resource
- The String resource to match.match
- true
, selects the
MatchFunction.NAME_REGEXP_STRING_MATCH
function, false
EqualFunction.NAME_STRING_EQUAL
.
StringResourceMatchBuilder
public StringResourceMatchBuilder(String resource)
- Creates the instance and selects the
EqualFunction.NAME_STRING_EQUAL
.
- Parameters:
resource
- The String resource 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 ResourceMatchBuilder
- Returns:
- The created attribute value.
- See Also:
TargetMatchBuilder.createMatchValue()
Copyright © 2006 Lutz Suhrbier, Freie Universität Berlin. All Rights Reserved.