# WPS.Control

Abstract base class for all WPS control classes

#### Inherits from

- <OpenLayers.Control>

Summary

WPS.Control | Abstract base class for all WPS control classes
Properties |
NAMESPACE_URI | Defines the Namespace URI for all Legato Control Element.
PREFIX | Global defined prefix for all WPS Control classes.
QName | Defines the qualified name.
wpc:someControl | XML based config for a WPS.Control subclass.

### Properties

### NAMESPACE_URI

Defines the Namespace URI for all Legato Control Element. Needed in XML based config file.

### PREFIX

Global defined prefix for all WPS Control classes.

### QName

Defines the qualified name. Needed for XML based config.

## wpc:someControl

XML based config for a WPS.Control subclass.

#### See Also

- <Control>
- <QName>
- <PREFIX>
- <Legato.Beans.BeanFactory>

All legato controls could be configured using xml. If so, the config needs to define the namespace prefix (<PREFIX>). The needed NS URL should point to <NAMESPACE_URI>. After that you’re able to configure all legato control subclasses via XML.

A valid example could be

>     <lwpsc:someControl foo="bar"/>

For detailed informations have a look at the WPS.Control subclass documentation.

Abstract base class for all WPS control classes