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

Object
  extended by AbstractComplexBinding
      extended by GMLBoxTypeBinding
          extended by 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 Binding
AFTER, BEFORE, OVERRIDE
 
Constructor Summary
IonicStrategy.IonicGML2BoxTypeBinding()
           
 
Method Summary
 Object getProperty(Object object, 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 GMLBoxTypeBinding
getTarget, getType, parse
 
Methods inherited from class AbstractComplexBinding
encode, getExecutionMode, getProperties, getProperties, initializeChildContext
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IonicStrategy.IonicGML2BoxTypeBinding

public IonicStrategy.IonicGML2BoxTypeBinding()
Method Detail

getProperty

public Object getProperty(Object object,
                          QName name)
                   throws 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:
Exception
See Also:
ComplexBinding.getProperty(Object, QName)


Copyright © 1996-2009 Geotools. All Rights Reserved.