code: public static Geometry symmetricDifference(Geometry leftGeometry,
  			Geometry rightGeometry, SpatialReference spatialReference) {
  		OperatorSymmetricDifference op = (OperatorSymmetricDifference) factory
  				.getOperator(Operator.Type.SymmetricDifference);
  		Geometry result = op.execute(leftGeometry, rightGeometry,
  				spatialReference, null);
  		return result;
  	}
docs: Creates the symmetric difference of two geometries.
  
  See OperatorSymmetricDifference.
  
  @param leftGeometry
  is one of the Geometry instances in the XOR operation.
  @param rightGeometry
  is one of the Geometry instances in the XOR operation.
  @param spatialReference
  The spatial reference of the geometries.
  @return Returns the result of the symmetric difference.