JGraph X 1.3.0.0

## Uses of Class
com.mxgraph.io.mxCodec

Packages that use mxCodec
com.mxgraph.io: This package contains all classes for input/output.

Uses of mxCodec in com.mxgraph.io

Methods in com.mxgraph.io with parameters of type mxCodec
`java.lang.Object` `mxObjectCodec.afterDecode(mxCodec dec, org.w3c.dom.Node node, java.lang.Object obj)` Hook for subclassers to post-process the object after decoding.
`org.w3c.dom.Node` `mxCellCodec.afterEncode(mxCodec enc, java.lang.Object obj, org.w3c.dom.Node node)` Encodes an mxCell and wraps the XML up inside the XML of the user object (inversion).
`org.w3c.dom.Node` `mxObjectCodec.afterEncode(mxCodec enc, java.lang.Object obj, org.w3c.dom.Node node)` Hook for subclassers to post-process the node for the given object after encoding and return the post-processed node.
`org.w3c.dom.Node` `mxCellCodec.beforeDecode(mxCodec dec, org.w3c.dom.Node node, java.lang.Object obj)` Decodes an mxCell and uses the enclosing XML node as the user object for the cell (inversion).
`org.w3c.dom.Node` `mxModelCodec.beforeDecode(mxCodec dec, org.w3c.dom.Node node, java.lang.Object into)` Reads the cells into the graph model.
`org.w3c.dom.Node` `mxObjectCodec.beforeDecode(mxCodec dec, org.w3c.dom.Node node, java.lang.Object obj)` Hook for subclassers to pre-process the node for the specified object and return the node to be used for further processing by `mxObjectCodec.decode(mxCodec, Node)`.
`java.lang.Object` `mxObjectCodec.beforeEncode(mxCodec enc, java.lang.Object obj, org.w3c.dom.Node node)` Hook for subclassers to pre-process the object before encoding.
`java.lang.Object` `mxObjectCodec.decode(mxCodec dec, org.w3c.dom.Node node)` Parses the given node into the object or returns a new object representing the given node.
`java.lang.Object` `mxStylesheetCodec.decode(mxCodec dec, org.w3c.dom.Node node, java.lang.Object into)` Decodes the given mxStylesheet.
`java.lang.Object` `mxObjectCodec.decode(mxCodec dec, org.w3c.dom.Node node, java.lang.Object into)` Parses the given node into the object or returns a new object representing the given node.
`protected void` `mxObjectCodec.decodeAttribute(mxCodec dec, org.w3c.dom.Node attr, java.lang.Object obj)` Reads the given attribute into the specified object.
`protected void` `mxObjectCodec.decodeAttributes(mxCodec dec, org.w3c.dom.Node node, java.lang.Object obj)` Decodes all attributes of the given node using decodeAttribute.
`protected void` `mxObjectCodec.decodeChild(mxCodec dec, org.w3c.dom.Node child, java.lang.Object obj)` Reads the specified child into the given object.
`protected void` `mxObjectCodec.decodeChildren(mxCodec dec, org.w3c.dom.Node node, java.lang.Object obj)` Decodec all children of the given node using decodeChild.
`protected void` `mxObjectCodec.decodeNode(mxCodec dec, org.w3c.dom.Node node, java.lang.Object obj)` Calls decodeAttributes and decodeChildren for the given node.
`org.w3c.dom.Node` `mxStylesheetCodec.encode(mxCodec enc, java.lang.Object obj)` Encodes the given mxStylesheet.
`org.w3c.dom.Node` `mxModelCodec.encode(mxCodec enc, java.lang.Object obj)` Encode the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec.
`org.w3c.dom.Node` `mxObjectCodec.encode(mxCodec enc, java.lang.Object obj)` Encodes the specified object and returns a node representing then given object.
`protected void` `mxObjectCodec.encodeElements(mxCodec enc, java.lang.Object obj, org.w3c.dom.Node node)` Encodes the child objects of arrays, maps and collections.
`protected void` `mxObjectCodec.encodeFields(mxCodec enc, java.lang.Object obj, org.w3c.dom.Node node)` Encodes the declared fields of the given object into the given node.
`protected void` `mxObjectCodec.encodeObject(mxCodec enc, java.lang.Object obj, org.w3c.dom.Node node)` Encodes the value of each member in then given obj into the given node using `mxObjectCodec.encodeFields(mxCodec, Object, Node)` and `mxObjectCodec.encodeElements(mxCodec, Object, Node)`.
`protected void` `mxObjectCodec.encodeValue(mxCodec enc, java.lang.Object obj, java.lang.String fieldname, java.lang.Object value, org.w3c.dom.Node node)` Converts the given value according to the mappings and id-refs in this codec and uses `mxObjectCodec.writeAttribute(mxCodec, Object, String, Object, Node)` to write the attribute into the given node.
`boolean` `mxObjectCodec.processInclude(mxCodec dec, org.w3c.dom.Node node, java.lang.Object into)` Returns true if the given node is an include directive and executes the include by decoding the XML document.
`protected void` `mxObjectCodec.writeAttribute(mxCodec enc, java.lang.Object obj, java.lang.String attr, java.lang.Object value, org.w3c.dom.Node node)` Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
`protected void` `mxObjectCodec.writeComplexAttribute(mxCodec enc, java.lang.Object obj, java.lang.String attr, java.lang.Object value, org.w3c.dom.Node node)` Writes the given value as a child node of the given node.
`protected void` `mxObjectCodec.writePrimitiveAttribute(mxCodec enc, java.lang.Object obj, java.lang.String attr, java.lang.Object value, org.w3c.dom.Node node)` Writes the given value as an attribute of the given node.

JGraph X 1.3.0.0

Copyright (c) 2008 Gaudenz Alder. All rights reserved.