| Package | mx.utils |
| Class | public class XMLUtil |
| Inheritance | XMLUtil Object |
XMLUtil.qnamesEqual() method.
| Method | Defined By | ||
|---|---|---|---|
|
[static]
Creates XML out of the specified string, ignoring whitespace.
| XMLUtil | ||
|
[static]
Returns the XML value of an attribute matching the given QName
| XMLUtil | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
|
[static]
Returns true if the two QName parameters have identical
uri and localName properties.
| XMLUtil | ||
|
[static]
Returns the concatenation of a Qname object's
uri and localName properties,
separated by a colon.
| XMLUtil | ||
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| createXMLDocument | () | method |
public static function createXMLDocument(str:String):XMLDocument
Creates XML out of the specified string, ignoring whitespace.
This method is used to create objects defined in
<mx:XML> tags and WebService requests,
although they, in turn, get the firstChild
of the structure.
Parameters
str:String — XML string.
|
XMLDocument — New XML object that ignored whitespace.
|
| getAttributeByQName | () | method |
public static function getAttributeByQName(xml:XML, attrQName:QName):XMLList
Returns the XML value of an attribute matching the given QName
Parameters
xml:XML — the XML object being inspected
|
|
attrQName:QName — the QName of the attribute to find
|
XMLList — XMLList of matching attributes or an empty list if none are found.
|
| qnamesEqual | () | method |
public static function qnamesEqual(qname1:QName, qname2:QName):Boolean
Returns true if the two QName parameters have identical
uri and localName properties.
Parameters
qname1:QName — First QName object.
|
|
qname2:QName — Second QName object.
|
Boolean —
true if the two QName parameters have identical
uri and localName properties.
|
| qnameToString | () | method |
public static function qnameToString(qname:QName):String
Returns the concatenation of a Qname object's
uri and localName properties,
separated by a colon.
If the object does not have a uri property,
or the value of uri is the empty string,
returns the localName property.
Parameters
qname:QName — QName object.
|
String — Concatenation of a Qname object's
uri and localName properties,
separated by a colon.
|