org.geotools.gml3.bindings.ext
Class MultiPolygonTypeBinding

Object
  extended by AbstractComplexBinding
      extended by MultiPolygonTypeBinding
          extended by MultiPolygonTypeBinding
All Implemented Interfaces:
Comparable, Binding, ComplexBinding

public class MultiPolygonTypeBinding
extends MultiPolygonTypeBinding


Field Summary
 
Fields inherited from interface Binding
AFTER, BEFORE, OVERRIDE
 
Constructor Summary
MultiPolygonTypeBinding(GeometryFactory gFactory)
           
 
Method Summary
 int compareTo(Object o)
          Implement comparable because MultiPolygonBinding, MultiSurfaceBinding and Surface are bound to the same class, MultiPolygon.
 
Methods inherited from class MultiPolygonTypeBinding
getExecutionMode, getProperty, getTarget, getType, parse
 
Methods inherited from class AbstractComplexBinding
encode, getProperties, getProperties, initialize, initializeChildContext
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiPolygonTypeBinding

public MultiPolygonTypeBinding(GeometryFactory gFactory)
Method Detail

compareTo

public int compareTo(Object o)
Implement comparable because MultiPolygonBinding, MultiSurfaceBinding and Surface are bound to the same class, MultiPolygon. Since MultiPolygon is deprecated by gml3 and MultiSurface only has children that are also mapped to MultiPolygons, Surface always wins.

Specified by:
compareTo in interface Comparable
Overrides:
compareTo in class MultiPolygonTypeBinding


Copyright © 1996-2014 Geotools. All Rights Reserved.