|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.graphics.displayelements.DisplayElementFactory
public class DisplayElementFactory
Factory class for the different kinds of DisplayElement
s.
Constructor Summary | |
---|---|
DisplayElementFactory()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisplayElementFactory()
Method Detail |
---|
public DisplayElement[] createDisplayElement(java.lang.Object o, UserStyle[] styles) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException, GeometryException, PropertyPathResolvingException
o
- styles
-
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
GeometryException
PropertyPathResolvingException
public DisplayElement[] createDisplayElement(java.lang.Object o, UserStyle[] styles, GetMap request) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException, GeometryException, PropertyPathResolvingException
Feature
or GridCoverage
.
o
- styles
- request
-
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
GeometryException
PropertyPathResolvingException
public static DisplayElement buildDisplayElement(java.lang.Object o, Symbolizer symbolizer) throws IncompatibleGeometryTypeException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException, GeometryException, PropertyPathResolvingException
DisplayElement
using the given Feature
or GridCoverage
and Symbolizer
.
o
- contains the geometry or raster information (Feature or GridCoverage)symbolizer
- contains the drawing (style) information and selects the geometry property of the Feature
to be drawn
DisplayElement
IncompatibleGeometryTypeException
- if the selected geometry of the Feature
is not compatible with the
Symbolizer
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
GeometryException
PropertyPathResolvingException
public static DisplayElement buildDisplayElement(java.lang.Object o) throws IncompatibleGeometryTypeException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException, GeometryException
DisplayElement
using the given Feature
or GridCoverage
and the default
Symbolizer
.
o
- contains the geometry or raster information (Feature or GridCoverage)
DisplayElement
IncompatibleGeometryTypeException
- if the selected geometry of the Feature
is not compatible with the
Symbolizer
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
GeometryException
public static PointDisplayElement buildPointDisplayElement(Feature feature, Geometry geom, PointSymbolizer sym) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException
PointDisplayElement
using the given geometry and style information.
feature
- associated feature (source of the geometry information)geom
- geometry informationsym
- style information
PointDisplayElement
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
public static LineStringDisplayElement buildLineStringDisplayElement(Feature feature, Geometry geom, LineSymbolizer sym) throws IncompatibleGeometryTypeException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException, GeometryException
LineStringDisplayElement
using the given geometry and style information.
feature
- associated feature (source of the geometry information)geom
- geometry informationsym
- style information
LineStringDisplayElement
IncompatibleGeometryTypeException
- if the geometry property is not a Curve
or MultiCurve
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
GeometryException
public static PolygonDisplayElement buildPolygonDisplayElement(Feature feature, Geometry geom, PolygonSymbolizer sym) throws IncompatibleGeometryTypeException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException
PolygonDisplayElement
using the given geometry and style information.
feature
- associated feature (source of the geometry information)geom
- geometry informationsym
- style information
PolygonDisplayElement
IncompatibleGeometryTypeException
- if the geometry property is not a Surface
or MultiSurface
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
public static LabelDisplayElement buildLabelDisplayElement(Feature feature, Geometry geom, TextSymbolizer sym) throws IncompatibleGeometryTypeException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException
LabelDisplayElement
using the given geometry and style information.
feature
- associated feature (source of the geometry information and label caption)geom
- geometry informationsym
- style information
LabelDisplayElement
IncompatibleGeometryTypeException
- if the geometry property is not a Point
, a Surface
or
MultiSurface
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
public static RasterDisplayElement buildRasterDisplayElement(GridCoverage gc, RasterSymbolizer sym)
RasterDisplayElement
from the given GridCoverage
.
gc
- grid coverage (source of the raster data)sym
- raster symbolizer
public static RasterDisplayElement buildRasterDisplayElement(GridCoverage gc, RasterSymbolizer sym, GetMap request)
gc
- sym
- request
-
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org