# <custom> Element

Specifies that this property attribute's value is a type defined by the control author.

## Syntax

    <custom
        name="nameForThisValueType"
        class="propertyEditorClass"
    />

## Attributes

name | Specifies name of the type to be used for this attribute's value. Allowable values: The name of the type. Use: Required. Type: xs:string Default value: None.
class-name | Specifies the path to a class containing an editor for this property's value. Allowable values: The path to a class that implements an editor for this property's value. Use: Required. Type: xs:string Default value: None.

## Hierarchy

Parent: attribute.

Children: None.

## Remarks

Use the custom element when the attribute's value should be a type you have defined. The class-name attribute's value should be a class that implements support for validating the value of the attribute for which the custom value is defined. For more information on validation classes, see the CustomerData control in the ControlDevKit samples provided with WebLogic Workshop.

This element is one of several you can use to specify the type of a property attribute's value. The complete list includes boolean, class-name, class-names, date, decimal, enumeration, file-path, integer, QNAME, text, URI, URL, URN, XML, or custom. Note that you may use only one of these types for a given attribute.

Related Topics

Control Property Schema Reference

Tutorial: Java Control