public class TemplateManifold extends manifold.api.type.JavaTypeManifold<manifold.templates.manifold.TemplateModel>
manifold.api.type.ResourceFileTypeManifold.CacheClearerARG_DUMP_SOURCE| Constructor and Description |
|---|
TemplateManifold() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
contribute(JavaFileManager.Location location,
String topLevelFqn,
String existing,
manifold.templates.manifold.TemplateModel model,
DiagnosticListener<JavaFileObject> errorHandler) |
String |
getTypeNameForFile(String fqn,
manifold.api.fs.IFile file)
Remove the content extension e.g., com.abc.Foo_html -> com.abc.Foo
|
boolean |
handlesFile(manifold.api.fs.IFile file) |
boolean |
handlesFileExtension(String fileExtension) |
void |
init(manifold.api.host.IModule module) |
boolean |
isInnerType(String topLevelFqn,
String relativeInner) |
getClassType, getContributorKind, getSourceKindclear, contribute, createCacheClearer, findFilesForType, findTopLevelFqn, getAdditionalTypes, getAllTypeNames, getContent, getModel, getModule, getPackage, getPeripheralTypes, getTypeNames, getTypesForFile, init, isDuplicate, isPackage, isTopLevelType, isType, refreshedFiledoInit, doUninit, init, isInited, uninitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptcompile, isSelfCompilegetInterfacepublic void init(manifold.api.host.IModule module)
init in interface manifold.api.type.ITypeManifoldinit in class manifold.api.type.ResourceFileTypeManifold<manifold.templates.manifold.TemplateModel>public String getTypeNameForFile(String fqn, manifold.api.fs.IFile file)
public boolean isInnerType(String topLevelFqn, String relativeInner)
isInnerType in class manifold.api.type.ResourceFileTypeManifold<manifold.templates.manifold.TemplateModel>public boolean handlesFileExtension(String fileExtension)
public boolean handlesFile(manifold.api.fs.IFile file)
handlesFile in interface manifold.api.type.IFileConnectedhandlesFile in class manifold.api.type.ResourceFileTypeManifold<manifold.templates.manifold.TemplateModel>protected String contribute(JavaFileManager.Location location, String topLevelFqn, String existing, manifold.templates.manifold.TemplateModel model, DiagnosticListener<JavaFileObject> errorHandler)
contribute in class manifold.api.type.ResourceFileTypeManifold<manifold.templates.manifold.TemplateModel>Copyright © 2018. All rights reserved.