sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1555459 - in /sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs: DefaultImageCRS.java DefaultTemporalCRS.java package-info.java
Date Sun, 05 Jan 2014 05:11:32 GMT
Author: desruisseaux
Date: Sun Jan  5 05:11:32 2014
New Revision: 1555459

URL: http://svn.apache.org/r1555459
Log:
Minor javadoc clarifications.

Modified:
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultImageCRS.java
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultTemporalCRS.java
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/package-info.java

Modified: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultImageCRS.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultImageCRS.java?rev=1555459&r1=1555458&r2=1555459&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultImageCRS.java
(original)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultImageCRS.java
Sun Jan  5 05:11:32 2014
@@ -140,7 +140,7 @@ public class DefaultImageCRS extends Abs
      *
      * @param crs The coordinate reference system to copy.
      *
-     * @see #castOrCopy(TemporalCRS)
+     * @see #castOrCopy(ImageCRS)
      */
     protected DefaultImageCRS(final ImageCRS crs) {
         super(crs);

Modified: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultTemporalCRS.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultTemporalCRS.java?rev=1555459&r1=1555458&r2=1555459&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultTemporalCRS.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/DefaultTemporalCRS.java
[UTF-8] Sun Jan  5 05:11:32 2014
@@ -34,6 +34,12 @@ import static org.apache.sis.util.Argume
 
 /**
  * A 1D coordinate reference system used for the recording of time.
+ * The Apache SIS implementation provides the following methods in addition to the OGC/ISO
properties:
+ *
+ * <ul>
+ *   <li>{@link #toDate(double)} for converting a temporal position to a {@link Date}.</li>
+ *   <li>{@link #toValue(Date)} for converting a {@link Date} to a temporal position.</li>
+ * </ul>
  *
  * <table class="sis">
  * <tr><th>Used with CS type(s)</th></tr>

Modified: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/package-info.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/package-info.java?rev=1555459&r1=1555458&r2=1555459&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/package-info.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/referencing/crs/package-info.java
[UTF-8] Sun Jan  5 05:11:32 2014
@@ -21,7 +21,7 @@
  * The remaining discussion on this page is specific to the SIS implementation.
  *
  * <p>The root class for this package is {@link org.apache.sis.referencing.crs.AbstractCRS}.
- * Coordinate Reference System (CRS) can have various number of dimensions, but some restriction
+ * Coordinate Reference System (CRS) can have various number of dimensions, but some restrictions
  * apply depending on the CRS type:</p>
  *
  * <ul>
@@ -41,6 +41,14 @@
  *       (often used for adding a time axis to the above CRS).
  * </ul>
  *
+ * {@section Apache SIS extensions}
+ * Some SIS implementations provide additional methods that are not part of OGC/ISO specifications:
+ *
+ * <ul>
+ *   <li>{@link org.apache.sis.referencing.crs.DefaultTemporalCRS#toDate(double)}</li>
+ *   <li>{@link org.apache.sis.referencing.crs.DefaultTemporalCRS#toValue DefaultTemporalCRS.toValue(Date)}</li>
+ * </ul>
+ *
  * @author  Martin Desruisseaux (IRD, Geomatys)
  * @author  Cédric Briançon (Geomatys)
  * @since   0.4 (derived from geotk-1.2)



Mime
View raw message