public class DruidContentLoader extends java.lang.Object implements ContentLoader
Modifier and Type | Field and Description |
---|---|
private RoleMap |
roleMap |
(package private) java.lang.Class |
rootClass |
private XMLStore |
store |
Modifier | Constructor and Description |
---|---|
private |
DruidContentLoader() |
Modifier and Type | Method and Description |
---|---|
void |
addFileSystemManifest(DecManifest dm,
java.io.File fdtop) |
java.lang.String |
getEditorPath(java.lang.String s) |
java.lang.Object |
getExposerOf(java.lang.String s) |
Factory |
getFactoryFor(java.lang.String s) |
static java.lang.Object |
getFromURL(java.net.URL url) |
private java.lang.Object |
getNewRolePlayer(java.lang.String role,
java.lang.String subject) |
java.lang.Object |
getProviderOf(java.lang.String s) |
java.lang.Object |
getResource(java.lang.String name,
java.lang.String selector) |
private java.lang.Object |
getRolePlayer(java.lang.String role,
java.lang.String subject) |
private java.lang.Object |
getRolePlayer(java.lang.String role,
java.lang.String subject,
boolean cacheOK) |
java.lang.Object |
getRunMappingFor(java.lang.String s) |
private DecFile |
getSource(java.lang.String location,
java.lang.String selectorin) |
java.lang.Object |
getTablizerOf(java.lang.String s) |
boolean |
hasEditorOf(java.lang.String s) |
boolean |
hasExposerOf(java.lang.String s) |
boolean |
hasFactoryFor(java.lang.String s) |
boolean |
hasProviderOf(java.lang.String s) |
private boolean |
hasRolePlayer(java.lang.String role,
java.lang.String subject) |
boolean |
hasRunMappingFor(java.lang.String s) |
boolean |
hasTablizerOf(java.lang.String s) |
void |
init(java.lang.Object projroot) |
static void |
initLoader(java.lang.Object projroot) |
java.lang.Object |
loadFromFileNoCache(java.io.File f) |
private void |
loadObject(DecFile decFile) |
private void |
loadText(DecFile df) |
private void |
loadToObject(DecFile decFile) |
void |
newSourceFile(java.io.File f,
java.io.File rootFolder) |
private java.lang.Object |
readClassRole(ClassRole cr) |
java.lang.Object |
readObject(java.lang.String txt) |
java.lang.Object |
readObject(java.lang.String txt,
java.lang.String srcPath) |
private java.lang.Object |
readResourceRole(ResourceRole rr) |
private XMLStore store
private RoleMap roleMap
java.lang.Class rootClass
public static void initLoader(java.lang.Object projroot)
public static java.lang.Object getFromURL(java.net.URL url)
public void init(java.lang.Object projroot)
public void addFileSystemManifest(DecManifest dm, java.io.File fdtop)
public java.lang.Object loadFromFileNoCache(java.io.File f)
public java.lang.Object getResource(java.lang.String name, java.lang.String selector)
getResource
in interface ResourceLoader
private void loadToObject(DecFile decFile)
private void loadObject(DecFile decFile)
public java.lang.Object readObject(java.lang.String txt)
readObject
in interface ContentLoader
public java.lang.Object readObject(java.lang.String txt, java.lang.String srcPath)
private void loadText(DecFile df)
private DecFile getSource(java.lang.String location, java.lang.String selectorin)
public boolean hasEditorOf(java.lang.String s)
hasEditorOf
in interface ContentLoader
public java.lang.String getEditorPath(java.lang.String s)
getEditorPath
in interface ContentLoader
public boolean hasFactoryFor(java.lang.String s)
hasFactoryFor
in interface ContentLoader
public Factory getFactoryFor(java.lang.String s)
getFactoryFor
in interface ContentLoader
public boolean hasRunMappingFor(java.lang.String s)
public java.lang.Object getRunMappingFor(java.lang.String s)
public boolean hasProviderOf(java.lang.String s)
hasProviderOf
in interface ContentLoader
public java.lang.Object getProviderOf(java.lang.String s)
getProviderOf
in interface ContentLoader
public boolean hasExposerOf(java.lang.String s)
hasExposerOf
in interface ContentLoader
public java.lang.Object getExposerOf(java.lang.String s)
getExposerOf
in interface ContentLoader
public boolean hasTablizerOf(java.lang.String s)
hasTablizerOf
in interface ContentLoader
public java.lang.Object getTablizerOf(java.lang.String s)
getTablizerOf
in interface ContentLoader
private boolean hasRolePlayer(java.lang.String role, java.lang.String subject)
private java.lang.Object getRolePlayer(java.lang.String role, java.lang.String subject)
private java.lang.Object getNewRolePlayer(java.lang.String role, java.lang.String subject)
private java.lang.Object getRolePlayer(java.lang.String role, java.lang.String subject, boolean cacheOK)
private java.lang.Object readClassRole(ClassRole cr)
private java.lang.Object readResourceRole(ResourceRole rr)
public void newSourceFile(java.io.File f, java.io.File rootFolder)
newSourceFile
in interface ContentLoader
Copyright © 2013. All Rights Reserved.