Class nl.sara.webdav.Codec
A codec transcodes the xml to a custom Javascript object
Defined in: codec.js.
Constructor Attributes | Constructor Name and Description |
---|---|
nl.sara.webdav.Codec(namespace, tagname, toXML, fromXML)
|
Field Attributes | Field Name and Description |
---|---|
Functions which should return a representation of xmlvalue
|
|
The namespace of the property to transcode
|
|
The tag name of the property to transcode
|
|
Function which should return a Document with the NodeList of the documentElement as the value of this property
|
Class Detail
nl.sara.webdav.Codec(namespace, tagname, toXML, fromXML)
- Parameters:
- {String} namespace Optional
- Optional; The namespace of the property to transcode
- {String} tagname Optional
- Optional; The tag name of the property to transcode
- {function(mixed[|xmlDoc])} toXML Optional
- Optional; Function which should return a Document with the NodeList of the documentElement as the value of this property
- {function(NodeList)} fromXML Optional
- Optional; Functions which should return a representation of xmlvalue
Field Detail
{function(NodeList)}
fromXML
Functions which should return a representation of xmlvalue
{String}
namespace
The namespace of the property to transcode
{String}
tagname
The tag name of the property to transcode
{function(mixed[|xmlDoc])}
toXML
Function which should return a Document with the NodeList of the documentElement as the value of this property