nbi.xmlsec.xacml.builder
Class ResourceMatchBuilder

java.lang.Object
  extended bynbi.xmlsec.xacml.builder.TargetMatchBuilder
      extended bynbi.xmlsec.xacml.builder.ResourceMatchBuilder
Direct Known Subclasses:
RoleResourceMatchBuilder, StringResourceMatchBuilder

public class ResourceMatchBuilder
extends TargetMatchBuilder

Class to create ResourceMatch instances.

Since:
Version:
$Revision: 1.5 $
Author:
Lutz Suhrbier

Field Summary
 
Fields inherited from class nbi.xmlsec.xacml.builder.TargetMatchBuilder
attribute, eval, function, type
 
Constructor Summary
ResourceMatchBuilder(String matchFunction)
          Sets the function used to do the matching.
ResourceMatchBuilder(URI matchFunction)
          Sets the function used to do the matching.
 
Method Summary
 AttributeValue createMatchValue()
          Creates the attribute match value from the attribute.
 
Methods inherited from class nbi.xmlsec.xacml.builder.TargetMatchBuilder
getInstance, setAttribute, setMatchEvaluatable, setMatchEvaluatable, setMatchFunction, setMatchFunction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceMatchBuilder

public ResourceMatchBuilder(String matchFunction)
Sets the function used to do the matching.

Parameters:
matchFunction - FunctionId.
Throws:
UnknownIdentifierException
FunctionTypeException
See Also:
FunctionFactory.createFunction(java.lang.String), FunctionFactory.createFunction(java.lang.String)

ResourceMatchBuilder

public ResourceMatchBuilder(URI matchFunction)
Sets the function used to do the matching.

Parameters:
matchFunction - FunctionId.
Throws:
UnknownIdentifierException
FunctionTypeException
See Also:
FunctionFactory.createFunction(java.lang.String), FunctionFactory.createFunction(java.lang.String)
Method Detail

createMatchValue

public AttributeValue createMatchValue()
Description copied from class: TargetMatchBuilder
Creates the attribute match value from the attribute.

Specified by:
createMatchValue in class TargetMatchBuilder
Returns:
The created attribute value.
See Also:
TargetMatchBuilder.createMatchValue()


Copyright © 2006 Lutz Suhrbier, Freie Universität Berlin. All Rights Reserved.