|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.crs.Transformer
public abstract class Transformer
Abstract base class for all transformers. Stores a target coordinate system and creates CRSTransformation
objects for a given source CRS.
| Constructor Summary | |
|---|---|
protected |
Transformer(CoordinateSystem targetCRS)
Creates a new Transformer object, with the given target CRS. |
protected |
Transformer(String targetCRS)
Creates a new Transformer object, with the given id as the target CRS. |
protected |
Transformer(Transformation definedTransformation)
|
| Method Summary | |
|---|---|
protected Transformation |
createCRSTransformation(CoordinateSystem sourceCRS)
Creates a transformation chain, which can be used to transform incoming coordinates (in the given source CRS) into this Transformer's targetCRS. |
protected Transformation |
createCRSTransformation(String sourceCRS)
Creates a transformation chain, which can be used to transform incoming coordinates (in the given source CRS) into this Transformer's targetCRS. |
CoordinateSystem |
getTargetCRS()
|
CRS |
getWrappedTargetCRS()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Transformer(CoordinateSystem targetCRS)
throws IllegalArgumentException
targetCRS - to transform incoming coordinates to.
IllegalArgumentException - if the given CoordinateSystem is null
protected Transformer(String targetCRS)
throws UnknownCRSException,
IllegalArgumentException
targetCRS - an identifier to which all incoming coordinates shall be transformed.
UnknownCRSException - if the given crs name could not be mapped to a valid (configured) crs.
IllegalArgumentException - if the given parameter is null.protected Transformer(Transformation definedTransformation)
definedTransformation - to use instead of the CRSFactory.
IllegalArgumentException - if the given parameter is null.| Method Detail |
|---|
protected Transformation createCRSTransformation(CoordinateSystem sourceCRS)
throws TransformationException,
IllegalArgumentException
sourceCRS - in which the coordinates are defined.
TransformationException - if no transformation chain could be created.
IllegalArgumentException - if the given CoordinateSystem is null
protected Transformation createCRSTransformation(String sourceCRS)
throws TransformationException,
IllegalArgumentException,
UnknownCRSException
sourceCRS - in which the coordinates are defined.
TransformationException - if no transformation chain could be created.
IllegalArgumentException - if the given CoordinateSystem is null
UnknownCRSException - if the given crs name could not be mapped to a valid (configured) crs.public final CoordinateSystem getTargetCRS()
public final CRS getWrappedTargetCRS()
CRS
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||