Package com.luciad.reference.format
Class TLcdAUTOReferenceFormatter
java.lang.Object
com.luciad.reference.format.TLcdAUTOReferenceFormatter
- All Implemented Interfaces:
ILcdModelReferenceFormatter
,ILcdXYWorldReferenceFormatter
public class TLcdAUTOReferenceFormatter
extends Object
implements ILcdModelReferenceFormatter, ILcdXYWorldReferenceFormatter
Formats a reference into the AUTO name space.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionformatModelReference
(ILcdModelReference aModelReference) Returns the string representation for the specifiedILcdModelReference
.formatXYWorldReference
(ILcdXYWorldReference aXYWorldReference) Returns the String representation of aILcdXYWorldReference
.
-
Constructor Details
-
TLcdAUTOReferenceFormatter
public TLcdAUTOReferenceFormatter()
-
-
Method Details
-
formatModelReference
public String formatModelReference(ILcdModelReference aModelReference) throws IllegalArgumentException Description copied from interface:ILcdModelReferenceFormatter
Returns the string representation for the specifiedILcdModelReference
.- Specified by:
formatModelReference
in interfaceILcdModelReferenceFormatter
- Parameters:
aModelReference
- the model reference for which to return a string representation.- Returns:
- a string representation of the specified model reference.
- Throws:
IllegalArgumentException
- if the specified model reference cannot be formatted as a string.
-
formatXYWorldReference
public String formatXYWorldReference(ILcdXYWorldReference aXYWorldReference) throws IllegalArgumentException Description copied from interface:ILcdXYWorldReferenceFormatter
Returns the String representation of aILcdXYWorldReference
.- Specified by:
formatXYWorldReference
in interfaceILcdXYWorldReferenceFormatter
- Parameters:
aXYWorldReference
- theILcdXYWorldReference
to be encoded as a String.- Returns:
- the String representation of a
ILcdXYWorldReference
. - Throws:
IllegalArgumentException
- If the given world reference cannot be formatted as a String.
-