You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by jk...@apache.org on 2005/06/30 17:52:45 UTC

svn commit: r208642 - /incubator/woden/java/src/org/apache/woden/internal/wsdl20/DescriptionComponent.java

Author: jkaputin
Date: Thu Jun 30 08:52:44 2005
New Revision: 208642

URL: http://svn.apache.org/viewcvs?rev=208642&view=rev
Log:
Javadoc updated and some refactoring of imports and the
inheritance hierarchy (getParent removed from description)

Modified:
    incubator/woden/java/src/org/apache/woden/internal/wsdl20/DescriptionComponent.java

Modified: incubator/woden/java/src/org/apache/woden/internal/wsdl20/DescriptionComponent.java
URL: http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/internal/wsdl20/DescriptionComponent.java?rev=208642&r1=208641&r2=208642&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/internal/wsdl20/DescriptionComponent.java (original)
+++ incubator/woden/java/src/org/apache/woden/internal/wsdl20/DescriptionComponent.java Thu Jun 30 08:52:44 2005
@@ -6,23 +6,17 @@
 import org.apache.woden.wsdl20.Binding;
 import org.apache.woden.wsdl20.Component;
 import org.apache.woden.wsdl20.Description;
+import org.apache.woden.wsdl20.ElementDeclaration;
 import org.apache.woden.wsdl20.Interface;
 import org.apache.woden.wsdl20.Service;
-import org.apache.woden.wsdl20.xml.ElementDeclaration;
-import org.apache.woden.wsdl20.xml.TypeDefinition;
+import org.apache.woden.wsdl20.TypeDefinition;
 
 /**
- * This class represents the abstract (flattened) view of Description
- * as described in the WSDL 2.0 Component Model.
- * 
- * TODO -
- * If the spec is changed to replace the flattened abstract view with 
- * an infoset model, merge this class in with DescriptionImpl but consider
- * keeping the 'fattening' methods as convenience methods in the new class.
- * e.g. the getInterfaces methods from the Description component model may
- * become getAllInterfaces (i.e. get nested interfaces too) in the 
- * infoset-only model, along with a getInterfaces method (i.e. get just the
- * interfaces for which this description infoitem has visibility).
+ * This class implements the Description component from the WSDL Component
+ * Model, as described in the WSDL 2.0 specification.  It presents an abstract 
+ * view of a WSDL document. That is, a 'flattened' view of the WSDL that ignores 
+ * any underlying XML document composition imposed by <import> or <include> 
+ * elements and elimates the need to 'walk' the XML tree to access the WSDL content. 
  * 
  * @author jkaputin@apache.org
  */
@@ -65,14 +59,6 @@
      */
     public TypeDefinition[] getTypeDefinitions() {
         // TODO Auto-generated method stub
-        return null;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.Component#getParent()
-     */
-    public Component getParent() {
-        //this component does not have a parent, so just return null
         return null;
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org