|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.info.LyTag
leon.info.LyInfo
leon.info.LyInclude
public class LyInclude
This class represents an include of an external model. Its attributes are :
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.info.LyTag |
---|
LyTag.Model |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static boolean |
_allowLoad
The include must load its children. |
static java.lang.String |
CMS_APPMODEL_APPLICATION_ID
|
static java.lang.String |
W4_APPMODEL_APPLICATION_ID
|
Constructor Summary | |
---|---|
LyInclude(java.lang.String applicationId,
java.lang.String file,
java.lang.String version,
boolean load)
Constructor with a given id. |
|
LyInclude(java.lang.String id,
java.lang.String applicationId,
java.lang.String file,
java.lang.String version,
boolean load)
Constructor with a given id. |
Method Summary | |
---|---|
java.lang.String |
getApplicationId()
Gets the application id of the external model. |
java.lang.Object |
getRootElement()
Retrieve the root element of the include. |
java.lang.String |
getVersion()
Gets version of this include. |
java.lang.String |
getXmlFile()
Gets the XML root file of the external model. |
boolean |
isLoadedOnStart()
Checks if this include is loaded on start or on its first use. |
void |
loadExtraLanguage(LyEnvironment environment)
|
void |
setApplication(LyApplication application)
Sets the application for this info. |
void |
setXmlFile(java.lang.String xmlFile)
Sets the XML file for this include. |
Methods inherited from class leon.info.LyInfo |
---|
getAlias, getApplication, getFile, getId, getInclude, getName, isIncluded, isInternal, isInternal, isLoaded, isLocked, load, setFile, toString |
Methods inherited from class leon.info.LyTag |
---|
clone, getCommentsEnd, getCommentsStart, getEnvironment, getModelType, getParent, getRootProject, hasAncestor, isExtern, setCommentsEnd, setCommentsStart, wasCloned |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface leon.parser.LyCommentInterface |
---|
getCommentsEnd, getCommentsStart, setCommentsEnd, setCommentsStart |
Field Detail |
---|
public static final java.lang.String W4_APPMODEL_APPLICATION_ID
public static final java.lang.String CMS_APPMODEL_APPLICATION_ID
public static final java.lang.String __VERSION
public static boolean _allowLoad
Constructor Detail |
---|
public LyInclude(java.lang.String id, java.lang.String applicationId, java.lang.String file, java.lang.String version, boolean load)
applicationId
- The application id of the external model. Used to load properties file.file
- The root file of the external model
(could be a ini file, a XML file or a compiled model).version
- Version of loaded model.load
- True if the model is loaded on start or on its first use.public LyInclude(java.lang.String applicationId, java.lang.String file, java.lang.String version, boolean load)
applicationId
- The application id of the external model. Used to load properties file.file
- The root file of the external model.version
- Version of loaded model.load
- True if the model is loaded on declaration or on its first use.Method Detail |
---|
public void setApplication(LyApplication application)
setApplication
in class LyInfo
application
- The application to which the info belongs.
java.lang.IllegalStateException
- If the info already belongs to an application.public final java.lang.String getApplicationId()
public void setXmlFile(java.lang.String xmlFile)
the
- XML file for this include.public final java.lang.String getXmlFile()
public java.lang.String getVersion()
public boolean isLoadedOnStart()
public java.lang.Object getRootElement()
public void loadExtraLanguage(LyEnvironment environment)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |