[teiid-commits] teiid SVN: r3834 - branches/7.7.x/api/src/main/java/org/teiid/language/visitor.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Mon Jan 30 13:19:22 EST 2012


Author: shawkins
Date: 2012-01-30 13:19:21 -0500 (Mon, 30 Jan 2012)
New Revision: 3834

Modified:
   branches/7.7.x/api/src/main/java/org/teiid/language/visitor/AbstractLanguageVisitor.java
   branches/7.7.x/api/src/main/java/org/teiid/language/visitor/CollectorVisitor.java
   branches/7.7.x/api/src/main/java/org/teiid/language/visitor/HierarchyVisitor.java
   branches/7.7.x/api/src/main/java/org/teiid/language/visitor/SQLStringVisitor.java
Log:
removing references to ILanguageObject

Modified: branches/7.7.x/api/src/main/java/org/teiid/language/visitor/AbstractLanguageVisitor.java
===================================================================
--- branches/7.7.x/api/src/main/java/org/teiid/language/visitor/AbstractLanguageVisitor.java	2012-01-30 18:18:50 UTC (rev 3833)
+++ branches/7.7.x/api/src/main/java/org/teiid/language/visitor/AbstractLanguageVisitor.java	2012-01-30 18:19:21 UTC (rev 3834)
@@ -28,9 +28,9 @@
 
 
 /**
- * Visitor that visits an instance of ILanguageObject and performs an operation
+ * Visitor that visits an instance of LanguageObject and performs an operation
  * on that instance. The visit() methods of this Visitor can be selectively
- * overridden to perform operations on each type of ILanguageObject. The public
+ * overridden to perform operations on each type of LanguageObject. The public
  * visit() methods should not be called directly, as they are only used by this
  * visitor framework to let the instance invoke the type-specific visit() method
  */
@@ -40,11 +40,11 @@
     }
     
     /**
-     * Visit the ILanguageObject instance to perform the Visitor's operation on
+     * Visit the LanguageObject instance to perform the Visitor's operation on
      * that instance. This method can also be used by the subclass to visit any
-     * ILanguageObject instances that the given instance may contain.
+     * LanguageObject instances that the given instance may contain.
      * @see HierarchyVisitor
-     * @param obj an ILanguageObject instance
+     * @param obj an LanguageObject instance
      */
     public void visitNode(LanguageObject obj) {
         if (obj != null) {
@@ -53,9 +53,9 @@
     }
     
     /**
-     * Visits a Collection of ILanguageObjects in iteration order. This method
-     * can be used by subclasses to visit each ILanguageObject in the Collection
-     * @param nodes a Collection of ILanguageObjects
+     * Visits a Collection of LanguageObjects in iteration order. This method
+     * can be used by subclasses to visit each LanguageObject in the Collection
+     * @param nodes a Collection of LanguageObjects
      */
     public void visitNodes(Collection<? extends LanguageObject> nodes) {
         if (nodes != null && nodes.size() > 0) {
@@ -66,9 +66,9 @@
     }
     
     /**
-     * Visits an array of ILanguageObjects in order. This method can be used by
-     * subclasses to visit each ILanguageObject in the array.
-     * @param nodes an ILanguageObject[]
+     * Visits an array of LanguageObjects in order. This method can be used by
+     * subclasses to visit each LanguageObject in the array.
+     * @param nodes an LanguageObject[]
      */
     public void visitNodes(LanguageObject[] nodes) {
         if (nodes != null && nodes.length > 0) {

Modified: branches/7.7.x/api/src/main/java/org/teiid/language/visitor/CollectorVisitor.java
===================================================================
--- branches/7.7.x/api/src/main/java/org/teiid/language/visitor/CollectorVisitor.java	2012-01-30 18:18:50 UTC (rev 3833)
+++ branches/7.7.x/api/src/main/java/org/teiid/language/visitor/CollectorVisitor.java	2012-01-30 18:19:21 UTC (rev 3834)
@@ -65,7 +65,7 @@
      * of the specified tree in the language object tree.
      * @param type Language object type to look for
      * @param object Root of the language object tree
-     * @return Collection of ILanguageObject of the specified type
+     * @return Collection of LanguageObject of the specified type
      */
     public static <T> Collection<T> collectObjects(Class<T> type, LanguageObject object) {
         CollectorVisitor<T> visitor = new CollectorVisitor<T>(type);

Modified: branches/7.7.x/api/src/main/java/org/teiid/language/visitor/HierarchyVisitor.java
===================================================================
--- branches/7.7.x/api/src/main/java/org/teiid/language/visitor/HierarchyVisitor.java	2012-01-30 18:18:50 UTC (rev 3833)
+++ branches/7.7.x/api/src/main/java/org/teiid/language/visitor/HierarchyVisitor.java	2012-01-30 18:19:21 UTC (rev 3834)
@@ -57,13 +57,13 @@
 import org.teiid.language.WithItem;
 
 /**
- * Visits each node in  a hierarchy of ILanguageObjects. The default
+ * Visits each node in  a hierarchy of LanguageObjects. The default
  * implementation of each visit() method is simply to visit the children of a
- * given ILanguageObject, if any exist, with this HierarchyVisitor (without
+ * given LanguageObject, if any exist, with this HierarchyVisitor (without
  * performing any actions on the node). A subclass can selectively override
  * visit() methods to delegate the actions performed on a node to another
  * visitor by calling that Visitor's visit() method. This implementation makes
- * no guarantees about the order in which the children of an ILanguageObject are
+ * no guarantees about the order in which the children of an LanguageObject are
  * visited.
  * @see DelegatingHierarchyVisitor
  */

Modified: branches/7.7.x/api/src/main/java/org/teiid/language/visitor/SQLStringVisitor.java
===================================================================
--- branches/7.7.x/api/src/main/java/org/teiid/language/visitor/SQLStringVisitor.java	2012-01-30 18:18:50 UTC (rev 3833)
+++ branches/7.7.x/api/src/main/java/org/teiid/language/visitor/SQLStringVisitor.java	2012-01-30 18:19:21 UTC (rev 3834)
@@ -113,7 +113,7 @@
     }
     
     /**
-     * Appends the string form of the ILanguageObject to the current buffer.
+     * Appends the string form of the LanguageObject to the current buffer.
      * @param obj the language object instance
      */
     public void append(LanguageObject obj) {
@@ -127,7 +127,7 @@
     /**
      * Simple utility to append a list of language objects to the current buffer
      * by creating a comma-separated list.
-     * @param items a list of ILanguageObjects
+     * @param items a list of LanguageObjects
      */
     protected void append(List<? extends LanguageObject> items) {
         if (items != null && items.size() != 0) {
@@ -143,7 +143,7 @@
     /**
      * Simple utility to append an array of language objects to the current buffer
      * by creating a comma-separated list.
-     * @param items an array of ILanguageObjects
+     * @param items an array of LanguageObjects
      */
     protected void append(LanguageObject[] items) {
         if (items != null && items.length != 0) {
@@ -991,11 +991,11 @@
     }
  
     /**
-     * Gets the SQL string representation for a given ILanguageObject.
-     * @param obj the root of the ILanguageObject hierarchy that needs to be
+     * Gets the SQL string representation for a given LanguageObject.
+     * @param obj the root of the LanguageObject hierarchy that needs to be
      * converted. This can be any subtree, and does not need to be a top-level
      * command
-     * @return the SQL representation of that ILanguageObject hierarchy
+     * @return the SQL representation of that LanguageObject hierarchy
      */
     public static String getSQLString(LanguageObject obj) {
         SQLStringVisitor visitor = new SQLStringVisitor();



More information about the teiid-commits mailing list