| Pakiet | mx.rpc.xml |
| Interfejs | public interface IXMLEncoder |
| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Właściwości publiczne
| Właściwość | Zdefiniowane przez | ||
|---|---|---|---|
| strictNillability : Boolean
When strictNillability is set to true, null values
are encoded according to XML Schema rules (requires nillable=true
to be set in the definition). | IXMLEncoder | ||
| xmlSpecialCharsFilter : Function
The function to be used to escape XML special characters before encoding
any simple content. | IXMLEncoder | ||
Metody publiczne
| Metoda | Zdefiniowane przez | ||
|---|---|---|---|
Encodes an ActionScript value as XML. | IXMLEncoder | ||
Resets the encoder to its initial state, including resetting any
Schema scope to the top level. | IXMLEncoder | ||
Szczegół właściwości
strictNillability | właściwość |
strictNillability:Boolean| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
When strictNillability is set to true, null values
are encoded according to XML Schema rules (requires nillable=true
to be set in the definition). When strictNillability is set to
false, null values are always encoded with the
xsi:nil="true" attribute. The default is false.
Implementacja
public function get strictNillability():Boolean public function set strictNillability(value:Boolean):voidxmlSpecialCharsFilter | właściwość |
xmlSpecialCharsFilter:Function| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
The function to be used to escape XML special characters before encoding any simple content.
Implementacja
public function get xmlSpecialCharsFilter():Function public function set xmlSpecialCharsFilter(value:Function):voidSzczegół metody
encode | () | metoda |
public function encode(value:*, name:QName = null, type:QName = null, definition:XML = null):XMLList| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Encodes an ActionScript value as XML.
Parametry
value:* — The ActionScript value to encode as XML.
| |
name:QName (default = null) — The QName of an XML Schema element that
describes how to encode the value, or the name to be used for the
encoded XML node when a type parameter is also specified.
| |
type:QName (default = null) — The QName of an XML Schema simpleType or
complexType definition that describes how to encode the
value.
| |
definition:XML (default = null) — If neither a top-level element nor type exists in the
schema to describe how to encode this value, a custom element definition
can be provided.
|
XMLList — Returns an XML encoding of the given ActionScript value.
|
reset | () | metoda |
public function reset():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Resets the encoder to its initial state, including resetting any Schema scope to the top level.
Tue Jun 12 2018, 12:06 PM Z