Class XMLMacro
java.lang.Object
org.eclnt.jsfserver.elements.macros.XMLMacro
- All Implemented Interfaces:
Serializable,IMacro
Macro that is completely defined by the XML macro defintion.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckIfApplicable(String tagName) Check if a macro can be executed for a certain tag.booleancheckIfAttributeIsAffected(String attribute) Check if macro updates a certain attribute's value.voidexecuteMacro(BaseComponentTag tag, String[] macroParams) Macro execution at runtime.String[]Names of Macro parameters.getName()Name of the macro.
-
Constructor Details
-
XMLMacro
-
-
Method Details
-
checkIfApplicable
Description copied from interface:IMacroCheck if a macro can be executed for a certain tag. This function is e.g. called in the Layout Editor: the select box of available macros is filled correspondingly.- Specified by:
checkIfApplicablein interfaceIMacro
-
executeMacro
Description copied from interface:IMacroMacro execution at runtime.- Specified by:
executeMacroin interfaceIMacro
-
checkIfAttributeIsAffected
Description copied from interface:IMacroCheck if macro updates a certain attribute's value. This function is called e.g. by the Layout Editor: all attributes that are maintained by the macro are marked correspondingly.- Specified by:
checkIfAttributeIsAffectedin interfaceIMacro
-
getName
Description copied from interface:IMacroName of the macro. -
getMacroParamNames
Description copied from interface:IMacroNames of Macro parameters. Null may be returned in case the macro does not provide for any parameters.- Specified by:
getMacroParamNamesin interfaceIMacro
-