Class InterpretationContext

    • Constructor Detail

      • InterpretationContext

        public InterpretationContext​(Context context,
                                     Interpreter joranInterpreter)
    • Method Detail

      • getLocator

        public Locator getLocator()
      • getJoranInterpreter

        public Interpreter getJoranInterpreter()
      • getObjectStack

        public Stack<Object> getObjectStack()
      • isEmpty

        public boolean isEmpty()
      • peekObject

        public Object peekObject()
      • pushObject

        public void pushObject​(Object o)
      • popObject

        public Object popObject()
      • getObject

        public Object getObject​(int i)
      • addSubstitutionProperty

        public void addSubstitutionProperty​(String key,
                                            String value)
        Add a property to the properties of this execution context. If the property exists already, it is overwritten.
      • addSubstitutionProperties

        public void addSubstitutionProperties​(Properties props)
      • getProperty

        public String getProperty​(String key)
        If a key is found in propertiesMap then return it. Otherwise, delegate to the context.
        Specified by:
        getProperty in interface PropertyContainer
      • isListenerListEmpty

        public boolean isListenerListEmpty()
      • addInPlayListener

        public void addInPlayListener​(InPlayListener ipl)
      • removeInPlayListener

        public boolean removeInPlayListener​(InPlayListener ipl)