incubator-odf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devin...@apache.org
Subject svn commit: r1183270 - in /incubator/odf/trunk/odfdom/src/main: java/org/odftoolkit/odfdom/doc/ java/org/odftoolkit/odfdom/doc/presentation/ java/org/odftoolkit/odfdom/doc/table/ java/org/odftoolkit/odfdom/incubator/doc/draw/ java/org/odftoolkit/odfdom...
Date Fri, 14 Oct 2011 09:56:45 GMT
Author: devinhan
Date: Fri Oct 14 09:56:44 2011
New Revision: 1183270

URL: http://svn.apache.org/viewvc?rev=1183270&view=rev
Log:
#ODFTOOLKIT-292# Mark ODFDOM DOC API's as "deprecated".[Developer:Devin]

Modified:
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfChartDocument.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfDocument.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfGraphicsDocument.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfPresentationDocument.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfSpreadsheetDocument.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfTextDocument.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/presentation/OdfPresentationNotes.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/presentation/OdfSlide.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTable.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableCell.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableCellRange.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableColumn.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableRow.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/draw/OdfDrawFrame.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/draw/OdfDrawImage.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfEditableTextExtractor.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextExtractor.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextHeading.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextList.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextParagraph.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextSpan.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfWhitespaceProcessor.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/meta/OdfMetaDocumentStatistic.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/meta/OdfOfficeMeta.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/InvalidNavigationException.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/Navigation.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/Selection.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/TextNavigation.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/TextSelection.java
    incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/TextStyleNavigation.java
    incubator/odf/trunk/odfdom/src/main/javadoc/org/odftoolkit/odfdom/doc/package.html

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfChartDocument.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfChartDocument.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfChartDocument.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfChartDocument.java
Fri Oct 14 09:56:44 2011
@@ -32,6 +32,8 @@ import org.xml.sax.SAXException;
 /**
  * This class represents an empty ODF document , which will be in general embedded
  * in an existing ODF (Spreadsheet) document.
+ * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.ChartDocument}
in Simple API.
  */
 public class OdfChartDocument extends OdfDocument {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfDocument.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfDocument.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfDocument.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfDocument.java Fri
Oct 14 09:56:44 2011
@@ -75,7 +75,11 @@ import org.w3c.dom.NodeList;
 import org.xml.sax.ErrorHandler;
 import org.xml.sax.SAXException;
 
-/** This abstract class is representing one of the possible ODF documents */
+/** 
+ * This abstract class is representing one of the possible ODF documents.
+ * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.Document} in
Simple API.
+ */
 public abstract class OdfDocument extends OdfSchemaDocument {
 	// Static parts of file references
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfGraphicsDocument.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfGraphicsDocument.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfGraphicsDocument.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfGraphicsDocument.java
Fri Oct 14 09:56:44 2011
@@ -32,6 +32,7 @@ import org.xml.sax.SAXException;
 /**
  * This class represents an empty ODF graphics document.
  * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.GraphicsDocument}
in Simple API.
  */
 public class OdfGraphicsDocument extends OdfDocument {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfPresentationDocument.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfPresentationDocument.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfPresentationDocument.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfPresentationDocument.java
Fri Oct 14 09:56:44 2011
@@ -65,6 +65,8 @@ import org.xml.sax.SAXException;
 
 /**
  * This class represents an empty ODF presentation.
+ * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.PresentationDocument}
in Simple API.
  */
 public class OdfPresentationDocument extends OdfDocument {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfSpreadsheetDocument.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfSpreadsheetDocument.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfSpreadsheetDocument.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfSpreadsheetDocument.java
Fri Oct 14 09:56:44 2011
@@ -32,6 +32,7 @@ import org.xml.sax.SAXException;
 /**
  * This class represents an empty ODF spreadsheet document.
  * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.SpreadsheetDocument}
in Simple API.
  */
 public class OdfSpreadsheetDocument extends OdfDocument {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfTextDocument.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfTextDocument.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfTextDocument.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfTextDocument.java
Fri Oct 14 09:56:44 2011
@@ -34,6 +34,7 @@ import org.xml.sax.SAXException;
 /**
  * This class represents an empty ODF text document.
  * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.TextDocument}
in Simple API.
  */
 public class OdfTextDocument extends OdfDocument {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/presentation/OdfPresentationNotes.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/presentation/OdfPresentationNotes.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/presentation/OdfPresentationNotes.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/presentation/OdfPresentationNotes.java
Fri Oct 14 09:56:44 2011
@@ -24,7 +24,6 @@ package org.odftoolkit.odfdom.doc.presen
 
 import java.util.Hashtable;
 
-import org.odftoolkit.odfdom.pkg.OdfNamespace;
 import org.odftoolkit.odfdom.dom.OdfDocumentNamespace;
 import org.odftoolkit.odfdom.dom.element.draw.DrawFrameElement;
 import org.odftoolkit.odfdom.dom.element.draw.DrawTextBoxElement;
@@ -34,7 +33,8 @@ import org.w3c.dom.NodeList;
 
 /**
  * Convenient functionality for the parent ODF OpenDocument element
- *
+ * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.presentation.Notes}
in Simple API.
  */
 public class OdfPresentationNotes
 {

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/presentation/OdfSlide.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/presentation/OdfSlide.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/presentation/OdfSlide.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/presentation/OdfSlide.java
Fri Oct 14 09:56:44 2011
@@ -24,7 +24,6 @@ package org.odftoolkit.odfdom.doc.presen
 import java.util.Hashtable;
 
 import org.odftoolkit.odfdom.pkg.OdfFileDom;
-import org.odftoolkit.odfdom.pkg.OdfNamespace;
 import org.odftoolkit.odfdom.dom.OdfDocumentNamespace;
 import org.odftoolkit.odfdom.dom.element.draw.DrawPageElement;
 import org.odftoolkit.odfdom.dom.element.presentation.PresentationNotesElement;
@@ -33,6 +32,8 @@ import org.w3c.dom.NodeList;
 /**
  * <code>OdfSlide</code> represents the presentation slide feature of the ODF
document.
  * <code>OdfSlide</code> provides methods to get the slide index,get the content
of the current slide, etc.
+ * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.presentation.Slide}
in Simple API.
  */
 public class OdfSlide {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTable.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTable.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTable.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTable.java
Fri Oct 14 09:56:44 2011
@@ -71,7 +71,8 @@ import org.w3c.dom.NodeList;
  * OdfTable represents the table feature in ODF spreadsheet and text documents.
  * <p>
  * OdfTable provides methods to get/add/delete/modify table column/row/cell.
- *
+ * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.table.Table}
in Simple API.
  */
 public class OdfTable {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableCell.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableCell.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableCell.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableCell.java
Fri Oct 14 09:56:44 2011
@@ -74,6 +74,7 @@ import org.w3c.dom.Node;
  * <p>
  * OdfTable provides methods to get/set/modify the cell content and cell properties.
  *
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.table.Cell}
in Simple API.
  */
 public class OdfTableCell {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableCellRange.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableCellRange.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableCellRange.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableCellRange.java
Fri Oct 14 09:56:44 2011
@@ -43,6 +43,8 @@ import org.odftoolkit.odfdom.dom.element
  * OdfTableCellRange represent a rang of cells that are adjacent with each other
  * <p>
  * OdfTableCellRange provides methods to get/set/modify the properties of cell range.
+ * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.table.CellRange}
in Simple API.
  */
 public class OdfTableCellRange {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableColumn.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableColumn.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableColumn.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableColumn.java
Fri Oct 14 09:56:44 2011
@@ -48,6 +48,8 @@ import org.w3c.dom.Node;
  * OdfTableColumn represents table column feature in ODF document.
  * <p>
  * OdfTableColumn provides methods to get table cells that belong to this table column.
+ * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.table.Column}
in Simple API.
  */
 public class OdfTableColumn {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableRow.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableRow.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableRow.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableRow.java
Fri Oct 14 09:56:44 2011
@@ -59,6 +59,8 @@ import org.w3c.dom.Node;
  * OdfTableRow represents table row feature in ODF document.
  * <p>
  * OdfTableRow provides methods to get table cells that belong to this table row.
+ * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.table.Row}
in Simple API.
  */
 public class OdfTableRow {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/draw/OdfDrawFrame.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/draw/OdfDrawFrame.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/draw/OdfDrawFrame.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/draw/OdfDrawFrame.java
Fri Oct 14 09:56:44 2011
@@ -29,6 +29,7 @@ import org.odftoolkit.odfdom.dom.element
 /**
  * Convenient functionalty for the parent ODF OpenDocument element
  *
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.draw.Frame}
in Simple API.
  */
 public class OdfDrawFrame extends DrawFrameElement
 {

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/draw/OdfDrawImage.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/draw/OdfDrawImage.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/draw/OdfDrawImage.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/draw/OdfDrawImage.java
Fri Oct 14 09:56:44 2011
@@ -48,7 +48,8 @@ import org.w3c.dom.NodeList;
 
 /**
  * Convenient functionalty for the parent ODF OpenDocument element
- *
+ * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.draw.Image}
in Simple API.
  */
 public class OdfDrawImage extends DrawImageElement {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfEditableTextExtractor.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfEditableTextExtractor.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfEditableTextExtractor.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfEditableTextExtractor.java
Fri Oct 14 09:56:44 2011
@@ -46,6 +46,7 @@ import org.w3c.dom.NodeList;
  * 
  * <p>This function can be used by search engine, and text analytic operations. </p>

  *
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.common.EditableTextExtractor}
in Simple API.
  */
 public class OdfEditableTextExtractor extends OdfTextExtractor {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextExtractor.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextExtractor.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextExtractor.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextExtractor.java
Fri Oct 14 09:56:44 2011
@@ -37,6 +37,8 @@ import org.w3c.dom.Node;
  * returned, without any tag information.</p>
  * <p> It implements part of white space handling fuctions: text:p, text:h, text:s,
text:tab, text:linebreak are processed
  * according to ODF specification.</p>
+ * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.common.TextExtractor}
in Simple API.
  */
 public class OdfTextExtractor extends DefaultElementVisitor {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextHeading.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextHeading.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextHeading.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextHeading.java
Fri Oct 14 09:56:44 2011
@@ -28,6 +28,7 @@ import org.odftoolkit.odfdom.dom.element
 /**
  * Convenient functionalty for the parent ODF OpenDocument element
  *
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.text.Paragraph}
in Simple API.
  */
 public class OdfTextHeading extends TextHElement
 {

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextList.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextList.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextList.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextList.java
Fri Oct 14 09:56:44 2011
@@ -37,6 +37,7 @@ import org.w3c.dom.Node;
 /**
  * Convenient functionalty for the parent ODF OpenDocument element
  * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.text.list.List}
in Simple API.
  */
 public class OdfTextList extends TextListElement {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextParagraph.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextParagraph.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextParagraph.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextParagraph.java
Fri Oct 14 09:56:44 2011
@@ -27,6 +27,7 @@ import org.odftoolkit.odfdom.dom.element
 /**
  * Convenient functionalty for the parent ODF OpenDocument element
  *
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.text.Paragraph}
in Simple API.
  */
 public class OdfTextParagraph extends TextPElement {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextSpan.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextSpan.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextSpan.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfTextSpan.java
Fri Oct 14 09:56:44 2011
@@ -27,7 +27,8 @@ import org.odftoolkit.odfdom.dom.element
 
 /**
  * Convenient functionalty for the parent ODF OpenDocument element
- *
+ * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.text.Span}
in Simple API.
  */
 public class OdfTextSpan extends TextSpanElement
 {

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfWhitespaceProcessor.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfWhitespaceProcessor.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfWhitespaceProcessor.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/doc/text/OdfWhitespaceProcessor.java
Fri Oct 14 09:56:44 2011
@@ -31,8 +31,10 @@ import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 
 /**
- *
+ * It's a tool class to help process white space.
+ * 
  * @author J David Eisenberg
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.common.WhitespaceProcessor}
in Simple API.
  */
 public class OdfWhitespaceProcessor {
 	private int nSpaces;

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/meta/OdfMetaDocumentStatistic.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/meta/OdfMetaDocumentStatistic.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/meta/OdfMetaDocumentStatistic.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/meta/OdfMetaDocumentStatistic.java
Fri Oct 14 09:56:44 2011
@@ -28,6 +28,7 @@ import org.odftoolkit.odfdom.dom.element
  * <code>OdfMetaDocumentStatistic</code> feature specifies the statistics about
  * the document.
  * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.meta.DocumentStatistic}
in Simple API.
  */
 public class OdfMetaDocumentStatistic {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/meta/OdfOfficeMeta.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/meta/OdfOfficeMeta.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/meta/OdfOfficeMeta.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/meta/OdfOfficeMeta.java
Fri Oct 14 09:56:44 2011
@@ -26,9 +26,7 @@ import java.util.ArrayList;
 import java.util.Calendar;
 import java.util.Date;
 import java.util.List;
-import org.odftoolkit.odfdom.dom.OdfMetaDom;
-import org.odftoolkit.odfdom.pkg.OdfElement;
-import org.odftoolkit.odfdom.pkg.OdfFileDom;
+
 import org.odftoolkit.odfdom.dom.element.dc.DcCreatorElement;
 import org.odftoolkit.odfdom.dom.element.dc.DcDateElement;
 import org.odftoolkit.odfdom.dom.element.dc.DcDescriptionElement;
@@ -50,6 +48,8 @@ import org.odftoolkit.odfdom.dom.element
 import org.odftoolkit.odfdom.dom.element.meta.MetaUserDefinedElement;
 import org.odftoolkit.odfdom.dom.element.office.OfficeDocumentMetaElement;
 import org.odftoolkit.odfdom.dom.element.office.OfficeMetaElement;
+import org.odftoolkit.odfdom.pkg.OdfElement;
+import org.odftoolkit.odfdom.pkg.OdfFileDom;
 import org.odftoolkit.odfdom.type.Duration;
 
 /**
@@ -57,6 +57,7 @@ import org.odftoolkit.odfdom.type.Durati
  * <p>
  * It provides convenient method to get meta data info.
  * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.meta.Meta}
in Simple API.
  */
 public class OdfOfficeMeta {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/InvalidNavigationException.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/InvalidNavigationException.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/InvalidNavigationException.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/InvalidNavigationException.java
Fri Oct 14 09:56:44 2011
@@ -21,20 +21,23 @@
 package org.odftoolkit.odfdom.incubator.search;
 
 /**
- * Thrown to indicate that the navigation operation  
- * can not be processed on selections
+ * Thrown to indicate that the navigation operation can not be processed on
+ * selections
+ * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.common.navigation.InvalidNavigationException}
in Simple API.
  */
 public class InvalidNavigationException extends Exception {
 
-    private static final long serialVersionUID = -6139894252732076102L;
+	private static final long serialVersionUID = -6139894252732076102L;
 
-    /**
-     * Constructs a <code>InvalidNavigateOperation</code> with the 
-     * specified detail message. 
-     *
-     * @param   msg   the detail message.
-     */
-    public InvalidNavigationException(String msg) {
-	super(msg);
-    }
+	/**
+	 * Constructs a <code>InvalidNavigateOperation</code> with the specified
+	 * detail message.
+	 * 
+	 * @param msg
+	 *            the detail message.
+	 */
+	public InvalidNavigationException(String msg) {
+		super(msg);
+	}
 }

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/Navigation.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/Navigation.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/Navigation.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/Navigation.java
Fri Oct 14 09:56:44 2011
@@ -26,6 +26,7 @@ import org.w3c.dom.Node;
  * Abstract class Navigation used to navigate the document
  * and find the matched element by the user defined conditions
  *
+ *@deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.common.navigation.Navigation}
in Simple API.
  */
 public abstract class Navigation {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/Selection.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/Selection.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/Selection.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/Selection.java
Fri Oct 14 09:56:44 2011
@@ -26,10 +26,11 @@ import java.util.Vector;
 import org.odftoolkit.odfdom.pkg.OdfElement;
 
 /**
- * Abstract class Selection describe one of the matched results 
- * The selection can be recognized by the container mElement, the start
- * mIndex of the text content of this mElement and the text content.
- *
+ * Abstract class Selection describe one of the matched results The selection
+ * can be recognized by the container mElement, the start mIndex of the text
+ * content of this mElement and the text content.
+ * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.common.navigation.Selection}
in Simple API.
  */
 public abstract class Selection {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/TextNavigation.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/TextNavigation.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/TextNavigation.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/TextNavigation.java
Fri Oct 14 09:56:44 2011
@@ -38,6 +38,7 @@ import org.w3c.dom.NodeList;
  * it is used to search the document and find the matched text 
  * and would return TextSelection instance
  *
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.common.navigation.TextNavigation}
in Simple API.
  */
 public class TextNavigation extends Navigation {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/TextSelection.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/TextSelection.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/TextSelection.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/TextSelection.java
Fri Oct 14 09:56:44 2011
@@ -26,7 +26,6 @@ import java.util.TreeMap;
 
 import org.odftoolkit.odfdom.pkg.OdfElement;
 import org.odftoolkit.odfdom.pkg.OdfFileDom;
-import org.odftoolkit.odfdom.pkg.OdfNamespace;
 import org.odftoolkit.odfdom.doc.OdfDocument;
 import org.odftoolkit.odfdom.dom.OdfDocumentNamespace;
 import org.odftoolkit.odfdom.dom.element.OdfStylableElement;
@@ -50,6 +49,7 @@ import org.w3c.dom.Node;
  *  OdfTextHeadingt), the start index of the text content of the container element and 
  *  the text content of this selection.
  * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.common.navigation.TextSelection}
in Simple API.
  */
 public class TextSelection extends Selection {
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/TextStyleNavigation.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/TextStyleNavigation.java?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/TextStyleNavigation.java
(original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/incubator/search/TextStyleNavigation.java
Fri Oct 14 09:56:44 2011
@@ -28,11 +28,6 @@ import java.util.Set;
 import java.util.logging.Level;
 import java.util.logging.Logger;
 
-import javax.xml.xpath.XPath;
-import javax.xml.xpath.XPathFactory;
-
-import org.odftoolkit.odfdom.pkg.OdfElement;
-import org.odftoolkit.odfdom.pkg.OdfNamespace;
 import org.odftoolkit.odfdom.doc.OdfTextDocument;
 import org.odftoolkit.odfdom.dom.OdfDocumentNamespace;
 import org.odftoolkit.odfdom.dom.element.OdfStylableElement;
@@ -42,14 +37,17 @@ import org.odftoolkit.odfdom.incubator.d
 import org.odftoolkit.odfdom.incubator.doc.style.OdfStyle;
 import org.odftoolkit.odfdom.incubator.doc.text.OdfTextHeading;
 import org.odftoolkit.odfdom.incubator.doc.text.OdfTextParagraph;
+import org.odftoolkit.odfdom.pkg.OdfElement;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
 
 /**
- * A derived Navigation class used for navigate the mText content
- * it is used to search the document and find the matched style properties
- * and would return TextSelection instance
+ * A derived Navigation class used for navigate the mText content it is used to
+ * search the document and find the matched style properties and would return
+ * TextSelection instance
+ * 
+ * @deprecated As of release 0.8.8, replaced by {@link #org.odftoolkit.simple.common.navigation.TextStyleNavigation}
in Simple API.
  */
 public class TextStyleNavigation extends Navigation {
 

Modified: incubator/odf/trunk/odfdom/src/main/javadoc/org/odftoolkit/odfdom/doc/package.html
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/javadoc/org/odftoolkit/odfdom/doc/package.html?rev=1183270&r1=1183269&r2=1183270&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/javadoc/org/odftoolkit/odfdom/doc/package.html (original)
+++ incubator/odf/trunk/odfdom/src/main/javadoc/org/odftoolkit/odfdom/doc/package.html Fri
Oct 14 09:56:44 2011
@@ -36,7 +36,9 @@
         ##### ONE-SENTENCE SUMMARY STARTING WITH A VERB LIKE:    #####
         -->
         The "Document Layer" exisit for usability reasons, it gives a feature based view
on the document model.
-		One feature consists of one or more ODF elements (e.g. table).
+		One feature consists of one or more ODF elements (e.g. table).</br>
+		<b>NOTE:</b> Since ODFDOM 0.8.8, the "Document Layer" was marked as "Deprecated".
We suggest you use Simple API replace the APIs in this package. Simple API is similar with
it, but more stable and with more powerful features.
+		More detail information, please reference the Javadoc in each class.
         <!-- Put @see and @since tags down here. -->
         
     </body>



Mime
View raw message