Package com.luciad.reference.format
Class TLcdAUTO2ReferenceFormatter
java.lang.Object
com.luciad.reference.format.TLcdAUTO2ReferenceFormatter
- All Implemented Interfaces:
ILcdModelReferenceFormatter,ILcdXYWorldReferenceFormatter
public class TLcdAUTO2ReferenceFormatter
extends Object
implements ILcdModelReferenceFormatter, ILcdXYWorldReferenceFormatter
Formats a reference into the AUTO2 name space.
- See Also:
-
Constructor Summary
Constructors -
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
-
TLcdAUTO2ReferenceFormatter
public TLcdAUTO2ReferenceFormatter()
-
-
Method Details
-
formatModelReference
public String formatModelReference(ILcdModelReference aModelReference) throws IllegalArgumentException Description copied from interface:ILcdModelReferenceFormatterReturns the string representation for the specifiedILcdModelReference.- Specified by:
formatModelReferencein 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:ILcdXYWorldReferenceFormatterReturns the String representation of aILcdXYWorldReference.- Specified by:
formatXYWorldReferencein interfaceILcdXYWorldReferenceFormatter- Parameters:
aXYWorldReference- theILcdXYWorldReferenceto 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.
-