|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nbi.xmlsec.xacml.builder.EvaluatableBuilder nbi.xmlsec.xacml.builder.ApplyBuilder
Base Class to create ConditionTypeBuilder or ApplyTypeBuilder instances.
Field Summary | |
private Function |
bagFunction
the higher-order bag function to use. |
private Function |
function
the Function to use in evaluating the elements in the apply. |
protected boolean |
isCondition
true if this Apply is a Condition, false otherwise. |
static String |
XMLSCHEMA_NAMESPACE
|
Fields inherited from class nbi.xmlsec.xacml.builder.EvaluatableBuilder |
evaluatables, logger |
Constructor Summary | |
protected |
ApplyBuilder()
|
protected |
ApplyBuilder(SyntaxScheme scheme)
Creates an ApplyBuilder instance from a SyntaxScheme . |
Method Summary | |
boolean |
add(Evaluatable eval)
Adds an Evaluatable to the evaluation list. |
boolean |
add(EvaluatableBuilder evalBuilder)
Adds an Evaluatable to the evaluation list. |
Evaluatable |
getInstance()
Creates a a new Apply instance. |
protected void |
parse(SyntaxScheme scheme)
Parsed an ApplyBuilder instance from a SyntaxScheme .
|
boolean |
remove(Evaluatable eval)
Removes an Evaluatable to the evaluation list. |
void |
setBagFunction(Function bagFunction)
Sets the higher-order bag function to use. |
void |
setBagFunction(String expression)
Sets the higher-order bag function to use. |
void |
setFunction(Function function)
Sets the Function to use in evaluating the elements in the apply. |
void |
setFunction(String expression)
Sets the Function to use in evaluating the elements in the apply. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String XMLSCHEMA_NAMESPACE
private Function function
private Function bagFunction
protected boolean isCondition
Constructor Detail |
protected ApplyBuilder()
protected ApplyBuilder(SyntaxScheme scheme) throws ParsingException, UnknownIdentifierException, FunctionTypeException
SyntaxScheme
.
scheme
- SyntaxScheme
to be parsed
ParsingException
UnknownIdentifierException
FunctionTypeException
Method Detail |
protected void parse(SyntaxScheme scheme) throws ParsingException, UnknownIdentifierException, FunctionTypeException
SyntaxScheme
.
It recognises the following new functions:
scheme
- SyntaxScheme
to be parsed
ParsingException
UnknownIdentifierException
FunctionTypeException
public Evaluatable getInstance()
getInstance
in class EvaluatableBuilder
EvaluatableBuilder.getInstance()
public void setBagFunction(String expression) throws UnknownIdentifierException, FunctionTypeException
expression
- The syntax scheme of the bagFunction to set.
FunctionTypeException
UnknownIdentifierException
public void setBagFunction(Function bagFunction)
bagFunction
- The bagFunction to set.public void setFunction(String expression) throws UnknownIdentifierException, FunctionTypeException
expression
- The syntax scheme of the function to set.
FunctionTypeException
UnknownIdentifierException
public void setFunction(Function function)
function
- The function to set.public boolean add(Evaluatable eval)
add
in class EvaluatableBuilder
eval
- Adds an Evaluatable to the evaluation list.
EvaluatableBuilder.add(com.sun.xacml.cond.Evaluatable)
public boolean add(EvaluatableBuilder evalBuilder)
add
in class EvaluatableBuilder
evalBuilder
- The evaluation builder enclosing the evaluatable.
EvaluatableBuilder.add(nbi.xmlsec.xacml.builder.EvaluatableBuilder)
public boolean remove(Evaluatable eval)
remove
in class EvaluatableBuilder
eval
- The evaluatable to remove.
EvaluatableBuilder.remove(com.sun.xacml.cond.Evaluatable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |