Interface VariableReference<V extends Value>
-
- Type Parameters:
V
- reference evaluation's return type
- All Superinterfaces:
Expression<V>
public interface VariableReference<V extends Value> extends Expression<V>
Variable reference, i.e. reference to a variable definition. Variables are simply Expressions identified by an ID (VariableId) and replace original XACML VariableReferences for actual evaluation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getVariableId()
Returns referenced XACML Variable ID (declared in VariableDefinition)net.sf.saxon.s9api.QName
getXPathVariableName()
Returns the XPath-compatible variable name, usinggetVariableId()
as localName.-
Methods inherited from interface org.ow2.authzforce.core.pdp.api.expression.Expression
evaluate, getReturnType, getValue
-
-
-
-
Method Detail
-
getVariableId
String getVariableId()
Returns referenced XACML Variable ID (declared in VariableDefinition)- Returns:
- referenced XACML Variable ID (declared in VariableDefinition)
-
getXPathVariableName
net.sf.saxon.s9api.QName getXPathVariableName()
Returns the XPath-compatible variable name, usinggetVariableId()
as localName. Therefore, the XACML VariableId must not contain a colon.- Returns:
- XPath variable name (XACML VariableId used as localName in the QName)
-
-