Codec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry. More...
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. |
Codec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.
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.
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.