# com.bea.ide.lang.xml.driver
XmlSourceViewDriver Class

public class XmlSourceViewDriver
extends `DefaultSourceViewDriver`

Hierarchy
  `Object`
  `DefaultDocumentDriver`
  `DefaultSourceViewDriver`
  `XmlSourceViewDriver`

All Implemented Interfaces
  `IDriverSupport`, `ISourceViewDriver`

## Constructor Summary

XmlSourceViewDriver(`XmlDocument` doc)

## Method Summary

`public `String`` | `getCollapsedText`(`ISourceElement` element) Default implementation of getCollapsedText.
`public boolean` | `isCollapsedByDefault`(`ISourceElement` element) Default implementation of isCollapsedByDefault.
`public boolean` | `isCollapsible`(`ISourceElement` element) Default implementation of isCollapsible.
`public boolean` | `showCollapse`() Default implementation of showCollapse.

Methods from `com.bea.ide.sourceeditor.driver.`DefaultSourceViewDriver``
``addDriver`, `getCollapsedText`, `getDriver`, `getElementGroup`, `getLanguageDriver`, `getSelectionRange`, `isCollapsedByDefault`, `isCollapsible`,`

Methods from `com.bea.ide.sourceeditor.driver.`DefaultDocumentDriver``
``getDocument`, `setDocument``

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `com.bea.ide.core.`IDriverSupport``
``getDriver``

Methods from interface `com.bea.ide.sourceeditor.driver.`ISourceViewDriver``
``getCollapsedText`, `getCollapsedText`, `getElementGroup`, `getLanguageDriver`, `getSelectionRange`, `isCollapsedByDefault`, `isCollapsedByDefault`, `isCollapsible`, `isCollapsible`, `showCollapse``

## Constructor Detail

### XmlSourceViewDriver

    public XmlSourceViewDriver(XmlDocument doc)

## Method Detail

### getCollapsedText(ISourceElement) Method

    public String getCollapsedText(ISourceElement element)

Description copied from `DefaultSourceViewDriver.getCollapsedText(ISourceElement)`
Default implementation of getCollapsedText.

Overrides
  `DefaultSourceViewDriver.getCollapsedText(ISourceElement)`

#### Returns

null. By default, the source view will not display collapsible regions.

### isCollapsedByDefault(ISourceElement) Method

    public boolean isCollapsedByDefault(ISourceElement element)

Description copied from `DefaultSourceViewDriver.isCollapsedByDefault(ISourceElement)`
Default implementation of isCollapsedByDefault.

Overrides
  `DefaultSourceViewDriver.isCollapsedByDefault(ISourceElement)`

#### Returns

false. By default, the source view will not display collapsible regions.

### isCollapsible(ISourceElement) Method

    public boolean isCollapsible(ISourceElement element)

Description copied from `DefaultSourceViewDriver.isCollapsible(ISourceElement)`
Default implementation of isCollapsible.

Overrides
  `DefaultSourceViewDriver.isCollapsible(ISourceElement)`

#### Returns

false. By default, the source view will not display collapsible regions.

### showCollapse() Method

    public boolean showCollapse()

Description copied from `DefaultSourceViewDriver.showCollapse()`
Default implementation of showCollapse.

Overrides
  `DefaultSourceViewDriver.showCollapse()`

#### Returns

false. By default, the source view will not display collapsible regions.