|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.renderer.j2d.RenderedLayerFactory
A factory creating RenderedLayer
s from Feature
s and Style
s.
Constructor Summary | |
RenderedLayerFactory()
Construct a default factory. |
Method Summary | |
RenderedLayer[] |
create(Feature[] features,
Style sldStyle)
Create an array of rendered layers from the specified feature and style. |
RenderedLayer[] |
create(FeatureSource featureSource,
Style sldStyle)
Create an array of rendered layers from the specified feature and style. |
RenderedLayer[] |
createOld(FeatureSource featureSource,
Style style)
Create an array of rendered layers from the specified feature and style. |
CoordinateSystem |
getCoordinateSystem()
Returns the default coordinate system for geometry to be created. |
void |
setCoordinateSystem(CoordinateSystem coordinateSystem)
Set the default coordinate system for geometry to be created. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RenderedLayerFactory()
Method Detail |
public CoordinateSystem getCoordinateSystem()
public void setCoordinateSystem(CoordinateSystem coordinateSystem)
Geometry.DEFAULT_COORDINATE_SYSTEM
.
coordinateSystem
- The default coordinate system.public RenderedLayer[] createOld(FeatureSource featureSource, Style style) throws org.opengis.referencing.operation.TransformException, java.io.IOException, IllegalAttributeException
featureSource
- the source used to read featuresstyle
- the style for these features
org.opengis.referencing.operation.TransformException
- if a transformation was required and failed.
java.io.IOException
- if an error occurs while reading the features
IllegalAttributeException
- if an attribute is read from the data that is incompatible
with the feature typepublic RenderedLayer[] create(FeatureSource featureSource, Style sldStyle) throws org.opengis.referencing.operation.TransformException, java.io.IOException, IllegalAttributeException
featureSource
- The feature.sldStyle
- The style to apply.
org.opengis.referencing.operation.TransformException
- if a transformation was required and failed.
java.io.IOException
- DOCUMENT ME!
IllegalAttributeException
- DOCUMENT ME!public RenderedLayer[] create(Feature[] features, Style sldStyle) throws org.opengis.referencing.operation.TransformException
features
- The feature.sldStyle
- The style to apply.
org.opengis.referencing.operation.TransformException
- if a transformation was required and failed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |