Base class for versioned formats, i.e. a format which supports multiple versions.
OpenLayers. | Base class for versioned formats, i.e. |
Properties | |
defaultVersion | {String} Version number to assume if none found. |
version | {String} Specify a version string if one is known. |
profile | {String} If provided, use a custom profile. |
errorProperty | {String} Which property of the returned object to check for in order to determine whether or not parsing has failed. |
stringifyOutput | {Boolean} If true, write will return a string otherwise a DOMElement. |
Constructor | |
OpenLayers. | Constructor. |
Functions | |
write | Write a document. |
read | Read a doc and return an object representing the document. |
Write a document.
write: function( obj, options )
Read a doc and return an object representing the document.
read: function( data, options )