| Package | com.asterisq.graph.parsers |
| Class | public class GraphParser |
| Inheritance | GraphParser flash.events.EventDispatcher |
| Implements | IGraphParser |
| Subclasses | AsyncGraphParser, DefaultGraphParser |
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new graph parser.
| GraphParser | ||
|
fromXML(graphParserElem:XML):IGraphParser
[static]
Creates an IGraphParser instance and initializes it with the given XML data.
| GraphParser | ||
|
Parses the given data and updates the given graph.
| GraphParser | ||
| Method | Defined by | ||
|---|---|---|---|
|
loadValuesFromXML(graphParserElem:XML):void
Load values from the given XML element into this GraphParser.
| GraphParser | ||
| GraphParser | () | constructor |
public function GraphParser()Creates a new graph parser.
| fromXML | () | method |
public static function fromXML(graphParserElem:XML):IGraphParser
Creates an IGraphParser instance and initializes it with the given XML data.
The particular IGraphParser that is loaded depends on the value of the class_name
attribute.
graphParserElem:XML |
IGraphParser |
| loadValuesFromXML | () | method |
protected function loadValuesFromXML(graphParserElem:XML):voidLoad values from the given XML element into this GraphParser.
ParametersgraphParserElem:XML |
| parse | () | method |
public function parse(graph:IGraph, data:*):voidParses the given data and updates the given graph.
Parametersgraph:IGraph |
|
data:* |