public class EmbedCompilationUnitFactory extends Object
| Constructor and Description |
|---|
EmbedCompilationUnitFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
collectEmbedDatas(ICompilerProject project,
IFileNodeAccumulator fileNode,
Set<EmbedData> embeds,
Collection<ICompilerProblem> problems)
Collect any embed datas in the file
|
static EmbedCompilationUnit |
getCompilationUnit(CompilerProject project,
String containingSourceFilename,
ISourceLocation location,
IMetaTagAttribute[] attributes,
Collection<ICompilerProblem> problems)
Return an EmbedCompilationUnit based on information from the EmbedData.
|
static EmbedData |
getEmbedData(CompilerProject project,
String specifiedQName,
String containingSourceFilename,
ISourceLocation location,
IMetaTagAttribute[] attributes,
Collection<ICompilerProblem> problems)
Return an EmbedData based on information from the meta data attributes.
|
public static EmbedCompilationUnit getCompilationUnit(CompilerProject project, String containingSourceFilename, ISourceLocation location, IMetaTagAttribute[] attributes, Collection<ICompilerProblem> problems) throws InterruptedException
project - Project to resolve againstcontainingSourceFilename - Filename from which the embed meta data comes fromlocation - Location from which the embed meta data comes fromattributes - Array of IMetaTagAttributeproblems - Any problems with the attributesInterruptedExceptionpublic static EmbedData getEmbedData(CompilerProject project, String specifiedQName, String containingSourceFilename, ISourceLocation location, IMetaTagAttribute[] attributes, Collection<ICompilerProblem> problems)
project - Project to resolve againstspecifiedQName - a user defined qname for the generated class. may be null.containingSourceFilename - Filename from which the embed meta data comes fromlocation - Location from which the embed meta data comes fromattributes - Array of IMetaTagAttributeproblems - Any problems with the attributespublic static void collectEmbedDatas(ICompilerProject project, IFileNodeAccumulator fileNode, Set<EmbedData> embeds, Collection<ICompilerProblem> problems) throws InterruptedException
project - Project to resolve againstfileNode - FileNode to find embed nodes inembeds - Set of EmbedDatas to populateproblems - Any problems with the attributesInterruptedExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.