-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathXMLNode.as
executable file
·43 lines (40 loc) · 1.72 KB
/
XMLNode.as
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//****************************************************************************
// ActionScript Standard Library
// XML Document Object Model
//****************************************************************************
dynamic intrinsic class XMLNode
{
var attributes:Object;
var childNodes:Array;
var firstChild:XMLNode;
var lastChild:XMLNode;
var nextSibling:XMLNode;
var nodeName:String;
var nodeType:Number;
var nodeValue:String;
var parentNode:XMLNode;
var previousSibling:XMLNode;
var localName:String; //Property containing
var prefix:String; //
var namespaceURI:String; //
function XMLNode(type:Number, value:String);
function appendChild(newChild:XMLNode):Void;
function cloneNode(deep:Boolean):XMLNode;
function hasChildNodes():Boolean;
function insertBefore(newChild:XMLNode,insertPoint:XMLNode):Void
function removeNode():Void;
function toString():String;
function addTreeNode(arg1:Object, arg2:Object):XMLNode; //Tree mixin
function addTreeNodeAt(index:Number, arg1:Object, arg2:Object):XMLNode; //Tree mixin;untyped args for "overloading"
function getTreeNodeAt(index:Number):XMLNode; //Tree mixin
function removeTreeNode():XMLNode; //Tree mixin
function removeTreeNodeAt(index:Number):XMLNode; //Tree mixin
function addMenuItem(arg:Object):XMLNode; //Menu mixin
function addMenuItemAt(index:Number, arg:Object):XMLNode; //Menu mixin
function getMenuItemAt(index:Number):XMLNode; //Menu mixin
function indexOf(node:XMLNode):Number; //Menu mixin
function removeMenuItem():XMLNode; //Menu mixin
function removeMenuItemAt(index:Number):XMLNode; //Menu mixin
function getPrefixForNamespace(nsURI:String):String //Function which
function getNamespaceForPrefix(prefix:String):String
}