- encode
Encodes the specified object and returns the resulting XML node.
- decode
Decodes the given XML node. The optional "into" argument specifies an existing
object to be used. If
- <init>
Constructs an XML encoder/decoder for the specified owner document.
- decodeCell
Decodes cells that have been encoded using inversion, ie. where the user object
is the enclosing nod
- encodeCell
Encoding of cell hierarchies is built-into the core, but is a higher-level
function that needs to be
- getDocument
Returns the owner document of the codec.
- getElementById
Returns the element with the given ID from the document.
- getId
Returns the ID of the specified object. This implementation calls reference
first and if that return
- getObject
Returns the decoded object for the element with the specified ID in #document.
If the object is not
- insertIntoGraph
Inserts the given cell into its parent and terminal cells.
- isEncodeDefaults
Returns if default values of member variables should be encoded.
- lookup
Hook for subclassers to implement a custom lookup mechanism for cell IDs. This
implementation always