nbi.xmlsec.xacml.builder
Class AttributeDesignatorBuilder

java.lang.Object
  extended bynbi.xmlsec.xacml.builder.AttributeBaseBuilder
      extended bynbi.xmlsec.xacml.builder.AttributeDesignatorBuilder
Direct Known Subclasses:
ActionAttributeDesignatorBuilder, EnvironmentAttributeDesignatorBuilder, ResourceAttributeDesignatorBuilder, SubjectAttributeDesignatorBuilder

public class AttributeDesignatorBuilder
extends AttributeBaseBuilder

Abstract base class for all AttributeDesignator building classes.

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

Field Summary
private  URI id
          The attribute id looked for by this designator
private  URI issuer
          The issuer of the values to search for or null if no issuer is specified
protected  int target
          The type of designator (Subject, Resource, Action, Environment)
 
Fields inherited from class nbi.xmlsec.xacml.builder.AttributeBaseBuilder
mustBePresent, type
 
Constructor Summary
protected AttributeDesignatorBuilder()
           
protected AttributeDesignatorBuilder(int target, String id)
          Creates an AttributeDesignerBuilder based on the type and identifier of the designator to build.
 
Method Summary
 Evaluatable getInstance()
          Createa a new AttributeDesignator instance.
protected  void setId(String id)
          Sets the attribute id.
protected  void setId(URI id)
          Sets the attribute id.
 void setIssuer(String issuer)
          Sets the issuer of the values.
 void setIssuer(URI issuer)
          Sets the issuer of the values.
 
Methods inherited from class nbi.xmlsec.xacml.builder.AttributeBaseBuilder
setMustBePresent, setType, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

protected int target
The type of designator (Subject, Resource, Action, Environment)


id

private URI id
The attribute id looked for by this designator


issuer

private URI issuer
The issuer of the values to search for or null if no issuer is specified

Constructor Detail

AttributeDesignatorBuilder

protected AttributeDesignatorBuilder()

AttributeDesignatorBuilder

protected AttributeDesignatorBuilder(int target,
                                     String id)
Creates an AttributeDesignerBuilder based on the type and identifier of the designator to build.

Parameters:
target - type of the designator
id - the attribute id
Method Detail

getInstance

public Evaluatable getInstance()
Createa a new AttributeDesignator instance.

See Also:
EvaluatableBuilder.getInstance()

setId

protected void setId(URI id)
Sets the attribute id.

Parameters:
id - The attribute id to set.

setId

protected void setId(String id)
Sets the attribute id.

Parameters:
id - The attribute id to set.

setIssuer

public void setIssuer(URI issuer)
Sets the issuer of the values.

Parameters:
issuer - The issuer of the values to set.

setIssuer

public void setIssuer(String issuer)
Sets the issuer of the values.

Parameters:
issuer - The issuer of the values to set.


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