Class NamespaceAwareState

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.Logable, edu.uiuc.ncsa.security.util.scripting.StateInterface, Serializable
    Direct Known Subclasses:
    VariableState

    public abstract class NamespaceAwareState
    extends ModuleState
    This adds the namespace resolution awareness to the state object.

    Created by Jeff Gaynor
    on 2/2/20 at 6:40 AM

    See Also:
    Serialized Form
    • Field Detail

      • NS_DELIMITER

        public static final String NS_DELIMITER
        Delimiter for namespaces. Change this and you will probably break then entire system...
        See Also:
        Constant Field Values
      • RESERVED_NAMESPACE

        public static List<String> RESERVED_NAMESPACE
    • Constructor Detail

      • NamespaceAwareState

        public NamespaceAwareState​(VStack vStack,
                                   OpEvaluator opEvaluator,
                                   MetaEvaluator metaEvaluator,
                                   MTStack mTemplates,
                                   MIStack mInstances,
                                   edu.uiuc.ncsa.security.core.util.MyLoggingFacade myLoggingFacade)
    • Method Detail

      • getAlias

        public String getAlias​(String variable)
        This assumes that there is an alias, so it us not a local name, e.g. #name or unqualified.
        Parameters:
        variable -
        Returns:
      • getUNQName

        public String getUNQName​(String variable)