Package ch.qos.logback.core.joran.spi
Class SaxEventInterpretationContext
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.joran.spi.SaxEventInterpretationContext
- All Implemented Interfaces:
ContextAware,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ü
-
Field Summary
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
ConstructorsConstructorDescriptionSaxEventInterpretationContext(Context context, SaxEventInterpreter saxEventInterpreter) -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String key) If a key is found in propertiesMap then return it.booleanReturn the Model at the top of the model stack, may return null.popModel()voidMethods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
SaxEventInterpretationContext
-
-
Method Details
-
getSaxEventInterpreter
-
peekModel
Return the Model at the top of the model stack, may return null.- Returns:
-
pushModel
-
isModelStackEmpty
-
popModel
-
getCopyOfModelStack
-
getProperty
If a key is found in propertiesMap then return it. Otherwise, delegate to the context.- Specified by:
getPropertyin interfacePropertyContainer
-
getCopyOfPropertyMap
- Specified by:
getCopyOfPropertyMapin interfacePropertyContainer
-
subst
-