Class: ol.parser.ogc.Versioned

ol.parser.ogc.Versioned

new Versioned

Parameters:
Name Type Description
formatOptions Object Options which will be set on this object.
Source:
  • versioned.js, line 11

Methods

getParser

Parameters:
Name Type Description
version string the version to use.
Source:
  • versioned.js, line 59
Returns:
the parser to use.
Type
Object

getVersion

Parameters:
Name Type Argument Description
root Element root element.
options Object= <optional>
(Optional) optional configuration object.
Source:
  • versioned.js, line 35
Returns:
the version to use.
Type
string

read

Parameters:
Name Type Argument Description
data string | Document Data to read.
options Object= <optional>
(Optional) Options for the reader.
Source:
  • versioned.js, line 105
Returns:
An object representing the document.
Type
Object

write

Write a document.
Parameters:
Name Type Argument Description
obj Object An object representing the document.
options Object= <optional>
(Optional) Optional configuration object.
Source:
  • versioned.js, line 88
Returns:
the XML created.
Type
Element | string