xmlSpecialCharsFilter:Function
[read-write]
The function to be used to escape XML special characters before encoding
any simple content.
Implementation
public function get xmlSpecialCharsFilter():Function
public function set xmlSpecialCharsFilter(value:Function):void
public function encode(value:*, name:QName = null, type:QName = null, definition:XML = null):XMLList
Encodes an ActionScript value as XML.
Parameters
| 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.
|
Returns
public function reset():void
Resets the encoder to its initial state, including resetting any
Schema scope to the top level.