| Pakiet | mx.utils |
| Klasa | public class XMLUtil |
| Dziedziczenie | XMLUtil Object |
| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
XMLUtil.qnamesEqual() method.
Właściwości publiczne
Metody publiczne
| Metoda | Zdefiniowane przez | ||
|---|---|---|---|
[statyczny]
Creates XML out of the specified string, ignoring whitespace. | XMLUtil | ||
[statyczny]
Returns the XML value of an attribute matching the given QName
| XMLUtil | ||
![]() |
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | |
![]() |
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | |
![]() |
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | |
[statyczny]
Returns true if the two QName parameters have identical
uri and localName properties. | XMLUtil | ||
[statyczny]
Returns the concatenation of a Qname object's
uri and localName properties,
separated by a colon. | XMLUtil | ||
![]() |
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | |
![]() |
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | |
![]() |
Zwraca ciąg reprezentujący określony obiekt. | Object | |
![]() |
Zwraca pierwotną wartość dla określonego obiektu. | Object | |
Szczegół metody
createXMLDocument | () | metoda |
public static function createXMLDocument(str:String):XMLDocument| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
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.
Parametry
str:String — XML string.
|
XMLDocument — New XML object that ignored whitespace.
|
getAttributeByQName | () | metoda |
public static function getAttributeByQName(xml:XML, attrQName:QName):XMLList| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns the XML value of an attribute matching the given QName
Parametry
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 | () | metoda |
public static function qnamesEqual(qname1:QName, qname2:QName):Boolean| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns true if the two QName parameters have identical
uri and localName properties.
Parametry
qname1:QName — First QName object.
| |
qname2:QName — Second QName object.
|
Boolean — true if the two QName parameters have identical
uri and localName properties.
|
qnameToString | () | metoda |
public static function qnameToString(qname:QName):String| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
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.
Parametry
qname:QName — QName object.
|
String — Concatenation of a Qname object's
uri and localName properties,
separated by a colon.
|
Tue Jun 12 2018, 12:06 PM Z
Ukryj dziedziczone właściwości publiczne
Pokaż dziedziczone właściwości publiczne