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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkIfApplicable
(String tagName) Check if a macro can be executed for a certain tag.boolean
checkIfAttributeIsAffected
(String attribute) Check if macro updates a certain attribute's value.void
executeMacro
(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:IMacro
Check 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:
checkIfApplicable
in interfaceIMacro
-
executeMacro
Description copied from interface:IMacro
Macro execution at runtime.- Specified by:
executeMacro
in interfaceIMacro
-
checkIfAttributeIsAffected
Description copied from interface:IMacro
Check 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:
checkIfAttributeIsAffected
in interfaceIMacro
-
getName
Description copied from interface:IMacro
Name of the macro. -
getMacroParamNames
Description copied from interface:IMacro
Names of Macro parameters. Null may be returned in case the macro does not provide for any parameters.- Specified by:
getMacroParamNames
in interfaceIMacro
-