Superclass for Filter version 1 parsers.
OpenLayers. | Superclass for Filter version 1 parsers. |
Properties | |
namespaces | {Object} Mapping of namespace aliases to namespace URIs. |
defaultPrefix | |
schemaLocation | {String} Schema location for a particular minor version. |
Constructor | |
OpenLayers. | Instances of this class are not created directly. |
Functions and Properties | |
read | |
readers | Contains public functions, grouped by namespace prefix, that will be applied when a namespaced node is found matching the function name. |
readSpatial | Read a {OpenLayers.Filter.Spatial} filter. |
writeOgcExpression | Limited support for writing OGC expressions. |
write | |
writeFeatureIdNodes | |
writers | As a compliment to the readers property, this structure contains public writing functions grouped by namespace alias and named like the node names they produce. |
getFilterType | |
filterMap | {Object} Contains a member for each filter type. |
Instances of this class are not created directly. Use the OpenLayers.Format.Filter constructor instead.
options | {Object} An optional object whose properties will be set on this instance. |
read: function( data )
data | {DOMElement} A Filter document element. |
{OpenLayers.Filter} A filter object.
readSpatial: function( node, obj, type )
Read a {OpenLayers.Filter.Spatial} filter.
node | {DOMElement} A DOM element that contains an ogc:expression. |
obj | {Object} The target object. |
type | {String} One of the OpenLayers.Filter.Spatial.* constants. |
{OpenLayers.Filter.Spatial} The created filter.
writeOgcExpression: function( value, node )
Limited support for writing OGC expressions. Currently it supports (OpenLayers.Filter.Function || String || Number)
value | (OpenLayers.Filter.Function || String || Number) |
node | {DOMElement} A parent DOM element |
{DOMElement} Updated node element.
write: function( filter )
filter | {OpenLayers.Filter} A filter object. |
{DOMElement} An ogc:Filter element.
read: function( data )
Read a {OpenLayers.Filter.Spatial} filter.
readSpatial: function( node, obj, type )
Limited support for writing OGC expressions.
writeOgcExpression: function( value, node )
write: function( filter )
writeFeatureIdNodes: function( filter, node )
getFilterType: function( filter )