com.att.research.xacmlatt.pdp.policy.LexicalEnvironment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xacml-pdp Show documentation
Show all versions of xacml-pdp Show documentation
ATT reference implementation of XACML PDP engine
The newest version!
/*
* Copyright (c) 2021, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
package com.att.research.xacmlatt.pdp.policy;
import com.att.research.xacml.api.trace.Traceable;
import java.util.Iterator;
/**
* LexicalEnvironment defines the lexical environment in which an {@link Expression} is defined.
*
* @author ygrignon
*/
public interface LexicalEnvironment extends Traceable {
/**
* Gets an Iterator
over the {@link VariableDefinition}s available in this LexicalEnvironment
.
*
* @return an Iterator
over the VariableDefinition
s in this LexicalEnvironment
*/
Iterator getVariableDefinitions();
/**
* Gets the VariableDefinition
for the given String
variable identifier.
*
* @param variableId the String
variable identifier
* @return the VariableDefinition
with the given String
identifier or null if not found
*/
VariableDefinition getVariableDefinition(String variableId);
}