org.geotools.data.wfs.v1_1_0
Class IonicStrategy.IonicGML2BoxTypeBinding

java.lang.Object
  extended by org.geotools.xml.AbstractComplexBinding
      extended by org.geotools.gml2.bindings.GMLBoxTypeBinding
          extended by org.geotools.data.wfs.v1_1_0.IonicStrategy.IonicGML2BoxTypeBinding
All Implemented Interfaces:
Binding, ComplexBinding
Enclosing class:
IonicStrategy

public static class IonicStrategy.IonicGML2BoxTypeBinding
extends GMLBoxTypeBinding

A gml:Box binding to override the default one to adapt to the Ionic server that recognizes <gml:Box><gml:coordinates> but not <gml:Box><gml:coord>...

Author:
Gabriel Roldan

Field Summary
 
Fields inherited from interface org.geotools.xml.Binding
AFTER, BEFORE, OVERRIDE
 
Constructor Summary
IonicStrategy.IonicGML2BoxTypeBinding()
           
 
Method Summary
 java.lang.Object getProperty(java.lang.Object object, javax.xml.namespace.QName name)
          Returns a CoordinateSequence for the coordinates property so its handled by a GMLCoordinatesTypeBinding at encoding time as gml:coordinates that Ionic understands
 
Methods inherited from class org.geotools.gml2.bindings.GMLBoxTypeBinding
getTarget, getType, parse
 
Methods inherited from class org.geotools.xml.AbstractComplexBinding
encode, getExecutionMode, getProperties, getProperties, initializeChildContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IonicStrategy.IonicGML2BoxTypeBinding

public IonicStrategy.IonicGML2BoxTypeBinding()
Method Detail

getProperty

public java.lang.Object getProperty(java.lang.Object object,
                                    javax.xml.namespace.QName name)
                             throws java.lang.Exception
Returns a CoordinateSequence for the coordinates property so its handled by a GMLCoordinatesTypeBinding at encoding time as gml:coordinates that Ionic understands

Specified by:
getProperty in interface ComplexBinding
Overrides:
getProperty in class GMLBoxTypeBinding
Parameters:
object - The object being encoded.
name - The name of the property to obtain.
Returns:
The value of the property, or null.
Throws:
java.lang.Exception
See Also:
ComplexBinding.getProperty(Object, QName)


Copyright © 1996-2010 Geotools. All Rights Reserved.