|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectFormattable
AbstractParameter
public abstract class AbstractParameter
Abstract parameter value or group of parameter values.
AbstractParameterDescriptor,
Serialized Form
modules/library/referencing (gt2-referencing.jar) (Maven report) (SVN head)| Constructor Summary | |
|---|---|
protected |
AbstractParameter(GeneralParameterDescriptor descriptor)
Constructs a parameter value from the specified descriptor. |
| Method Summary | |
|---|---|
Object |
clone()
Returns a copy of this parameter value or group. |
boolean |
equals(Object object)
Compares the specified object with this parameter for equality. |
protected String |
formatWKT(Formatter formatter)
Format 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)
Write the content of this parameter to the specified table. |
| Methods inherited from class Formattable |
|---|
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 Object 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(org.geotools.io.TableWriter), which should be overridden by subclasses.
toString in class Formattable
protected void write(TableWriter table)
throws IOException
toString() method. The table's 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.protected final String formatWKT(Formatter formatter)
formatWKT in class Formattableformatter - The formatter to use.
"GEOGCS").Formattable.toWKT(),
Formattable.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||