| Namespace | tinymce.dom |
| Class | Serializer |
| Method | Defined By |
|---|---|
|
Serializer(s:Object)
Constucts a new DOM serializer class.
|
Serializer |
|
addRules(s:String):void
Adds valid elements rules to the serializer this enables you to specify things like what elements should be outputted an...
|
Serializer |
|
addValidChildRules(s:String):void
Adds valid child rules.
|
Serializer |
|
findAttribRule(ru:Object, n:String):Object
Finds an attribute rule object by name.
|
Serializer |
|
findRule(n:String):Object
Finds a rule object by name.
|
Serializer |
|
serialize(n:Element, o:Object):String
Serializes the specified node into a HTML string.
|
Serializer |
|
setEntities(s:String):void
Sets a list of entities to use for the named entity encoded.
|
Serializer |
|
setRules(s:String):void
Sets the valid elements rules of the serializer this enables you to specify things like what elements should be outputte...
|
Serializer |
|
setValidChildRules(s:String):void
Sets the valid child rules.
|
Serializer |
public
function Serializer(s:Object)
| s:Object | Optional name/Value collection of settings for the serializer. |
public
function addRules(s:String):void
| s:String | Valid elements rules string to add. |
public
function addValidChildRules(s:String):void
| s:String | String with valid child rules to add. |
public
function findAttribRule(ru:Object, n:String):Object
| ru:Object | Rule object to search though. |
| n:String | Name of the rule to retrive. |
public
function findRule(n:String):Object
| n:String | Name to look for in rules collection. |
public
function serialize(n:Element, o:Object):String
| n:Element | Element/Node to serialize. |
| o:Object | Object to add serialized contents to, this object will also be passed to the event listeners. |
public
function setEntities(s:String):void
| s:String | List of entities in the following format: number,name,.... |
public
function setRules(s:String):void
| s:String | Valid elements rules string. |
public
function setValidChildRules(s:String):void
| s:String | String with valid child rules. |