org.eclipse.xpand2
Class XpandExecutionContextImpl

java.lang.Object
  extended by ExecutionContextImpl
      extended by org.eclipse.xpand2.XpandExecutionContextImpl
All Implemented Interfaces:
XpandExecutionContext
Direct Known Subclasses:
XpandPluginExecutionContext

public class XpandExecutionContextImpl
extends ExecutionContextImpl
implements XpandExecutionContext

*


Nested Class Summary
 class XpandExecutionContextImpl.DefinitionOperationAdapter
           
 
Field Summary
protected  Output output
           
protected  org.eclipse.internal.xpand2.pr.ProtectedRegionResolver protectedRegionResolver
           
 
Constructor Summary
  XpandExecutionContextImpl(Output output, org.eclipse.internal.xpand2.pr.ProtectedRegionResolver prs)
           
  XpandExecutionContextImpl(Output output, org.eclipse.internal.xpand2.pr.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, org.eclipse.internal.xpand2.pr.ProtectedRegionResolver protectedRegionResolver, org.eclipse.emf.mwe.core.monitor.ProgressMonitor monitor, ExceptionHandler exceptionHandler, java.util.List<Around> advices, NullEvaluationHandler nullEvaluationHandler, java.util.Map<Resource,java.util.Set<Extension>> allExtensionsPerResource, Callback callback,  extensionsForNameAndTypesCache, java.util.Map<,Type> extensionsReturnTypeCache)
           
protected XpandExecutionContextImpl(TypeSystemImpl ts, Output output, org.eclipse.internal.xpand2.pr.ProtectedRegionResolver prs, java.util.Map<java.lang.String,Variable> globalVars, ExceptionHandler exceptionHandler, NullEvaluationHandler nullEvaluationHandler)
           
 
Method Summary
 ExecutionContextImpl cloneContext()
           
 org.eclipse.internal.xpand2.model.XpandDefinition findDefinition(java.lang.String name, Type target, Type[] paramTypes)
           
 org.eclipse.internal.xpand2.model.XpandResource findTemplate(java.lang.String templateName)
           
 org.eclipse.internal.xpand2.model.XpandResource findTemplate(java.lang.String templateName, java.lang.String[] importedNs)
           
 java.util.List<org.eclipse.internal.xpand2.model.XpandDefinition> getAllDefinitions()
           
 Output getOutput()
           
 org.eclipse.internal.xpand2.pr.ProtectedRegionResolver getProtectedRegionResolver()
           
 void registerAdvices(java.lang.String fullyQualifiedName)
           
 void setFileEncoding(java.lang.String fileEncoding)
           
 void setResourceManager(ResourceManager resourceManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

output

protected final Output output

protectedRegionResolver

protected final org.eclipse.internal.xpand2.pr.ProtectedRegionResolver protectedRegionResolver
Constructor Detail

XpandExecutionContextImpl

public XpandExecutionContextImpl(Output output,
                                 org.eclipse.internal.xpand2.pr.ProtectedRegionResolver prs)

XpandExecutionContextImpl

public XpandExecutionContextImpl(Output output,
                                 org.eclipse.internal.xpand2.pr.ProtectedRegionResolver prs,
                                 java.util.Map<java.lang.String,Variable> globalVars,
                                 ExceptionHandler exceptionHandler,
                                 NullEvaluationHandler nullEvaluationHandler)

XpandExecutionContextImpl

protected XpandExecutionContextImpl(TypeSystemImpl ts,
                                    Output output,
                                    org.eclipse.internal.xpand2.pr.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,
                                    org.eclipse.internal.xpand2.pr.ProtectedRegionResolver protectedRegionResolver,
                                    org.eclipse.emf.mwe.core.monitor.ProgressMonitor monitor,
                                    ExceptionHandler exceptionHandler,
                                    java.util.List<Around> advices,
                                    NullEvaluationHandler nullEvaluationHandler,
                                    java.util.Map<Resource,java.util.Set<Extension>> allExtensionsPerResource,
                                    Callback callback,
                                     extensionsForNameAndTypesCache,
                                    java.util.Map<,Type> extensionsReturnTypeCache)
Method Detail

cloneContext

public ExecutionContextImpl cloneContext()

getAllDefinitions

public java.util.List<org.eclipse.internal.xpand2.model.XpandDefinition> getAllDefinitions()
Specified by:
getAllDefinitions in interface XpandExecutionContext

findDefinition

public org.eclipse.internal.xpand2.model.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 org.eclipse.internal.xpand2.pr.ProtectedRegionResolver getProtectedRegionResolver()
Specified by:
getProtectedRegionResolver in interface XpandExecutionContext

getOutput

public Output getOutput()
Specified by:
getOutput in interface XpandExecutionContext

findTemplate

public org.eclipse.internal.xpand2.model.XpandResource findTemplate(java.lang.String templateName)
Specified by:
findTemplate in interface XpandExecutionContext

findTemplate

public org.eclipse.internal.xpand2.model.XpandResource findTemplate(java.lang.String templateName,
                                                                    java.lang.String[] importedNs)

setFileEncoding

public void setFileEncoding(java.lang.String fileEncoding)

setResourceManager

public void setResourceManager(ResourceManager resourceManager)

Copyright 2007 committers of openArchitectureWare and others.
All Rights Reserved.