public final class MappingImpl extends Object implements Mapping
Constructor and Description |
---|
MappingImpl(Config config,
String virtual,
String strPhysical,
String strArchive,
short inspect,
boolean physicalFirst,
boolean hidden,
boolean readonly,
boolean topLevel,
boolean appMapping,
boolean ignoreVirtual,
ApplicationListener appListener) |
MappingImpl(Config config,
String virtual,
String strPhysical,
String strArchive,
short inspect,
boolean physicalFirst,
boolean hidden,
boolean readonly,
boolean topLevel,
boolean appMapping,
boolean ignoreVirtual,
ApplicationListener appListener,
int classLoaderMaxElements) |
Modifier and Type | Method and Description |
---|---|
void |
check()
checks the mapping
|
void |
clearPages(ClassLoader cl)
remove all Page from Pool using this classloader
|
MappingImpl |
cloneReadOnly(ConfigImpl config)
clones a mapping and make it readOnly
|
ApplicationListener |
getApplicationListener() |
Resource |
getArchive() |
ClassLoader |
getClassLoaderForArchive() |
int |
getClassLoaderMaxElements() |
Resource |
getClassRootDirectory() |
Config |
getConfig()
returns config of the mapping
|
PageSource |
getCustomTagPath(String name,
boolean doCustomTagDeepSearch) |
boolean |
getDotNotationUpperCase() |
short |
getInspectTemplate()
inspect template setting (Config.INSPECT_*), if not defined with the mapping the config setting is returned
|
short |
getInspectTemplateRaw()
inspect template setting (Config.INSPECT_*), if not defined with the mapping, Config.INSPECT_UNDEFINED is returned
|
PageSource |
getPageSource(String relPath)
pagesoucre matching given relpath
|
PageSource |
getPageSource(String path,
boolean isOut) |
PageSourcePool |
getPageSourcePool() |
PCLCollection |
getPCLCollection() |
Resource |
getPhysical() |
String |
getStrArchive() |
String |
getStrPhysical() |
String |
getVirtual() |
String |
getVirtualLowerCase() |
String |
getVirtualLowerCaseWithSlash() |
boolean |
hasArchive() |
int |
hashCode() |
boolean |
hasPhysical() |
boolean |
ignoreVirtual() |
boolean |
isAppMapping() |
boolean |
isHidden() |
static boolean |
isOK(PageSource ps) |
static PageSource |
isOK(PageSource[] arr) |
boolean |
isPhysicalFirst() |
boolean |
isReadonly() |
boolean |
isTopLevel() |
boolean |
isTrusted()
Deprecated.
|
Class<?> |
loadClass(String className) |
DumpData |
toDumpData(PageContext pageContext,
int maxlevel,
DumpProperties dp)
method to print out information to a object as HTML
|
String |
toString() |
PCLCollection |
touchPCLCollection() |
public MappingImpl(Config config, String virtual, String strPhysical, String strArchive, short inspect, boolean physicalFirst, boolean hidden, boolean readonly, boolean topLevel, boolean appMapping, boolean ignoreVirtual, ApplicationListener appListener)
public MappingImpl(Config config, String virtual, String strPhysical, String strArchive, short inspect, boolean physicalFirst, boolean hidden, boolean readonly, boolean topLevel, boolean appMapping, boolean ignoreVirtual, ApplicationListener appListener, int classLoaderMaxElements)
configServer
- config
- virtual
- strPhysical
- strArchive
- trusted
- physicalFirst
- hidden
- readonly
- IOException
public int getClassLoaderMaxElements()
public ClassLoader getClassLoaderForArchive()
getClassLoaderForArchive
in interface Mapping
public PCLCollection touchPCLCollection() throws IOException
IOException
public PCLCollection getPCLCollection()
public void clearPages(ClassLoader cl)
cl
- public Resource getPhysical()
getPhysical
in interface Mapping
public String getVirtualLowerCase()
getVirtualLowerCase
in interface Mapping
public String getVirtualLowerCaseWithSlash()
getVirtualLowerCaseWithSlash
in interface Mapping
public Resource getArchive()
getArchive
in interface Mapping
public boolean hasArchive()
hasArchive
in interface Mapping
public boolean hasPhysical()
hasPhysical
in interface Mapping
public Resource getClassRootDirectory()
getClassRootDirectory
in interface Mapping
public MappingImpl cloneReadOnly(ConfigImpl config)
config
- IOException
public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
toDumpData
in interface Dumpable
public short getInspectTemplate()
public short getInspectTemplateRaw()
public PageSource getPageSource(String relPath)
Mapping
getPageSource
in interface Mapping
public PageSource getPageSource(String path, boolean isOut)
getPageSource
in interface Mapping
public PageSourcePool getPageSourcePool()
public Config getConfig()
Mapping
public boolean isHidden()
public boolean isPhysicalFirst()
isPhysicalFirst
in interface Mapping
public boolean isReadonly()
isReadonly
in interface Mapping
public String getStrArchive()
getStrArchive
in interface Mapping
public String getStrPhysical()
getStrPhysical
in interface Mapping
@Deprecated public boolean isTrusted()
public String getVirtual()
getVirtual
in interface Mapping
public boolean isAppMapping()
public boolean isTopLevel()
isTopLevel
in interface Mapping
public PageSource getCustomTagPath(String name, boolean doCustomTagDeepSearch)
public boolean ignoreVirtual()
public static boolean isOK(PageSource ps)
public static PageSource isOK(PageSource[] arr)
public ApplicationListener getApplicationListener()
public boolean getDotNotationUpperCase()
Copyright © 2015 Lucee