|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.xsp.context.DojoLibrary
public abstract class DojoLibrary
Dojo Library. Encapsulate the content of a Dojo library.
Field Summary | |
---|---|
static java.lang.String |
BUILD_REPORT
|
static int |
SYNTAX_LEGACY
|
static int |
SYNTAX_REQUIRE
|
static java.lang.String |
UNCOMPRESS_SUFFIX
|
Constructor Summary | |
---|---|
protected |
DojoLibrary()
|
Method Summary | |
---|---|
abstract boolean |
exists(java.lang.String path)
Check if a resource exists in the library. |
protected java.lang.String |
getBuildReport()
|
java.util.Map |
getCSSResources()
Get access to the Dojo CSS map. |
java.lang.String |
getDebugFileName(java.lang.String path)
Get the file name being used, for debugging purposes. |
java.util.Set<java.lang.String> |
getDojoJsModules()
Get the list of the dojo modules already loaded by dojo.js |
java.util.Map |
getDojoResources()
Get access to the Dojo JS modules map. |
int |
getDojoSyntax()
Check the dojo syntax to be used |
abstract java.io.InputStream |
getFileInputStream(java.lang.String path)
Read a resource from the library. |
abstract java.lang.String |
getResourceUrl(java.lang.String url,
boolean optimize)
Encode the resource as a URL. |
abstract com.ibm.xsp.core.Version |
getVersion()
Return the actual version of the library. |
int |
getVersionNumber()
Shortcut: get the Version number from the version object. |
abstract java.lang.String |
getVersionTag()
Return the version of this library. |
abstract boolean |
hasIbmModules()
Check if the dojo library also contain the IBM modules. |
protected void |
initDojoJsDepends()
|
abstract boolean |
isDefaultIbmLibrary()
Check if the library is the default one for IBM classes. |
abstract boolean |
isDefaultLibrary()
Check if the library is the default one. |
boolean |
isSyntaxLegacy()
|
boolean |
isSyntaxRequire()
|
boolean |
isUncompressed()
Check if the library uses uncompressed files. |
protected java.util.Set<java.lang.String> |
loadLayer(java.lang.String layer)
|
abstract boolean |
useIbmLayers()
Check if the layers can be used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BUILD_REPORT
public static final java.lang.String UNCOMPRESS_SUFFIX
public static final int SYNTAX_LEGACY
public static final int SYNTAX_REQUIRE
Constructor Detail |
---|
protected DojoLibrary()
Method Detail |
---|
protected void initDojoJsDepends()
public boolean isUncompressed()
public abstract boolean isDefaultLibrary()
public abstract boolean isDefaultIbmLibrary()
public abstract com.ibm.xsp.core.Version getVersion()
public final int getVersionNumber()
public abstract java.lang.String getVersionTag()
public abstract java.lang.String getResourceUrl(java.lang.String url, boolean optimize)
url
-
public abstract boolean exists(java.lang.String path)
public abstract java.io.InputStream getFileInputStream(java.lang.String path) throws java.io.IOException
java.io.IOException
public java.lang.String getDebugFileName(java.lang.String path) throws java.io.IOException
getFileInputStream(String)
method,
(the actual file may be compressed or uncompressed).
java.io.IOException
public abstract boolean hasIbmModules()
public abstract boolean useIbmLayers()
public int getDojoSyntax()
public boolean isSyntaxRequire()
public boolean isSyntaxLegacy()
public java.util.Set<java.lang.String> getDojoJsModules()
public java.util.Map getDojoResources()
public java.util.Map getCSSResources()
protected java.util.Set<java.lang.String> loadLayer(java.lang.String layer)
protected java.lang.String getBuildReport()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |