nbi.xmlsec.xacml.builder
Class TargetBuilder

java.lang.Object
  extended bynbi.xmlsec.xacml.builder.TargetBuilder
All Implemented Interfaces:
XACMLObjectBuilder

public class TargetBuilder
extends Object
implements XACMLObjectBuilder

Class to create rule instances.

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

Field Summary
(package private)  List actions
          List containing the actions of the Target
(package private) static Logger logger
           
(package private)  List resources
          List containing the resources of the Target
(package private)  List subjects
          List containing the subjects of the Target
 
Constructor Summary
TargetBuilder()
           
 
Method Summary
 boolean add(TargetMatch match)
          Add a TargetMatch to the corresponding list.
 boolean add(TargetMatchBuilder matchBuilder)
          Add the instance of a TargetMatchBuilder to the corresponding list.
 Target getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static Logger logger

subjects

List subjects
List containing the subjects of the Target


resources

List resources
List containing the resources of the Target


actions

List actions
List containing the actions of the Target

Constructor Detail

TargetBuilder

public TargetBuilder()
Method Detail

getInstance

public Target getInstance()

add

public boolean add(TargetMatch match)
Add a TargetMatch to the corresponding list. The adequate list is identified on the type of the target match.

Parameters:
match - the target match to add
Returns:
true, if the match was succesfully added, false otherwise.

add

public boolean add(TargetMatchBuilder matchBuilder)
Add the instance of a TargetMatchBuilder to the corresponding list. The adequate list is identified on the type of the target match.

Parameters:
matchBuilder - the target match (builder) to add
Returns:
true, if the match (builder) was succesfully added, false otherwise.


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