GODPAPER | All Packages | All Classes | Index | Frames No Frames |
PGNDecoder

Package | com.godpaper.as3.serialization
Class | public class PGNDecoder
Inheritance | PGNDecoder Object

PGNDecoder.as class.

Public Methods

| Method | Defined By
--- | --- | ---
|  | PGNDecoder(s:String, strict:Boolean) Constructs a new PGNDecoder to parse a PGN string into a native object. | PGNDecoder
|  | getValue():* Gets the internal object that was created by parsing the PGN string passed to the constructor. | PGNDecoder

Constructor Detail

PGNDecoder | () | Constructor

`public function PGNDecoder(s:String, strict:Boolean)`

Language Version : | ActionScript 3.0

Runtime Versions : | AIR 1.0, Flash Player 9.0

Constructs a new PGNDecoder to parse a PGN string into a native object.

Parameters

| `s:String` — The PGN string to be converted into a native object
| `strict:Boolean` — Flag indicating if the PGN string needs to strictly match the PGN standard or not.

Method Detail

getValue | () | method

`public function getValue():*`

Language Version : | ActionScript 3.0

Runtime Versions : | AIR 1.0, Flash Player 9.0

Gets the internal object that was created by parsing the PGN string passed to the constructor.

Returns

| `*` — The internal object representation of the PGN string that was passed to the constructor

Thu Jan 16 2014, 01:11 PM +08:00