public class SchemaManifold extends manifold.api.type.JavaTypeManifold<SchemaModel>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DBCONFIG_EXT |
static java.util.List<java.lang.String> |
EXTS |
| Constructor and Description |
|---|
SchemaManifold() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
contribute(javax.tools.JavaFileManager.Location location,
java.lang.String topLevelFqn,
boolean genStubs,
java.lang.String existing,
SchemaModel model,
javax.tools.DiagnosticListener<javax.tools.JavaFileObject> errorHandler) |
SchemaModel |
getModel(java.lang.String fqn)
Override so that getModel() can be called within this package (see SchemaScope)
|
Schema |
getSchema(manifold.api.fs.IFile file) |
java.lang.String |
getTypeNameForFile(java.lang.String defaultFqn,
manifold.api.fs.IFile file) |
boolean |
handlesFileExtension(java.lang.String fileExtension) |
void |
init(manifold.api.host.IModule module) |
boolean |
isInnerType(java.lang.String topLevel,
java.lang.String relativeInner) |
getClassType, getContributorKind, getSourceKindclear, contribute, createCacheClearer, findFilesForType, findTopLevelFqn, getAdditionalTypes, getAllTypeNames, getContent, getModule, getPackage, getPeripheralTypes, getTypeNames, getTypesForFile, handlesFile, init, isDuplicate, isFileBacked, isPackage, isTopLevelType, isType, refreshedFiledoInit, doUninit, init, isInited, uninitpublic static final java.lang.String DBCONFIG_EXT
public static final java.util.List<java.lang.String> EXTS
public void init(manifold.api.host.IModule module)
init in interface manifold.api.type.ITypeManifoldinit in class manifold.api.type.ResourceFileTypeManifold<SchemaModel>public java.lang.String getTypeNameForFile(java.lang.String defaultFqn,
manifold.api.fs.IFile file)
getTypeNameForFile in class manifold.api.type.ResourceFileTypeManifold<SchemaModel>public boolean handlesFileExtension(java.lang.String fileExtension)
public boolean isInnerType(java.lang.String topLevel,
java.lang.String relativeInner)
isInnerType in class manifold.api.type.ResourceFileTypeManifold<SchemaModel>public SchemaModel getModel(java.lang.String fqn)
getModel in class manifold.api.type.ResourceFileTypeManifold<SchemaModel>public Schema getSchema(manifold.api.fs.IFile file)
protected java.lang.String contribute(javax.tools.JavaFileManager.Location location,
java.lang.String topLevelFqn,
boolean genStubs,
java.lang.String existing,
SchemaModel model,
javax.tools.DiagnosticListener<javax.tools.JavaFileObject> errorHandler)
contribute in class manifold.api.type.ResourceFileTypeManifold<SchemaModel>Copyright © 2023. All rights reserved.