| Namespace | tinymce.html | 
| Class | Node | 
| Method | Defined By | 
|---|---|
| 
Node(name:String, type:Number) Constructs a new Node instance. | Node | 
| Appends a new node as a child of the current node. | Node | 
| Gets/sets or removes an attribute by name. | Node | 
| Does a shallow clones the node into a new node. | Node | 
| 
create(name:String, attrs:Object):void 
[static] Creates a node of a specific type. | Node | 
| Removes all children of the current node. | Node | 
| 
getAll(name:String):Array Get all children by name. | Node | 
| Inserts a node at a specific position as a child of the current node. | Node | 
| 
isEmpty(elements:Object):Boolean Returns true/false if the node is to be considered empty or not. | Node | 
| Removes the node from it's parent. | Node | 
| Replaces the current node with the specified one. | Node | 
| 
unwrap():void Unwraps the node in other words it removes the node but keeps the children. | Node | 
| Walks to the next or previous node and returns that node or null if it wasn't found. | Node | 
| 
wrap():void Wraps the node in in another node. | Node | 
public 
						function Node(name:String, type:Number)
| name:String | Name of the node type. | 
| type:Number | Numeric type representing the node. | 
public 
						function append(node:Node):Node
| node:Node | Node to append as a child of the current one. | 
public 
						function attr(name:String, value:String):String/Node
| name:String | Attribute name to set or get. | 
| value:String | Optional value to set. | 
public 
						function clone():Node
public static 
						function create(name:String, attrs:Object):void
| name:String | Name of the node type to create for example "b" or "#text". | 
| attrs:Object | Name/value collection of attributes that will be applied to elements. | 
public 
						function empty():Node
public 
						function getAll(name:String):Array
| name:String | Name of the child nodes to collect. | 
public 
						function insert(node:Node, ref_node:Node, before:Boolean):Node
| node:Node | Node to insert as a child of the current node. | 
| ref_node:Node | Reference node to set node before/after. | 
| before:Boolean | Optional state to insert the node before the reference node. | 
public 
						function isEmpty(elements:Object):Boolean
| elements:Object | Name/value object with elements that are automatically treated as non empty elements. | 
public 
						function remove():Node
public 
						function replace(node:Node):Node
| node:Node | Node to replace the current node with. | 
public 
						function unwrap():void
public 
						function walk(prev:Boolean):Node
| prev:Boolean | Optional previous node state defaults to false. | 
public 
						function wrap():void