org.openarchitectureware.xpand2
Class XpandExecutionContextImpl
java.lang.Object
org.openarchitectureware.expression.ExecutionContextImpl
org.openarchitectureware.xpand2.XpandExecutionContextImpl
- All Implemented Interfaces:
- ExecutionContext, TypeSystem, XpandExecutionContext
public class XpandExecutionContextImpl
- extends ExecutionContextImpl
- implements XpandExecutionContext
*
- Author:
- Sven Efftinge (http://www.efftinge.de) *
Constructor Summary |
|
XpandExecutionContextImpl(Output output,
ProtectedRegionResolver prs)
|
|
XpandExecutionContextImpl(Output output,
ProtectedRegionResolver prs,
java.util.Map<java.lang.String,Variable> globalVars,
ExceptionHandler exceptionHandler,
NullEvaluationHandler nullEvaluationHandler)
|
protected |
XpandExecutionContextImpl(ResourceManager resourceManager,
Resource currentResource,
TypeSystemImpl typeSystem,
java.util.Map<java.lang.String,Variable> vars,
java.util.Map<java.lang.String,Variable> globalVars,
Output output,
ProtectedRegionResolver protectedRegionResolver,
ProgressMonitor monitor,
ExceptionHandler exceptionHandler,
java.util.List<Around> advices,
NullEvaluationHandler nullEvaluationHandler,
java.util.Map<Resource,java.util.Set<Extension>> allExtensionsPerResource,
Callback callback)
|
protected |
XpandExecutionContextImpl(TypeSystemImpl ts,
Output output,
ProtectedRegionResolver prs,
java.util.Map<java.lang.String,Variable> globalVars,
ExceptionHandler exceptionHandler,
NullEvaluationHandler nullEvaluationHandler)
|
Methods inherited from class org.openarchitectureware.expression.ExecutionContextImpl |
cloneWithoutMonitor, cloneWithoutResource, cloneWithoutVariables, cloneWithResource, cloneWithVariable, currentResource, findOperation, findProperty, findTypesForPrefix, getAllExtensions, getAllTypes, getBooleanType, getCallback, getCollectionType, getExtension, getExtensionAdvices, getExtensionForTypes, getFeatureType, getGlobalVariables, getImportedNamespaces, getIntegerType, getListType, getMonitor, getNamespaces, getObjectType, getOperationType, getPropertyType, getRealType, getResourceManager, getSetType, getStaticPropertyType, getStringType, getType, getTypeForName, getTypeType, getVariable, getVisibleVariables, getVoidType, handleNullEvaluation, handleRuntimeException, postTask, preTask, registerExtensionAdvices, registerMetaModel, release, setMonitor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.openarchitectureware.expression.ExecutionContext |
cloneWithoutMonitor, cloneWithoutResource, cloneWithoutVariables, cloneWithResource, cloneWithVariable, currentResource, getAllExtensions, getCallback, getExtension, getExtensionAdvices, getExtensionForTypes, getGlobalVariables, getMonitor, getResourceManager, getVariable, getVisibleVariables, handleNullEvaluation, handleRuntimeException, postTask, preTask |
Methods inherited from interface org.openarchitectureware.expression.TypeSystem |
findOperation, findProperty, findTypesForPrefix, getAllTypes, getBooleanType, getCollectionType, getFeatureType, getIntegerType, getListType, getNamespaces, getObjectType, getOperationType, getPropertyType, getRealType, getSetType, getStaticPropertyType, getStringType, getType, getTypeForName, getTypeType, getVoidType, release |
output
protected final Output output
protectedRegionResolver
protected final ProtectedRegionResolver protectedRegionResolver
XpandExecutionContextImpl
public XpandExecutionContextImpl(Output output,
ProtectedRegionResolver prs)
XpandExecutionContextImpl
public XpandExecutionContextImpl(Output output,
ProtectedRegionResolver prs,
java.util.Map<java.lang.String,Variable> globalVars,
ExceptionHandler exceptionHandler,
NullEvaluationHandler nullEvaluationHandler)
XpandExecutionContextImpl
protected XpandExecutionContextImpl(TypeSystemImpl ts,
Output output,
ProtectedRegionResolver prs,
java.util.Map<java.lang.String,Variable> globalVars,
ExceptionHandler exceptionHandler,
NullEvaluationHandler nullEvaluationHandler)
XpandExecutionContextImpl
protected XpandExecutionContextImpl(ResourceManager resourceManager,
Resource currentResource,
TypeSystemImpl typeSystem,
java.util.Map<java.lang.String,Variable> vars,
java.util.Map<java.lang.String,Variable> globalVars,
Output output,
ProtectedRegionResolver protectedRegionResolver,
ProgressMonitor monitor,
ExceptionHandler exceptionHandler,
java.util.List<Around> advices,
NullEvaluationHandler nullEvaluationHandler,
java.util.Map<Resource,java.util.Set<Extension>> allExtensionsPerResource,
Callback callback)
cloneContext
public XpandExecutionContextImpl cloneContext()
- Overrides:
cloneContext
in class ExecutionContextImpl
getAllDefinitions
public java.util.List<XpandDefinition> getAllDefinitions()
- Specified by:
getAllDefinitions
in interface XpandExecutionContext
findDefinition
public XpandDefinition findDefinition(java.lang.String name,
Type target,
Type[] paramTypes)
- Specified by:
findDefinition
in interface XpandExecutionContext
registerAdvices
public void registerAdvices(java.lang.String fullyQualifiedName)
getProtectedRegionResolver
public ProtectedRegionResolver getProtectedRegionResolver()
- Specified by:
getProtectedRegionResolver
in interface XpandExecutionContext
getOutput
public Output getOutput()
- Specified by:
getOutput
in interface XpandExecutionContext
findTemplate
public XpandResource findTemplate(java.lang.String templateName)
- Specified by:
findTemplate
in interface XpandExecutionContext
findTemplate
public XpandResource findTemplate(java.lang.String templateName,
java.lang.String[] importedNs)
setFileEncoding
public void setFileEncoding(java.lang.String fileEncoding)
- Overrides:
setFileEncoding
in class ExecutionContextImpl
setResourceManager
public void setResourceManager(ResourceManager resourceManager)
setCallBack
public void setCallBack(Callback callback)