tinymce.html.Serializer

Namespace tinymce.html
Class Serializer
This class is used to serialize down the DOM tree into a string using a Writer instance.
Version:3.4

Example

Public Methods

Method Defined By
Serializer(settings:Object, schema:Schema)
Constructs a new Serializer instance.
Serializer
serialize(node:Node):String
Serializes the specified node into a string.
Serializer

Method details

Serializerconstructor

public function Serializer(settings:Object, schema:Schema)
Constructs a new Serializer instance.

Parameters

settings:Object Name/value settings object.
schema:Schema Schema instance to use.

serializemethod

public function serialize(node:Node):String
Serializes the specified node into a string.

Parameters

node:Node Node instance to serialize.

Returns

String - String with HTML based on DOM tree.

Example