Method | Defined by | ||
---|---|---|---|
getNextSibling(x:XML):XML
[static]
Returns the next sibling of the specified node relative to the node's parent.
| XMLUtil | ||
getPreviousSibling(x:XML):XML
[static]
Returns the sibling before the specified node relative to the node's parent.
| XMLUtil | ||
isValidXML(data:String):Boolean
[static]
Checks whether the specified string is valid and well formed XML.
| XMLUtil |
Method | Defined by | ||
---|---|---|---|
getSiblingByIndex(x:XML, count:int):XML
[static]
| XMLUtil |
Constant | Defined by | ||
---|---|---|---|
ATTRIBUTE : String = "attribute" [static]
Constant representing an attribute type returned from XML.nodeKind.
| XMLUtil | ||
COMMENT : String = "comment" [static]
Constant representing a comment node type returned from XML.nodeKind.
| XMLUtil | ||
ELEMENT : String = "element" [static]
Constant representing a element type returned from XML.nodeKind.
| XMLUtil | ||
PROCESSING_INSTRUCTION : String = "processing-instruction" [static]
Constant representing a processing instruction type returned from XML.nodeKind.
| XMLUtil | ||
TEXT : String = "text" [static]
Constant representing a text node type returned from XML.nodeKind.
| XMLUtil |
getNextSibling | () | method |
public static function getNextSibling(x:XML):XML
Returns the next sibling of the specified node relative to the node's parent.
Parametersx:XML — The node whose next sibling will be returned.
|
XML — The next sibling of the node. null if the node does not have
a sibling after it, or if the node has no parent.
|
getPreviousSibling | () | method |
public static function getPreviousSibling(x:XML):XML
Returns the sibling before the specified node relative to the node's parent.
Parametersx:XML — The node whose sibling before it will be returned.
|
XML — The sibling before the node. null if the node does not have
a sibling before it, or if the node has no parent.
|
getSiblingByIndex | () | method |
protected static function getSiblingByIndex(x:XML, count:int):XML
Parameters
x:XML |
|
count:int |
XML |
isValidXML | () | method |
public static function isValidXML(data:String):Boolean
Checks whether the specified string is valid and well formed XML.
Parametersdata:String — The string that is being checked to see if it is valid XML.
|
Boolean — A Boolean value indicating whether the specified string is
valid XML.
|
ATTRIBUTE | constant |
public static const ATTRIBUTE:String = "attribute"
Constant representing an attribute type returned from XML.nodeKind.
See also
COMMENT | constant |
public static const COMMENT:String = "comment"
Constant representing a comment node type returned from XML.nodeKind.
See also
ELEMENT | constant |
public static const ELEMENT:String = "element"
Constant representing a element type returned from XML.nodeKind.
See also
PROCESSING_INSTRUCTION | constant |
public static const PROCESSING_INSTRUCTION:String = "processing-instruction"
Constant representing a processing instruction type returned from XML.nodeKind.
See also
TEXT | constant |
public static const TEXT:String = "text"
Constant representing a text node type returned from XML.nodeKind.
See also