Packagecom.whirled.contrib.avrg.probe
Classpublic class ObjectParameter
InheritanceObjectParameter Inheritance Parameter

Parameter type for automatically parsing any basic actionscript object type. This is a relatively full-featured parser and can handle nestings of different object types and separator characters embedded in strings. For example, a dictionary that maps "A" to an array of dictionaries and maps "3" to null: {"A":[{"]":"foo", "}":bar", "bang":"howdy"}], 3: null}



Public Properties
 PropertyDefined by
 Inheritedname : String
The name of the parameter.
Parameter
 Inheritednullable : Boolean
Whether null may be passed for this parameter's value.
Parameter
 Inheritedoptional : Boolean
Whether this parameter may be omitted when calling the function.
Parameter
 Inheritedtype : Class
The type of the parameter.
Parameter
  typeDisplay : String
[read-only] A concise string representing the type of the parameter for user interfaces.
ObjectParameter
Protected Properties
 PropertyDefined by
 Inherited_flags : uint
Parameter
 Inherited_name : String
Parameter
 Inherited_type : Class
Parameter
  _underlying : Class
ObjectParameter
Public Methods
 MethodDefined by
  
ObjectParameter(name:String, flags:uint = 0)
Creates a new object parameter.
ObjectParameter
 Inherited
isAlpha(char:String):Boolean
[static] Tests if a character is alphabetic.
Parameter
 Inherited
isDigit(char:String):Boolean
[static] Tests if a character is a digit.
Parameter
  
parse(input:String):Object
Translates a string to an object of this parameter's type.
ObjectParameter
Public Constants
 ConstantDefined by
 InheritedNULLABLE : int = 2
[static] Flag value for parameters that may take null.
Parameter
 InheritedOPTIONAL : int = 1
[static] Flag value for parameters that are optional.
Parameter
Property detail
typeDisplayproperty
typeDisplay:String  [read-only]

A concise string representing the type of the parameter for user interfaces.

Implementation
    public function get typeDisplay():String
_underlyingproperty 
protected var _underlying:Class
Constructor detail
ObjectParameter()constructor
public function ObjectParameter(name:String, flags:uint = 0)

Creates a new object parameter.

Parameters
name:String — the name of the parameter
 
flags:uint (default = 0) — optional flags to pass to the superclass
Method detail
parse()method
public override function parse(input:String):Object

Translates a string to an object of this parameter's type.

Parameters
input:String

Returns
Object