Class SaxEventInterpretationContext

java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.joran.spi.SaxEventInterpretationContext
All Implemented Interfaces:
ContextAware, PropertyContainer

public class SaxEventInterpretationContext extends ContextAwareBase implements PropertyContainer
An InterpretationContext contains the contextual state of a Joran parsing session. Action objects depend on this context to exchange and store information.
Author:
Ceki Gülcü
  • Constructor Details

  • Method Details

    • getSaxEventInterpreter

      public SaxEventInterpreter getSaxEventInterpreter()
    • peekModel

      public Model peekModel()
      Return the Model at the top of the model stack, may return null.
      Returns:
    • pushModel

      public void pushModel(Model m)
    • isModelStackEmpty

      public boolean isModelStackEmpty()
    • popModel

      public Model popModel()
    • getCopyOfModelStack

      public Stack<Model> getCopyOfModelStack()
    • 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
    • getCopyOfPropertyMap

      public Map<String,String> getCopyOfPropertyMap()
      Specified by:
      getCopyOfPropertyMap in interface PropertyContainer
    • subst

      public String subst(String value)