com::mxgraph::mxStylesheetCodec Class Reference

Codec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry. More...

Inheritance diagram for com::mxgraph::mxStylesheetCodec:
com::mxgraph::mxObjectCodec

List of all members.

Public Member Functions

 mxStylesheetCodec ()
 Constructs a new stylesheet codec.
 mxStylesheetCodec (Object template)
 Constructs a new stylesheet codec for the given template.
 mxStylesheetCodec (Object template, String[] exclude, String[] idrefs, Dictionary< string, string > mapping)
 Constructs a new stylesheet codec for the given arguments.
override XmlNode Encode (mxCodec enc, Object obj)
 Encode the given mxStylesheet.
override Object Decode (mxCodec dec, XmlNode node, Object into)
 Decodes the given mxStylesheet.

Protected Member Functions

string getStringValue (KeyValuePair< string, Object > entry)
 Returns the string for encoding the given value.

Detailed Description

Codec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.


Constructor & Destructor Documentation

com::mxgraph::mxStylesheetCodec::mxStylesheetCodec (  )  [inline]

Constructs a new stylesheet codec.

com::mxgraph::mxStylesheetCodec::mxStylesheetCodec ( Object  template  )  [inline]

Constructs a new stylesheet codec for the given template.

com::mxgraph::mxStylesheetCodec::mxStylesheetCodec ( Object  template,
String[]  exclude,
String[]  idrefs,
Dictionary< string, string >  mapping 
) [inline]

Constructs a new stylesheet codec for the given arguments.


Member Function Documentation

override Object com::mxgraph::mxStylesheetCodec::Decode ( mxCodec  dec,
XmlNode  node,
Object  into 
) [inline, virtual]

Decodes the given mxStylesheet.

Reimplemented from com::mxgraph::mxObjectCodec.

override XmlNode com::mxgraph::mxStylesheetCodec::Encode ( mxCodec  enc,
Object  obj 
) [inline, virtual]

Encode the given mxStylesheet.

Reimplemented from com::mxgraph::mxObjectCodec.

string com::mxgraph::mxStylesheetCodec::getStringValue ( KeyValuePair< string, Object >  entry  )  [inline, protected]

Returns the string for encoding the given value.


The documentation for this class was generated from the following file:
Generated on Mon Oct 29 20:11:49 2012 for mxGraph by  doxygen 1.6.3