Class ContextualParameters.WKT
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.referencing.operation.transform.ContextualParameters.WKT
- All Implemented Interfaces:
Parameterized
- Enclosing class:
- ContextualParameters
Formats the Well Known Text for the transform or the inverse of the transform
that would be built from the enclosing
ContextualParameters.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleantrueif this proxy is for the inverse transform instead of the direct one. -
Constructor Summary
ConstructorsConstructorDescriptionWKT(boolean inverse) Creates a new object to be formatted instead of the enclosing transform. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringFormats a Well Known Text version 1 (WKT 1) element for a transform using this group of parameters.org.opengis.parameter.ParameterDescriptorGroupReturns the parameters descriptor.org.opengis.parameter.ParameterValueGroupReturns the parameter values.Methods inherited from class org.apache.sis.io.wkt.FormattableObject
print, toString, toString, toWKT
-
Field Details
-
inverse
private final boolean inversetrueif this proxy is for the inverse transform instead of the direct one.
-
-
Constructor Details
-
WKT
WKT(boolean inverse) Creates a new object to be formatted instead of the enclosing transform.
-
-
Method Details
-
getParameterDescriptors
public org.opengis.parameter.ParameterDescriptorGroup getParameterDescriptors()Returns the parameters descriptor.- Specified by:
getParameterDescriptorsin interfaceParameterized- Returns:
- the parameter descriptors for this object, or
null.
-
getParameterValues
public org.opengis.parameter.ParameterValueGroup getParameterValues()Returns the parameter values.- Specified by:
getParameterValuesin interfaceParameterized- Returns:
- the parameter values for this object, or
nullif unknown.
-
formatTo
Formats a Well Known Text version 1 (WKT 1) element for a transform using this group of parameters.Compatibility note:Param_MTis defined in the WKT 1 specification only. If the formatter convention is set to WKT 2, then this method silently uses the WKT 1 convention without raising an error.- Specified by:
formatToin classFormattableObject- Parameters:
formatter- the formatter where to format the inner content of this WKT element.- Returns:
"Param_MT".- See Also:
-