|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.referencing.wkt.Formattable
org.geotools.parameter.AbstractParameter
org.geotools.parameter.Parameter
org.geotools.data.wms.gce.WMSParameterValue
| Constructor Summary | |
WMSParameterValue(java.lang.Object value,
DefaultParameterDescriptor descriptor)
|
|
| Method Summary | |
boolean |
booleanValue()
Returns the boolean value of an operation parameter. |
java.lang.Object |
clone()
Returns a copy of this parameter value or group. |
double |
doubleValue()
Returns the numeric value of the coordinate operation parameter with its associated unit of measure. |
double |
doubleValue(javax.units.Unit arg0)
Returns the numeric value of the coordinate operation parameter in the specified unit of measure. |
double[] |
doubleValueList()
Returns an ordered sequence of two or more numeric values of an operation parameter list, where each value has the same associated unit of measure. |
double[] |
doubleValueList(javax.units.Unit arg0)
Returns an ordered sequence of numeric values in the specified unit of measure. |
javax.units.Unit |
getUnit()
Returns the unit of measure of the parameter value. |
java.lang.Object |
getValue()
Returns the parameter value as an object. |
int |
intValue()
Returns the positive integer value of an operation parameter, usually used for a count. |
int[] |
intValueList()
Returns an ordered sequence of two or more integer values of an operation parameter list, usually used for counts. |
void |
setValue(boolean arg0)
Set the parameter value as a boolean. |
void |
setValue(double arg0)
Set the parameter value as a floating point. |
void |
setValue(double[] arg0,
javax.units.Unit arg1)
Set the parameter value as an array of floating point and their associated unit. |
void |
setValue(double arg0,
javax.units.Unit arg1)
Set the parameter value as a floating point and its associated unit. |
void |
setValue(int arg0)
Set the parameter value as an integer. |
void |
setValue(java.lang.Object arg0)
Set the parameter value as an object. |
java.lang.String |
stringValue()
Returns the string value of an operation parameter. |
java.net.URI |
valueFile()
Returns a reference to a file or a part of a file containing one or more parameter values. |
| Methods inherited from class org.geotools.parameter.Parameter |
ensureValidValue, equals, hashCode |
| Methods inherited from class org.geotools.parameter.AbstractParameter |
formatWKT, getDescriptor, toString, write |
| Methods inherited from class org.geotools.referencing.wkt.Formattable |
toWKT, toWKT, toWKT |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.opengis.parameter.GeneralParameterValue |
getDescriptor |
| Constructor Detail |
public WMSParameterValue(java.lang.Object value,
DefaultParameterDescriptor descriptor)
value - descriptor - | Method Detail |
public javax.units.Unit getUnit()
ParameterString type),
then this method returns . Note that "no unit" doesn't means
"dimensionless".
getUnit in interface org.opengis.parameter.ParameterValuegetUnit in class ParameterParameter.doubleValue(),
Parameter.doubleValueList(),
Parameter.getValue()
public double doubleValue(javax.units.Unit arg0)
throws org.opengis.parameter.InvalidParameterTypeException
Parameter
doubleValue in interface org.opengis.parameter.ParameterValuedoubleValue in class Parameterarg0 - The unit of measure for the value to be returned.
org.opengis.parameter.InvalidParameterTypeException - if the value is not a numeric type.Parameter.getUnit(),
Parameter.setValue(double,Unit),
Parameter.doubleValueList(Unit)
public double doubleValue()
throws org.opengis.parameter.InvalidParameterTypeException
Parameter
doubleValue in interface org.opengis.parameter.ParameterValuedoubleValue in class Parameterorg.opengis.parameter.InvalidParameterTypeException - if the value is not a numeric type.Parameter.getUnit(),
Parameter.setValue(double),
Parameter.doubleValueList()
public int intValue()
throws org.opengis.parameter.InvalidParameterTypeException
Parameter
intValue in interface org.opengis.parameter.ParameterValueintValue in class Parameterorg.opengis.parameter.InvalidParameterTypeException - if the value is not an integer type.Parameter.setValue(int),
Parameter.intValueList()
public boolean booleanValue()
throws org.opengis.parameter.InvalidParameterTypeException
Parameter
booleanValue in interface org.opengis.parameter.ParameterValuebooleanValue in class Parameterorg.opengis.parameter.InvalidParameterTypeException - if the value is not a boolean type.Parameter.setValue(boolean)
public java.lang.String stringValue()
throws org.opengis.parameter.InvalidParameterTypeException
Parameter
stringValue in interface org.opengis.parameter.ParameterValuestringValue in class Parameterorg.opengis.parameter.InvalidParameterTypeException - if the value is not a string.Parameter.getValue(),
Parameter.setValue(Object)
public double[] doubleValueList(javax.units.Unit arg0)
throws org.opengis.parameter.InvalidParameterTypeException
Parameter
doubleValueList in interface org.opengis.parameter.ParameterValuedoubleValueList in class Parameterarg0 - The unit of measure for the value to be returned.
org.opengis.parameter.InvalidParameterTypeException - if the value is not an array of s.Parameter.getUnit(),
Parameter.setValue(double[],Unit),
Parameter.doubleValue(Unit)
public double[] doubleValueList()
throws org.opengis.parameter.InvalidParameterTypeException
Parameter
doubleValueList in interface org.opengis.parameter.ParameterValuedoubleValueList in class Parameterorg.opengis.parameter.InvalidParameterTypeException - if the value is not an array of s.Parameter.getUnit(),
Parameter.setValue(Object),
Parameter.doubleValue()
public int[] intValueList()
throws org.opengis.parameter.InvalidParameterTypeException
Parameter
intValueList in interface org.opengis.parameter.ParameterValueintValueList in class Parameterorg.opengis.parameter.InvalidParameterTypeException - if the value is not an array of s.Parameter.setValue(Object),
Parameter.intValue()
public java.net.URI valueFile()
throws org.opengis.parameter.InvalidParameterTypeException
Parameter
valueFile in interface org.opengis.parameter.ParameterValuevalueFile in class Parameterorg.opengis.parameter.InvalidParameterTypeException - if the value is not a reference to a file or an URI.Parameter.getValue(),
Parameter.setValue(Object)public java.lang.Object getValue()
ParameterDouble,
Integer, Boolean, String, URI, or
.
getValue in interface org.opengis.parameter.ParameterValuegetValue in class ParameterParameter.setValue(Object)
public void setValue(double[] arg0,
javax.units.Unit arg1)
throws org.opengis.parameter.InvalidParameterValueException
Parameter
setValue in interface org.opengis.parameter.ParameterValuesetValue in class Parameterarg0 - The parameter values.arg1 - The unit for the specified value.
org.opengis.parameter.InvalidParameterValueException - if the floating point type is inappropriate for this
parameter, or if the value is illegal for some other reason (for example a value out
of range).
public void setValue(double arg0,
javax.units.Unit arg1)
throws org.opengis.parameter.InvalidParameterValueException
Parameter
setValue in interface org.opengis.parameter.ParameterValuesetValue in class Parameterarg0 - The parameter value.arg1 - The unit for the specified value.
org.opengis.parameter.InvalidParameterValueException - if the floating point type is inappropriate for this
parameter, or if the value is illegal for some other reason (for example a value out
of range).Parameter.setValue(double),
Parameter.doubleValue(Unit)
public void setValue(double arg0)
throws org.opengis.parameter.InvalidParameterValueException
Parameter
setValue in interface org.opengis.parameter.ParameterValuesetValue in class Parameterarg0 - The parameter value.
org.opengis.parameter.InvalidParameterValueException - if the floating point type is inappropriate for this
parameter, or if the value is illegal for some other reason (for example a value out
of range).Parameter.setValue(double,Unit),
Parameter.doubleValue()
public void setValue(int arg0)
throws org.opengis.parameter.InvalidParameterValueException
Parameter
setValue in interface org.opengis.parameter.ParameterValuesetValue in class Parameterarg0 - The parameter value.
org.opengis.parameter.InvalidParameterValueException - if the integer type is inappropriate for this parameter,
or if the value is illegal for some other reason (for example a value out of range).Parameter.intValue()
public void setValue(boolean arg0)
throws org.opengis.parameter.InvalidParameterValueException
Parameter
setValue in interface org.opengis.parameter.ParameterValuesetValue in class Parameterarg0 - The parameter value.
org.opengis.parameter.InvalidParameterValueException - if the boolean type is inappropriate for this parameter.Parameter.booleanValue()
public void setValue(java.lang.Object arg0)
throws org.opengis.parameter.InvalidParameterValueException
ParameterDouble,
Integer, Boolean, String, URI,
or .
setValue in interface org.opengis.parameter.ParameterValuesetValue in class Parameterarg0 - The parameter value.
org.opengis.parameter.InvalidParameterValueException - if the type of is inappropriate
for this parameter, or if the value is illegal for some other reason (for example
the value is numeric and out of range).Parameter.getValue()public java.lang.Object clone()
AbstractParameter
clone in interface org.opengis.parameter.ParameterValueclone in class AbstractParameter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||