|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectFormattableObject
AbstractParameter
public abstract class AbstractParameter
Abstract parameter value or group of parameter values.
AbstractParameterDescriptor,
Serialized Form
| referencing/geotk-referencing (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class FormattableObject |
|---|
EPSG, GEOTIFF, INTERNAL, OGC, SINGLE_LINE |
| Constructor Summary | |
|---|---|
protected |
AbstractParameter(GeneralParameterDescriptor descriptor)
Constructs a parameter value from the specified descriptor. |
| Method Summary | |
|---|---|
AbstractParameter |
clone()
Returns a copy of this parameter value or group. |
boolean |
equals(Object object)
Compares the specified object with this parameter for equality. |
String |
formatWKT(Formatter formatter)
Formats the inner part of this parameter as Well Known Text (WKT). |
GeneralParameterDescriptor |
getDescriptor()
Returns the abstract definition of this parameter or group of parameters. |
int |
hashCode()
Returns a hash value for this parameter. |
String |
toString()
Returns a string representation of this parameter. |
protected void |
write(TableWriter table)
Writes the content of this parameter to the specified table. |
| Methods inherited from class FormattableObject |
|---|
getDefaultIndentation, print, setDefaultIndentation, toWKT, toWKT, toWKT |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractParameter(GeneralParameterDescriptor descriptor)
descriptor - The abstract definition of this parameter or group of parameters.| Method Detail |
|---|
public GeneralParameterDescriptor getDescriptor()
getDescriptor in interface GeneralParameterValuepublic AbstractParameter clone()
clone in interface GeneralParameterValueclone in class Objectpublic boolean equals(Object object)
equals in class Objectobject - The object to compare to this.
true if both objects are equal.public int hashCode()
hashCode in class Objectpublic final String toString()
write(TableWriter), which should be overridden by subclasses.
toString in class FormattableObject
protected void write(TableWriter table)
throws IOException
toString() method. The table
columns are defined as below:
The default implementation is suitable for most cases. However, subclasses are free to override this method with the following idiom:
table.write("parameter name");
table.nextColumn()
table.write('=');
table.nextColumn()
table.write("parameter value");
table.nextLine()
table - The table where to format the parameter value.
IOException - if an error occurs during output operation.public String formatWKT(Formatter formatter)
formatWKT in interface FormattableformatWKT in class FormattableObjectformatter - The formatter to use.
"GEOGCS").FormattableObject.toWKT(),
FormattableObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||