public class InterpretationContext extends ContextAwareBase implements PropertyContainer
Action
objects depend on this context to exchange and store
information.Constructor and Description |
---|
InterpretationContext(Context context,
Interpreter joranInterpreter) |
Modifier and Type | Method and Description |
---|---|
void |
addInPlayListener(InPlayListener ipl) |
void |
addSubstitutionProperties(java.util.Properties props) |
void |
addSubstitutionProperty(java.lang.String key,
java.lang.String value)
Add a property to the properties of this execution context.
|
java.util.Map<java.lang.String,java.lang.String> |
getCopyOfPropertyMap() |
DefaultNestedComponentRegistry |
getDefaultNestedComponentRegistry() |
Interpreter |
getJoranInterpreter() |
org.xml.sax.Locator |
getLocator() |
java.lang.Object |
getObject(int i) |
java.util.Map<java.lang.String,java.lang.Object> |
getObjectMap() |
java.util.Stack<java.lang.Object> |
getObjectStack() |
java.lang.String |
getProperty(java.lang.String key)
If a key is found in propertiesMap then return it.
|
boolean |
isEmpty() |
boolean |
isListenerListEmpty() |
java.lang.Object |
peekObject() |
java.lang.Object |
popObject() |
void |
pushObject(java.lang.Object o) |
boolean |
removeInPlayListener(InPlayListener ipl) |
java.lang.String |
subst(java.lang.String value) |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
public InterpretationContext(Context context, Interpreter joranInterpreter)
public DefaultNestedComponentRegistry getDefaultNestedComponentRegistry()
public java.util.Map<java.lang.String,java.lang.String> getCopyOfPropertyMap()
getCopyOfPropertyMap
in interface PropertyContainer
public org.xml.sax.Locator getLocator()
public Interpreter getJoranInterpreter()
public java.util.Stack<java.lang.Object> getObjectStack()
public boolean isEmpty()
public java.lang.Object peekObject()
public void pushObject(java.lang.Object o)
public java.lang.Object popObject()
public java.lang.Object getObject(int i)
public java.util.Map<java.lang.String,java.lang.Object> getObjectMap()
public void addSubstitutionProperty(java.lang.String key, java.lang.String value)
public void addSubstitutionProperties(java.util.Properties props)
public java.lang.String getProperty(java.lang.String key)
getProperty
in interface PropertyContainer
public java.lang.String subst(java.lang.String value)
public boolean isListenerListEmpty()
public void addInPlayListener(InPlayListener ipl)
public boolean removeInPlayListener(InPlayListener ipl)
Copyright © 2010 - 2020 Adobe. All Rights Reserved