protected Object writeReplace() throws ObjectStreamException { return org.apache.sis.referencing.operation.DefaultOperationMethod.castOrCopy(this); }
protected Object readResolve() throws ObjectStreamException { return org.apache.sis.referencing.operation.DefaultOperationMethod.castOrCopy(this); } }
/** * Invoked by JAXB at marshalling time for getting the actual element to write * inside the {@code <gml:OperationMethod>} XML element. * This is the value or a copy of the value given in argument to the {@code wrap} method. * * @return the element to be marshalled. */ @XmlElement(name = "OperationMethod") public DefaultOperationMethod getElement() { return DefaultOperationMethod.castOrCopy(metadata); }
/** * Invoked by JAXB at marshalling time for getting the actual element to write * inside the {@code <gml:OperationMethod>} XML element. * This is the value or a copy of the value given in argument to the {@code wrap} method. * * @return the element to be marshalled. */ @XmlElement(name = "OperationMethod") public DefaultOperationMethod getElement() { return DefaultOperationMethod.castOrCopy(metadata); }
@Override protected String formatTo(final Formatter formatter) { WKTUtilities.appendName(conversion, formatter, null); formatter.newLine(); formatter.append(DefaultOperationMethod.castOrCopy(conversion.getMethod())); formatter.newLine(); for (final GeneralParameterValue param : conversion.getParameterValues().values()) { WKTUtilities.append(param, formatter); } return WKTKeywords.DerivingConversion; } });
@Override protected String formatTo(final Formatter formatter) { WKTUtilities.appendName(conversion, formatter, null); formatter.newLine(); formatter.append(DefaultOperationMethod.castOrCopy(conversion.getMethod())); formatter.newLine(); for (final GeneralParameterValue param : conversion.getParameterValues().values()) { WKTUtilities.append(param, formatter); } return WKTKeywords.DerivingConversion; } });
return DefaultOperationMethod.castOrCopy((OperationMethod) object);
return DefaultOperationMethod.castOrCopy((OperationMethod) object);
formatter.append(DefaultOperationMethod.castOrCopy(conversion.getMethod())); formatter.newLine(); for (final GeneralParameterValue param : conversion.getParameterValues().values()) {
formatter.append(DefaultOperationMethod.castOrCopy(conversion.getMethod())); formatter.newLine(); for (final GeneralParameterValue param : conversion.getParameterValues().values()) {
formatter.append(DefaultOperationMethod.castOrCopy(method)); ParameterValueGroup parameters; try {
formatter.append(DefaultOperationMethod.castOrCopy(method)); ParameterValueGroup parameters; try {