|
mxGraph 2.2.0.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use mxCodec | |
---|---|
com.mxgraph.io | This package contains all classes for input/output. |
com.mxgraph.sharing | This package contains all classes required for concurrent diagram editing by multiple clients. |
Uses of mxCodec in com.mxgraph.io |
---|
Methods in com.mxgraph.io with parameters of type mxCodec | |
---|---|
Object |
mxRootChangeCodec.afterDecode(mxCodec dec,
Node node,
Object obj)
|
Object |
mxChildChangeCodec.afterDecode(mxCodec dec,
Node node,
Object obj)
|
Object |
mxGenericChangeCodec.afterDecode(mxCodec dec,
Node node,
Object obj)
|
Object |
mxTerminalChangeCodec.afterDecode(mxCodec dec,
Node node,
Object obj)
|
Object |
mxObjectCodec.afterDecode(mxCodec dec,
Node node,
Object obj)
Hook for subclassers to post-process the object after decoding. |
Node |
mxRootChangeCodec.afterEncode(mxCodec enc,
Object obj,
Node node)
|
Node |
mxChildChangeCodec.afterEncode(mxCodec enc,
Object obj,
Node node)
|
Node |
mxObjectCodec.afterEncode(mxCodec enc,
Object obj,
Node node)
Hook for subclassers to post-process the node for the given object after encoding and return the post-processed node. |
Node |
mxCellCodec.afterEncode(mxCodec enc,
Object obj,
Node node)
Encodes an mxCell and wraps the XML up inside the XML of the user object (inversion). |
Node |
mxRootChangeCodec.beforeDecode(mxCodec dec,
Node node,
Object into)
Reads the cells into the graph model. |
Node |
mxChildChangeCodec.beforeDecode(mxCodec dec,
Node node,
Object into)
Reads the cells into the graph model. |
Node |
mxObjectCodec.beforeDecode(mxCodec dec,
Node node,
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) . |
Node |
mxCellCodec.beforeDecode(mxCodec dec,
Node node,
Object obj)
Decodes an mxCell and uses the enclosing XML node as the user object for the cell (inversion). |
Node |
mxModelCodec.beforeDecode(mxCodec dec,
Node node,
Object into)
Reads the cells into the graph model. |
Object |
mxObjectCodec.beforeEncode(mxCodec enc,
Object obj,
Node node)
Hook for subclassers to pre-process the object before encoding. |
Object |
mxObjectCodec.decode(mxCodec dec,
Node node)
Parses the given node into the object or returns a new object representing the given node. |
Object |
mxStylesheetCodec.decode(mxCodec dec,
Node node,
Object into)
Decodes the given mxStylesheet. |
Object |
mxObjectCodec.decode(mxCodec dec,
Node node,
Object into)
Parses the given node into the object or returns a new object representing the given node. |
protected void |
mxObjectCodec.decodeAttribute(mxCodec dec,
Node attr,
Object obj)
Reads the given attribute into the specified object. |
protected void |
mxObjectCodec.decodeAttributes(mxCodec dec,
Node node,
Object obj)
Decodes all attributes of the given node using decodeAttribute. |
protected void |
mxObjectCodec.decodeChild(mxCodec dec,
Node child,
Object obj)
Reads the specified child into the given object. |
protected void |
mxObjectCodec.decodeChildren(mxCodec dec,
Node node,
Object obj)
Decodec all children of the given node using decodeChild. |
protected void |
mxObjectCodec.decodeNode(mxCodec dec,
Node node,
Object obj)
Calls decodeAttributes and decodeChildren for the given node. |
Node |
mxStylesheetCodec.encode(mxCodec enc,
Object obj)
Encodes the given mxStylesheet. |
Node |
mxObjectCodec.encode(mxCodec enc,
Object obj)
Encodes the specified object and returns a node representing then given object. |
protected void |
mxObjectCodec.encodeElements(mxCodec enc,
Object obj,
Node node)
Encodes the child objects of arrays, maps and collections. |
protected void |
mxObjectCodec.encodeFields(mxCodec enc,
Object obj,
Node node)
Encodes the declared fields of the given object into the given node. |
protected void |
mxObjectCodec.encodeObject(mxCodec enc,
Object obj,
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 |
mxModelCodec.encodeObject(mxCodec enc,
Object obj,
Node node)
Encodes the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec. |
protected void |
mxObjectCodec.encodeValue(mxCodec enc,
Object obj,
String fieldname,
Object value,
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,
Node node,
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,
Object obj,
String attr,
Object value,
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,
Object obj,
String attr,
Object value,
Node node)
Writes the given value as a child node of the given node. |
protected void |
mxObjectCodec.writePrimitiveAttribute(mxCodec enc,
Object obj,
String attr,
Object value,
Node node)
Writes the given value as an attribute of the given node. |
Uses of mxCodec in com.mxgraph.sharing |
---|
Fields in com.mxgraph.sharing declared as mxCodec | |
---|---|
protected mxCodec |
mxSharedGraphModel.codec
|
|
mxGraph 2.2.0.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |