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 versionstring the version to use. - Source:
- versioned.js, line 59
Returns:
the parser to use.- Type
- Object
-
getVersion
-
Parameters:
Name Type Argument Description rootElement root element. optionsObject= <optional>
(Optional) optional configuration object. - Source:
- versioned.js, line 35
Returns:
the version to use.- Type
- string
-
read
-
Parameters:
Name Type Argument Description datastring | Document Data to read. optionsObject= <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 objObject An object representing the document. optionsObject= <optional>
(Optional) Optional configuration object. - Source:
- versioned.js, line 88
Returns:
the XML created.- Type
- Element | string