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
ConstructorsConstructorDescriptionSaxEventInterpretationContext(Context context, SaxEventInterpreter saxEventInterpreter) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubstitutionProperty(String key, String value) getProperty(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, setContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.qos.logback.core.spi.PropertyContainer
addSubstitutionProperties
-
Constructor Details
-
SaxEventInterpretationContext
-
-
Method Details
-
getSaxEventInterpreter
-
peekModel
-
pushModel
-
isModelStackEmpty
-
popModel
-
getCopyOfModelStack
-
addSubstitutionProperty
- Specified by:
addSubstitutionPropertyin interfacePropertyContainer
-
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
-