@Deprecated public class TLcdSpatialReferenceParser extends Object implements ILcdModelReferenceParser, ILcdXYWorldReferenceParser
http://spatialreference.org/
. This parser
requires an internet connection to work since it queries http://spatialreference.org/
.Constructor and Description |
---|
TLcdSpatialReferenceParser()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ILcdModelReference |
parseModelReference(String aString)
Deprecated.
Returns the
ILcdModelReference that corresponds to the specified string representation. |
ILcdXYWorldReference |
parseXYWorldReference(String aString)
Deprecated.
Returns the
ILcdXYWorldReference that is formatted as a String. |
public ILcdModelReference parseModelReference(String aString) throws ParseException
ILcdModelReference
that corresponds to the specified string representation.
This parser accepts two kinds of Strings.
parseModelReference
in interface ILcdModelReferenceParser
aString
- the String representation to be converted to an ILcdModelReference
.ILcdModelReference
that corresponds to the specified string, never null
.ParseException
- if this parser cannot convert the specified string into a model reference
(e.g. if the code is not supported or if the code was not valid)public ILcdXYWorldReference parseXYWorldReference(String aString) throws ParseException
ILcdXYWorldReference
that is formatted as a String.
This parser accepts two kinds of Strings.
parseXYWorldReference
in interface ILcdXYWorldReferenceParser
aString
- the String representation of the ILcdXYWorldReference
.ILcdXYWorldReference
that is formatted as a String. Never null
.ParseException
- If the ILcdXYWorldReference
cannot be created from the String.