XPRMInitializationFrom
-
public interface XPRMInitializationFromA routine to initialize Mosel objects from Java. An object implementing this interface can be used to initialize Mosel object from an 'initializations from' block. The file name must be of the form "java:objname" with 'objname' being the name of such object. The 'initializationFrom' routine is then called once for each label to be initialized.
-
-
Method Summary
Modifier and Type Method and Description booleaninitializeFrom(XPRMInitializeContext ictx, java.lang.String label, XPRMTyped type)Provide data for initialisation of the specified record.
-
-
-
Method Detail
-
initializeFrom
boolean initializeFrom(XPRMInitializeContext ictx, java.lang.String label, XPRMTyped type)
Provide data for initialisation of the specified record. The routine must send the information using thesendmethods of theictxobject.- Parameters:
-
ictx- initialization context -
label- label associated to the record to be initialized -
type- type of the record - Returns:
-
trueif successful,falseotherwise.
-
-
