org.deegree.geometry.refs
Class GeometricPrimitiveReference<T extends GeometricPrimitive>

java.lang.Object
  extended by org.deegree.commons.tom.Reference<T>
      extended by org.deegree.commons.tom.gml.GMLReference<T>
          extended by org.deegree.geometry.refs.GeometryReference<T>
              extended by org.deegree.geometry.refs.GeometricPrimitiveReference<T>
Type Parameters:
T -
All Implemented Interfaces:
GMLObject, Object, TypedObjectNode, Geometry, GeometricPrimitive
Direct Known Subclasses:
CurveReference, PointReference, SurfaceReference

public class GeometricPrimitiveReference<T extends GeometricPrimitive>
extends GeometryReference<T>
implements GeometricPrimitive

The class TODO add class documentation here.

Version:
$Revision: 31641 $, $Date: 2011-08-24 21:24:55 +0200 (Wed, 24 Aug 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.GeometricPrimitive
GeometricPrimitive.PrimitiveType
 
Nested classes/interfaces inherited from interface org.deegree.geometry.Geometry
Geometry.GeometryType
 
Constructor Summary
GeometricPrimitiveReference(GMLReferenceResolver resolver, String uri, String baseURL)
          Creates a new GeometricPrimitiveReference instance.
 
Method Summary
 Geometry.GeometryType getGeometryType()
          Returns the type of geometry.
 GeometricPrimitive.PrimitiveType getPrimitiveType()
          Returns the type of primitive.
 
Methods inherited from class org.deegree.geometry.refs.GeometryReference
contains, crosses, equals, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDifference, getDistance, getEnvelope, getGMLProperties, getIntersection, getPrecision, getUnion, intersects, isBeyond, isDisjoint, isSFSCompliant, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, touches
 
Methods inherited from class org.deegree.commons.tom.Reference
getId, getReferencedObject, getURI, isLocal, isResolved, resolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.geometry.Geometry
contains, crosses, equals, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDifference, getDistance, getEnvelope, getId, getIntersection, getPrecision, getUnion, intersects, isBeyond, isDisjoint, isSFSCompliant, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, touches
 
Methods inherited from interface org.deegree.commons.tom.gml.GMLObject
getGMLProperties
 

Constructor Detail

GeometricPrimitiveReference

public GeometricPrimitiveReference(GMLReferenceResolver resolver,
                                   String uri,
                                   String baseURL)
Creates a new GeometricPrimitiveReference instance.

Parameters:
resolver - used for resolving the reference, must not be null
uri - the geometry's uri, must not be null
baseURL - base URL for resolving the uri, may be null (no resolving of relative URLs)
Method Detail

getGeometryType

public Geometry.GeometryType getGeometryType()
Description copied from interface: Geometry
Returns the type of geometry.

Specified by:
getGeometryType in interface Geometry
Specified by:
getGeometryType in interface GeometricPrimitive
Overrides:
getGeometryType in class GeometryReference<T extends GeometricPrimitive>
Returns:
the type of geometry

getPrimitiveType

public GeometricPrimitive.PrimitiveType getPrimitiveType()
Description copied from interface: GeometricPrimitive
Returns the type of primitive.

Specified by:
getPrimitiveType in interface GeometricPrimitive
Returns:
the type of primitive


Copyright © 2011. All Rights Reserved.