|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnbi.xmlsec.xacml.builder.AbstractPolicyTreeElementBuilder
nbi.xmlsec.xacml.builder.AbstractPolicyBuilder
Abstract base class for all policy building classes.
| Field Summary | |
protected CombiningAlgorithm |
combiningAlg
The combining algorithm to use |
protected String |
defaultVersion
the XPath version to use for selectors |
(package private) static Logger |
logger
|
protected Set |
obligations
The policy's obligations |
protected List |
treeElements
The policy's subelements |
| Fields inherited from class nbi.xmlsec.xacml.builder.AbstractPolicyTreeElementBuilder |
description, identifier, target |
| Constructor Summary | |
protected |
AbstractPolicyBuilder()
Default constructor. |
| Method Summary | |
protected boolean |
add(AbstractPolicyTreeElementBuilder element)
Adds a tree element to this policy. |
boolean |
add(Obligation obligation)
Adds an obligation to the policy's obligations. |
boolean |
add(ObligationBuilder obligation)
Adds an obligation to the policy's obligation set. |
protected boolean |
add(PolicyTreeElement element)
Adds a tree element to this policy. |
boolean |
remove(Obligation obligation)
Removes an obligation from the policy's obligation set. |
protected boolean |
remove(PolicyTreeElement element)
Removes a tree element from this policy. |
void |
setCombiningAlg(CombiningAlgorithm combiningAlg)
Sets the policy's combining algorithm. |
void |
setCombiningAlg(String combiningAlgId)
Sets the policy's combining algorithm. |
void |
setCombiningAlg(URI combiningAlgId)
Sets the policy's combining algorithm. |
void |
setDefaultVersion(String defaultVersion)
Sets the XPath version to use for selectors |
void |
setObligations(Set obligations)
Sets obligations |
protected void |
setTreeElements(List elements)
Sets the treeElements of this policy. |
| Methods inherited from class nbi.xmlsec.xacml.builder.AbstractPolicyTreeElementBuilder |
getInstance, setDescription, setIdentifier, setIdentifier, setTarget, setTarget |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
static Logger logger
protected String defaultVersion
protected CombiningAlgorithm combiningAlg
protected List treeElements
protected Set obligations
| Constructor Detail |
protected AbstractPolicyBuilder()
| Method Detail |
public void setCombiningAlg(CombiningAlgorithm combiningAlg)
combiningAlg - The combining algorithm to set.
public void setCombiningAlg(URI combiningAlgId)
throws UnknownIdentifierException
combiningAlgId - The identifier of the combining algorithm to set.
UnknownIdentifierExceptionCombiningAlgFactory.createAlgorithm(java.net.URI).
public void setCombiningAlg(String combiningAlgId)
throws UnknownIdentifierException
combiningAlgId - The identifier of the combining algorithm to set.
UnknownIdentifierExceptionCombiningAlgFactory.createAlgorithm(java.net.URI).public void setDefaultVersion(String defaultVersion)
defaultVersion - the XPath version to use for selectors.public boolean add(Obligation obligation)
obligation - The policy's obligations to set.
public boolean add(ObligationBuilder obligation)
obligation - The policy's obligation to set.
public boolean remove(Obligation obligation)
obligation - The policy's obligation to remove.
public void setObligations(Set obligations)
obligations - The obligations to set.protected boolean add(PolicyTreeElement element)
element - The tree element to add.
protected boolean add(AbstractPolicyTreeElementBuilder element)
element - The tree element to add.
protected boolean remove(PolicyTreeElement element)
element - The tree element to remove.
protected void setTreeElements(List elements)
elements - The policies to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||