## <sas:StyleMapKey>

Used to generate styles.

### Syntax

`<sas:StyleMapKey key="java.lang.String"
[classid="java.lang.String"]
[id="value"]
[instantiate="true|false"]
[ref="java.lang.String"]
[scope="page|request|session|application"]
[style="java.lang.String"] />`

### Attributes

`classid` | the CLASSID attribute.
`id` | Case-sensitive name used to identify the object instance.
`instantiate` | Flag that, if true, indicates that a new instance of the underlying class should be loaded if one cannot be found in PageContext. Must be used with an id attribute.
`key` | the style map key attribute.
`ref` | The variable String value that represents an object created earlier in the same scope.
`scope` | The scope (or page context) within which the reference is available.
`style` | the STYLE attribute.

### More Information

To view the documentation for the related TransformationBean, see com.sas.servlet.tbeans.ComplexStyleInterface.

If you need to subclass the tag handler class for the sas:StyleMapKey tag, extend com.sas.taglib.servlet.tbeans.StyleMapKeyTag.