API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class WFSFormat

Package | org.openscales.core.format
Class | public class WFSFormat
Inheritance | WFSFormat GMLFormat Format

WFS writer extending GML format. Useful to WFS-T functionality.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined by
--- | --- | ---
|  | dim : Number | GMLFormat
|  | externalProj : ProjProjection | GMLFormat
|  | extractAttributes : Boolean | GMLFormat
|  | internalProj : ProjProjection | GMLFormat
|  | layer : WFS | WFSFormat

Protected Properties
Hide Inherited Protected Properties
Show Inherited Protected Properties

| Property | Defined by
--- | --- | ---
|  | _collectionName : String = "FeatureCollection" | GMLFormat
|  | _externalProj : ProjProjection = null | Format
|  | _featureName : String = "featureMember" | GMLFormat
|  | _featureNS : String = "http://openscales.org/OpenScales" | GMLFormat
|  | _featurePrefix : String = "OpenScales" | GMLFormat
|  | _geometryName : String = "geometry" | GMLFormat
|  | _gmlns : String = "http://www.opengis.net/gml" | GMLFormat
|  | _gmlprefix : String = "gml" | GMLFormat
|  | _internalProj : ProjProjection = null | Format
|  | _layerName : String = "features" | GMLFormat
|  | _wfsns : String = "http://www.opengis.net/wfs" | GMLFormat
|  | _wfsprefix : String = "wfs" | GMLFormat

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined by
--- | --- | ---
|  | WFSFormat(layer:WFS) WFSFormat constructor | WFSFormat
|  | buildCoordinatesNode(geometry:Object):XML Builds the coordinates XmlNode | GMLFormat
|  | buildGeometryNode(geometry:Object):XML create a GML Object | GMLFormat
|  | createFeatureXML(feature:Feature):XML Create an XML feature | WFSFormat
|  | destroy():void | WFSFormat
|  | insert(feature:Feature):XML Takes a feature, and generates a WFS-T Transaction "Insert" | WFSFormat
|  | parseAttributes(xmlNode:XML):Object Parse attributes | GMLFormat
|  | parseCoords(xmlNode:XML):Array Return an array of coords | GMLFormat
|  | parseFeature(xmlNode:XML):Feature It creates the geometries that are then attached to the returned feature, and calls parseAttributes() to get attribute data out. | GMLFormat
|  | parsePolygonNode(polygonNode:Object):Polygon Given a GML node representing a polygon geometry | GMLFormat
|  | read(data:Object):Object Read data | GMLFormat
|  | remove(feature:Feature):XMLNode Takes a feature, and generates a WFS-T Transaction "Delete" | WFSFormat
|  | update(feature:Feature):XMLNode Takes a feature, and generates a WFS-T Transaction "Update" | WFSFormat
|  | write(features:Object):Object Takes a feature list, and generates a WFS-T Transaction | WFSFormat

Property detail

layer | property

`layer:WFS` [read-write]Implementation
`public function get layer():WFS`
`public function set layer(value:WFS):void`
Constructor detail

WFSFormat | () | constructor

`public function WFSFormat(layer:WFS)`

WFSFormat constructor

Parameters

| `layer:WFS`

Method detail

createFeatureXML | () | method

`public override function createFeatureXML(feature:Feature):XML`

Create an XML feature

Parameters

| `feature:Feature` — A vectorfeature

Returns

| `XML`

destroy | () | method |

`public function destroy():void`

insert | () | method |

`public function insert(feature:Feature):XML`

Takes a feature, and generates a WFS-T Transaction "Insert"

Parameters

| `feature:Feature`

Returns

| `XML`

remove | () | method |

`public function remove(feature:Feature):XMLNode`

Takes a feature, and generates a WFS-T Transaction "Delete"

Parameters

| `feature:Feature`

Returns

| `XMLNode`

update | () | method |

`public function update(feature:Feature):XMLNode`

Takes a feature, and generates a WFS-T Transaction "Update"

Parameters

| `feature:Feature`

Returns

| `XMLNode`

write | () | method |

`public override function write(features:Object):Object`

Takes a feature list, and generates a WFS-T Transaction

Parameters

| `features:Object`

Returns

| `Object`