# OpenLayers.Format.CSWGetDomain.v2_0_2

A format for creating CSWGetDomain v2.0.2 transactions. Create a new instance with the OpenLayers.Format.CSWGetDomain.v2_0_2 constructor.

#### Inherits from

- OpenLayers.Format.XML

Summary

OpenLayers.Format.CSWGetDomain.v2_0_2 | A format for creating CSWGetDomain v2.0.2 transactions.
Properties |
namespaces | {Object} Mapping of namespace aliases to namespace URIs.
defaultPrefix | {String} The default prefix (used by Format.XML).
version | {String} CSW version number.
schemaLocation | {String} http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd
PropertyName | {String} Value of the csw:PropertyName element, used when writing a GetDomain document.
ParameterName | {String} Value of the csw:ParameterName element, used when writing a GetDomain document.
Constructor |
OpenLayers.Format.CSWGetDomain.v2_0_2 | A class for parsing and generating CSWGetDomain v2.0.2 transactions.
Functions and Properties |
read | Parse the response from a GetDomain request.
readers | Contains public functions, grouped by namespace prefix, that will be applied when a namespaced node is found matching the function name.
write | Given an configuration js object, write a CSWGetDomain request.
writers | As a compliment to the readers property, this structure contains public writing functions grouped by namespace alias and named like the node names they produce.

### Properties

### namespaces

{Object} Mapping of namespace aliases to namespace URIs.

### defaultPrefix

{String} The default prefix (used by Format.XML).

### version

{String} CSW version number.

### schemaLocation

{String} http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd

### PropertyName

{String} Value of the csw:PropertyName element, used when writing a GetDomain document.

### ParameterName

{String} Value of the csw:ParameterName element, used when writing a GetDomain document.

### Constructor

### OpenLayers.Format.CSWGetDomain.v2_0_2

A class for parsing and generating CSWGetDomain v2.0.2 transactions.

#### Parameters

options | {Object} Optional object whose properties will be set on the instance.

#### Valid options properties

- PropertyName
- ParameterName

### Functions and Properties

### read

> read: function( | data | )

Parse the response from a GetDomain request.

### readers

Contains public functions, grouped by namespace prefix, that will be applied when a namespaced node is found matching the function name. The function will be applied in the scope of this parser with two arguments: the node being read and a context object passed from the parent.

### write

> write: function( | options | )

Given an configuration js object, write a CSWGetDomain request.

#### Parameters

options | {Object} A object mapping the request.

#### Returns

{String} A serialized CSWGetDomain request.

### writers

As a compliment to the readers property, this structure contains public writing functions grouped by namespace alias and named like the node names they produce.

> read: function( | data | )

Parse the response from a GetDomain request.

> write: function( | options | )

Given an configuration js object, write a CSWGetDomain request.
A class for parsing and generating CSWGetDomain v2.0.2 transactions.
Close