Package | flex.lang.reflect.metadata |
Class | public class MetaDataArgument |
Inheritance | MetaDataArgument ![]() |
Property | Defined By | ||
---|---|---|---|
key : String [read-only]
Retrieves the key of an argument. | MetaDataArgument | ||
unpaired : Boolean [read-only]
Indicates if the argument is unpaired. | MetaDataArgument | ||
value : String [read-only]
Retrieves the value portion of an argument. | MetaDataArgument |
Method | Defined By | ||
---|---|---|---|
MetaDataArgument(argumentXML:XML)
Constructor
Parses nodes returned from a call to describeType to provide an object wrapper. | MetaDataArgument | ||
equals(item:MetaDataArgument):Boolean
Compares two MetaDataArguments for key and value equality
| MetaDataArgument |
key | property |
key:String
[read-only] Retrieves the key of an argument. Read Only. (The name of a name/value pair.)
public function get key():String
unpaired | property |
unpaired:Boolean
[read-only] Indicates if the argument is unpaired. Given the following example: [RunWith("org.flexunit.runners.Suite",order=1)] order="1" is a paired argument where as "org.flexunit.runners.Suite" is unpaired.
public function get unpaired():Boolean
value | property |
value:String
[read-only] Retrieves the value portion of an argument. Read Only. (The value of a name/value pair.)
public function get value():String
MetaDataArgument | () | Constructor |
public function MetaDataArgument(argumentXML:XML)
Constructor
Parses nodes returned from a call to describeType
to provide an object wrapper.
Expected format of the argument is
argumentXML:XML — XML node.
|
equals | () | method |
public function equals(item:MetaDataArgument):Boolean
Compares two MetaDataArguments for key and value equality
Parameters
item:MetaDataArgument |
Boolean — Returns boolean indicating equality
|