Rational Programming Patterns

Standard attributes

Standard attributes can use either the form name="value" or name=value. If value contains a space character, the first form, with double quotation mark, is mandatory.

The IMicroPattern#getAttributesMap() gives access to the attributes map. A handler or a filter can then add, delete, or update an attribute. This method is an instance of java.util.LinkedHashMap(). Iterating on its values normally returns its attributes in the same order as in the micropattern declaration.

The micropattern engine sometimes adds technical parameters to the standard header area. The whole standard parameters list is then rewritten in the form which includes double quotation marks.

Three standard attribute names are reserved:
  • namespace: To prevent a namespace collision, you must qualify the micropattern declaration by indicating the namespace of the handler to be invoked at run time.
  • enabled. This is an: internal attribute.
  • genId. This is an: internal attribute.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)