# Debugger Expression Extension XML Reference

Describes a debugger extension, with which you can add new views for variables.

Note: The <extension-xml> element is the root for any extension descriptor. For this kind of extension, the <extension-xml> element's id attribute value must be "urn:com-bea-ide:debugExpressionViews".

<extension-xml>
<view>

The following example uses the XmlExpressionView view implementation for a view of a String variable.

    <extension-xml id="urn:com-bea-ide:debugExpressionViews">
        <view
            priority="80"
            valueType="java.lang.String"
            description="View as XML"
            class=”workshop.debugger.ui.expressionview.XmlExpressionView”/>
    </extension-xml>

## <view> Element

Specifies a new debugger variable view.

### Syntax

    <view
        class="viewImplementation"
        description="viewDescriptionInIDE"
        matchesNulls="true | false"
        priority="rankingAmongViews"
        valueType="typeWhoseDataThisIsAViewFor"
    >

### Attributes

Attribute | Description
--- | ---
class | Required string. The fully-qualified name of the class that provides the custom view. This class must implement IDebugExpressionView.
description | Required string. The description to display for the view when the user right-clicks.
matchesNulls | Required string.
priority | Required int. A number indicating this view's ranking among views for variables of this type.
valueType | Required string. The fully-qualified name of the type to provide this view for.

### Hierarchy

Parents: <extension-xml>.

Children: <view>.