railo.runtime
Interface Mapping

All Superinterfaces:
Dumpable, Serializable
All Known Implementing Classes:
MappingImpl

public interface Mapping
extends Dumpable

interface of the mapping definition


Method Summary
 void check()
          checks the mapping
 Resource getArchive()
           
 ClassLoader getClassLoaderForArchive()
           
 Resource getClassRootDirectory()
           
 Config getConfig()
          returns config of the mapping
 PageSource getPageSource(String realPath)
          pagesoucre matching given realpath
 PageSource getPageSource(String path, boolean isOut)
           
 Resource getPhysical()
           
 String getStrArchive()
           
 String getStrPhysical()
           
 String getVirtual()
           
 String getVirtualLowerCase()
           
 String getVirtualLowerCaseWithSlash()
           
 boolean hasArchive()
           
 boolean hasPhysical()
           
 boolean isHidden()
           
 boolean isPhysicalFirst()
           
 boolean isReadonly()
           
 boolean isTopLevel()
           
 boolean isTrusted()
           
 
Methods inherited from interface railo.runtime.dump.Dumpable
toDumpData
 

Method Detail

getClassLoaderForArchive

ClassLoader getClassLoaderForArchive()
Returns:
returns the archiveClassLoader

getPhysical

Resource getPhysical()
Returns:
Returns the physical.

getVirtualLowerCase

String getVirtualLowerCase()
Returns:
Returns the virtual lower case.

getVirtualLowerCaseWithSlash

String getVirtualLowerCaseWithSlash()
Returns:
Returns the virtual lower case with slash at the end.

getArchive

Resource getArchive()
Returns:
return the archive file

hasArchive

boolean hasArchive()
Returns:
returns if mapping has a archive

hasPhysical

boolean hasPhysical()
Returns:
return if mapping has a physical path

getClassRootDirectory

Resource getClassRootDirectory()
Returns:
class root directory

getPageSource

PageSource getPageSource(String realPath)
pagesoucre matching given realpath

Parameters:
realPath -
Returns:
matching pagesource

getPageSource

PageSource getPageSource(String path,
                         boolean isOut)
Parameters:
path -
isOut -
Returns:
matching pagesoucre

check

void check()
checks the mapping


isHidden

boolean isHidden()
Returns:
Returns the hidden.

isPhysicalFirst

boolean isPhysicalFirst()
Returns:
Returns the physicalFirst.

isReadonly

boolean isReadonly()
Returns:
Returns the readonly.

getStrArchive

String getStrArchive()
Returns:
Returns the strArchive.

getStrPhysical

String getStrPhysical()
Returns:
Returns the strPhysical.

isTrusted

boolean isTrusted()
Returns:
Returns the trusted.

isTopLevel

boolean isTopLevel()

getVirtual

String getVirtual()
Returns:
Returns the virtual.

getConfig

Config getConfig()
returns config of the mapping

Returns:
config


Copyright © 2012 Railo