Top Description Fields Constructors Methods
ch.qos.logback.core.joran.spi

public Class SaxEventInterpretationContext

extends ContextAwareBase
implements PropertyContainer
Class Inheritance
All Implemented Interfaces
ch.qos.logback.core.spi.PropertyContainer
Imports
java.util.Map, .Stack, ch.qos.logback.core.Context, ch.qos.logback.core.joran.action.Action, ch.qos.logback.core.model.Model, ch.qos.logback.core.spi.ContextAwareBase, .PropertyContainer, .ScanException, ch.qos.logback.core.util.OptionHelper

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ü

Field Summary

Modifier and TypeField and Description
pack-priv Stack<Model>
pack-priv SaxEventInterpreter
Inherited from ch.qos.logback.core.spi.ContextAwareBase:
context

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public Stack<Model>
public Map<String, String>
public String
getProperty(String key)

Implements ch.qos.logback.core.spi.PropertyContainer.getProperty.

If a key is found in propertiesMap then return it.
public SaxEventInterpreter
public boolean
public Model
peekModel()

Return the Model at the top of the model stack, may return null.

public Model
public void
public String
subst(String value)

Inherited from ch.qos.logback.core.spi.ContextAwareBase:
addErroraddErroraddInfoaddInfoaddStatusaddWarnaddWarngetContextgetDeclaredOrigingetStatusManagersetContext

Field Detail

modelStackback to summary
pack-priv Stack<Model> modelStack
saxEventInterpreterback to summary
pack-priv SaxEventInterpreter saxEventInterpreter

Constructor Detail

SaxEventInterpretationContextback to summary
public SaxEventInterpretationContext(Context context, SaxEventInterpreter saxEventInterpreter)

Method Detail

addSubstitutionPropertyback to summary
public void addSubstitutionProperty(String key, String value)

Implements ch.qos.logback.core.spi.PropertyContainer.addSubstitutionProperty.

getCopyOfModelStackback to summary
public Stack<Model> getCopyOfModelStack()
getCopyOfPropertyMapback to summary
public Map<String, String> getCopyOfPropertyMap()

Implements ch.qos.logback.core.spi.PropertyContainer.getCopyOfPropertyMap.

getPropertyback to summary
public String getProperty(String key)

Implements ch.qos.logback.core.spi.PropertyContainer.getProperty.

If a key is found in propertiesMap then return it. Otherwise, delegate to the context.

getSaxEventInterpreterback to summary
public SaxEventInterpreter getSaxEventInterpreter()
isModelStackEmptyback to summary
public boolean isModelStackEmpty()
peekModelback to summary
public Model peekModel()

Return the Model at the top of the model stack, may return null.

popModelback to summary
public Model popModel()
pushModelback to summary
public void pushModel(Model m)
substback to summary
public String subst(String value)