Module ch.qos.logback.core
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
ConstructorDescriptionSaxEventInterpretationContext
(Context context, SaxEventInterpreter saxEventInterpreter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSubstitutionProperty
(String key, String value) getProperty
(String key) If a key is found in propertiesMap then return it.boolean
Return the Model at the top of the model stack, may return null.popModel()
void
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.qos.logback.core.spi.PropertyContainer
addSubstitutionProperties
-
Constructor Details
-
SaxEventInterpretationContext
-
-
Method Details
-
getSaxEventInterpreter
-
peekModel
-
pushModel
-
isModelStackEmpty
-
popModel
-
getCopyOfModelStack
-
addSubstitutionProperty
- Specified by:
addSubstitutionProperty
in interfacePropertyContainer
-
getProperty
If a key is found in propertiesMap then return it. Otherwise, delegate to the context.- Specified by:
getProperty
in interfacePropertyContainer
-
getCopyOfPropertyMap
- Specified by:
getCopyOfPropertyMap
in interfacePropertyContainer
-
subst
-