Package ch.qos.logback.core.joran.spi
Class InterpretationContext
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.joran.spi.InterpretationContext
-
- All Implemented Interfaces:
ContextAware,PropertyContainer
@Deprecated(since="2022-01-27") public class InterpretationContext extends ContextAwareBase implements PropertyContainer
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.An InterpretationContext contains the contextual state of a Joran parsing session.Actionobjects depend on this context to exchange and store information.
-
-
Constructor Summary
Constructors Constructor Description InterpretationContext(Context context, Interpreter joranInterpreter)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddInPlayListener(InPlayListener ipl)Deprecated.voidaddSubstitutionProperties(java.util.Properties props)Deprecated.voidaddSubstitutionProperty(java.lang.String key, java.lang.String value)Deprecated.Add a property to the properties of this execution context.java.util.Map<java.lang.String,java.lang.String>getCopyOfPropertyMap()Deprecated.DefaultNestedComponentRegistrygetDefaultNestedComponentRegistry()Deprecated.InterpretergetJoranInterpreter()Deprecated.org.xml.sax.LocatorgetLocator()Deprecated.java.lang.ObjectgetObject(int i)Deprecated.java.util.Map<java.lang.String,java.lang.Object>getObjectMap()Deprecated.java.util.Stack<java.lang.Object>getObjectStack()Deprecated.java.lang.StringgetProperty(java.lang.String key)Deprecated.If a key is found in propertiesMap then return it.booleanisEmpty()Deprecated.booleanisListenerListEmpty()Deprecated.java.lang.ObjectpeekObject()Deprecated.java.lang.ObjectpopObject()Deprecated.voidpushObject(java.lang.Object o)Deprecated.booleanremoveInPlayListener(InPlayListener ipl)Deprecated.java.lang.Stringsubst(java.lang.String value)Deprecated.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Constructor Detail
-
InterpretationContext
public InterpretationContext(Context context, Interpreter joranInterpreter)
Deprecated.
-
-
Method Detail
-
getDefaultNestedComponentRegistry
public DefaultNestedComponentRegistry getDefaultNestedComponentRegistry()
Deprecated.
-
getCopyOfPropertyMap
public java.util.Map<java.lang.String,java.lang.String> getCopyOfPropertyMap()
Deprecated.- Specified by:
getCopyOfPropertyMapin interfacePropertyContainer
-
getLocator
public org.xml.sax.Locator getLocator()
Deprecated.
-
getJoranInterpreter
public Interpreter getJoranInterpreter()
Deprecated.
-
getObjectStack
public java.util.Stack<java.lang.Object> getObjectStack()
Deprecated.
-
isEmpty
public boolean isEmpty()
Deprecated.
-
peekObject
public java.lang.Object peekObject()
Deprecated.
-
pushObject
public void pushObject(java.lang.Object o)
Deprecated.
-
popObject
public java.lang.Object popObject()
Deprecated.
-
getObject
public java.lang.Object getObject(int i)
Deprecated.
-
getObjectMap
public java.util.Map<java.lang.String,java.lang.Object> getObjectMap()
Deprecated.
-
addSubstitutionProperty
public void addSubstitutionProperty(java.lang.String key, java.lang.String value)Deprecated.Add a property to the properties of this execution context. If the property exists already, it is overwritten.
-
addSubstitutionProperties
public void addSubstitutionProperties(java.util.Properties props)
Deprecated.
-
getProperty
public java.lang.String getProperty(java.lang.String key)
Deprecated.If a key is found in propertiesMap then return it. Otherwise, delegate to the context.- Specified by:
getPropertyin interfacePropertyContainer
-
subst
public java.lang.String subst(java.lang.String value)
Deprecated.
-
isListenerListEmpty
public boolean isListenerListEmpty()
Deprecated.
-
addInPlayListener
public void addInPlayListener(InPlayListener ipl)
Deprecated.
-
removeInPlayListener
public boolean removeInPlayListener(InPlayListener ipl)
Deprecated.
-
-