/*
 Copyright 1995-2013 Esri

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

 For additional information, contact:
 Environmental Systems Research Institute, Inc.
 Attn: Contracts Dept
 380 New York Street
 Redlands, California, USA 92373

 email: contracts@esri.com
 */
package com.esri.core.geometry;

public abstract class OperatorBoundary extends Operator {
	@Override
	public Type getType() {
		return Type.Boundary;
	}

	/**
	 *Calculates the boundary geometry.
	 *\param geoms The input geometry cursor.
	 *\param progress_tracker The progress tracker, that allows to cancel the lengthy operation.
	 *\return Returns a cursor over boundries for each geometry.
	 */
	abstract public GeometryCursor execute(GeometryCursor geoms,
			ProgressTracker progress_tracker);

	/**
	 *Calculates the boundary.
	 *\param geom The input geometry.
	 *\param progress_tracker The progress tracker, that allows to cancel the lengthy operation.
	 *\return Returns the boundary.
	 *
	 *For Point - returns an empty point.
	 *For Multi_point - returns an empty point.
	 *For Envelope - returns a polyline, that bounds the envelope.
	 *For Polyline - returns a multipoint, using OGC specification (includes path endpoints, usinng mod 2 rule).
	 *For Polygon - returns a polyline that bounds the polygon (adds all rings of the polygon to a polyline).
	 */
	abstract public Geometry execute(Geometry geom,
			ProgressTracker progress_tracker);

	public static OperatorBoundary local() {
		return (OperatorBoundary) OperatorFactoryLocal.getInstance()
				.getOperator(Type.Boundary);
	}
}

@@ -860,17 +860,18 @@
 rator %7B%0A
-%09
+  
 @Overrid
@@ -872,17 +872,18 @@
 verride%0A
-%09
+  
 public T
@@ -894,26 +894,28 @@
 getType() %7B%0A
-%09%09
+    
 return Type.
@@ -928,20 +928,24 @@
 ry;%0A
-%09%7D%0A%0A%09
+  %7D%0A%0A  
 /**%0A
-%09
+  
  *
+ 
 Calc
@@ -970,28 +970,30 @@
 y geometry.%0A
-%09 *%5C
+   * @
 param geoms 
@@ -1019,20 +1019,22 @@
 cursor.%0A
-%09 *%5C
+   * @
 param pr
@@ -1107,36 +1107,38 @@
 gthy operation.%0A
-%09 *%5C
+   * @
 return Returns a
@@ -1155,16 +1155,17 @@
 er bound
+a
 ries for
@@ -1180,22 +1180,24 @@
 ometry.%0A
-%09
+  
  */%0A
-%09
+  
 abstract
@@ -1249,19 +1249,26 @@
  geoms,%0A
-%09%09%09
+          
 Progress
@@ -1299,16 +1299,19 @@
 );%0A%0A
-%09
+  
 /**%0A
-%09
+  
  *
+ 
 Calc
@@ -1327,28 +1327,30 @@
 e boundary.%0A
-%09 *%5C
+   * @
 param geom T
@@ -1368,20 +1368,22 @@
 ometry.%0A
-%09 *%5C
+   * @
 param pr
@@ -1468,12 +1468,14 @@
 on.%0A
-%09 *%5C
+   * @
 retu
@@ -1503,15 +1503,18 @@
 ry.%0A
-%09 *%0A%09
+   *%0A  
  *
+ 
 For 
@@ -1541,27 +1541,29 @@
 mpty point.%0A
-%09
+  
  *
+ 
 For Multi_po
@@ -1592,19 +1592,21 @@
  point.%0A
-%09
+  
  *
+ 
 For Enve
@@ -1658,19 +1658,21 @@
 velope.%0A
-%09
+  
  *
+ 
 For Poly
@@ -1754,17 +1754,16 @@
 ts, usin
-n
 g mod 2 
@@ -1769,19 +1769,21 @@
  rule).%0A
-%09
+  
  *
+ 
 For Poly
@@ -1882,14 +1882,16 @@
 e).%0A
-%09
+  
  */%0A
-%09
+  
 abst
@@ -1934,19 +1934,26 @@
 y geom,%0A
-%09%09%09
+          
 Progress
@@ -1980,17 +1980,18 @@
 cker);%0A%0A
-%09
+  
 public s
@@ -2023,18 +2023,20 @@
 cal() %7B%0A
-%09%09
+    
 return (
@@ -2091,13 +2091,8 @@
 ce()
-%0A%09%09%09%09
 .get
@@ -2120,9 +2120,10 @@
 y);%0A
-%09
+  
 %7D%0A%7D%0A

Fix descriptions.