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 2007/08/23 13:01:35 UTC

svn commit: r568932 [29/36] - in /incubator/woden/trunk/java/src/org/apache/woden: ./ ant/ internal/ internal/resolver/ internal/schema/ internal/util/ internal/util/dom/ internal/util/om/ internal/wsdl20/ internal/wsdl20/extensions/ internal/wsdl20/ex...

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/ElementDeclaration.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/ElementDeclaration.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/ElementDeclaration.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/ElementDeclaration.java Thu Aug 23 04:01:23 2007
@@ -1,108 +1,108 @@
-/**
+/**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You 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.
- */
-package org.apache.woden.wsdl20;
-
-import java.net.URI;
-
-import javax.xml.namespace.QName;
-
-/**
- * Represents the ElementDeclaration component described in the WSDL 2.0 component 
- * model (within the Description Component section of the W3C WSDL 2.0 spec). 
- * It describes the content of WSDL input, output and fault messages.
- * This component represents global element declarations such as top-level,
- * named element declarations in W3C XML Schema (i.e. <xs:element>).
- * <p>
- * However, it does not mandate W3C XML Schema as the type system. 
- * It defines behaviour to query the type system and the underlying content
- * model or API being used to represent the element declarations, and to 
- * return a java.lang.Object representing the actual element declaration object.
- * Based on the type system and content model, the application must cast this
- * Object to the appropriate type to manipulate its contents.
- * <p>
- * Note that while ElementDeclaration is described along with the Component model
- * in the W3C WSDL 2.0 specification, it is not a WSDL component itself. 
- * It simply provides a way of representing components from the underlying type 
- * system within the WSDL Component model.
- * 
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface ElementDeclaration {
-    
-    /**
-     * A constant representing the DOM API. This may be used to indicate the 
-     * content model of the underlying element declaration.
-     */
-    public static final String API_W3C_DOM =
-        "org.w3c.dom";
-
-    /**
-     * A constant representing the Apache WS-Commons XmlSchema API. This may be used to 
-     * indicate the content model of the underlying element declaration.
-     */
-    public static final String API_APACHE_WS_XS =
-        "org.apache.ws.commons.schema";
-
-    /**
-     * Representing the {name} property of the ElementDeclaration component, this 
-     * method returns the qualified name of this ElementDeclaration.
-     * 
-     * @return the QName that identifies this ElementDeclaration
-     */
-    public QName getName();
-    
-    /**
-     * Representing the {system} property of the ElementDeclaration component, this
-     * method indicates the type system from which this element declaration is derived.
-     * For example, "http://www.w3.org/2001/XMLSchema" indicates the W3C XML Schema
-     * type system.
-     *  
-     * @return the URI identifying the type system
-     */
-    public URI getSystem();
-    
-    /**
-     * Indicates the type of object model or API which should be used to 
-     * access the content of the underlying element declaration.
-     * This can be used to determine how to cast the Object returned by
-     * the <code>getContent()</code> method.
-     * <p>
-     * For example:
-     * <ul>
-     * <li>The content model "org.w3c.dom" indicates that the DOM API should be used, 
-     * so the type org.w3c.dom.Element will be used to represent the content of the
-     * element declaration.
-     * <li>The content model "org.apache.ws.commons.schema" indicates that the 
-     * WS-Commons XmlSchema API from the Apache WebServices project is used, 
-     * so an org.apache.ws.commons.schema.XmlSchemaElement will be used to represent the 
-     * content of the element declaration. 
-     * </ul>
-     * 
-     * @return a String identifying the element declaration's content model
-     */
-    public String getContentModel();
-    
-    /**
-     * Returns the underlying element declaration as a java.lang.Object, which should
-     * be cast to the appropriate type as indicated by the <code>getContentModel()</code> 
-     * method.
-     * 
-     * @return the Object representing the content of the element declaration
-     */
-    public Object getContent();
-    
-}
+ * 
+ *     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.
+ */
+package org.apache.woden.wsdl20;
+
+import java.net.URI;
+
+import javax.xml.namespace.QName;
+
+/**
+ * Represents the ElementDeclaration component described in the WSDL 2.0 component 
+ * model (within the Description Component section of the W3C WSDL 2.0 spec). 
+ * It describes the content of WSDL input, output and fault messages.
+ * This component represents global element declarations such as top-level,
+ * named element declarations in W3C XML Schema (i.e. &lt;xs:element&gt;).
+ * <p>
+ * However, it does not mandate W3C XML Schema as the type system. 
+ * It defines behaviour to query the type system and the underlying content
+ * model or API being used to represent the element declarations, and to 
+ * return a java.lang.Object representing the actual element declaration object.
+ * Based on the type system and content model, the application must cast this
+ * Object to the appropriate type to manipulate its contents.
+ * <p>
+ * Note that while ElementDeclaration is described along with the Component model
+ * in the W3C WSDL 2.0 specification, it is not a WSDL component itself. 
+ * It simply provides a way of representing components from the underlying type 
+ * system within the WSDL Component model.
+ * 
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface ElementDeclaration {
+    
+    /**
+     * A constant representing the DOM API. This may be used to indicate the 
+     * content model of the underlying element declaration.
+     */
+    public static final String API_W3C_DOM =
+        "org.w3c.dom";
+
+    /**
+     * A constant representing the Apache WS-Commons XmlSchema API. This may be used to 
+     * indicate the content model of the underlying element declaration.
+     */
+    public static final String API_APACHE_WS_XS =
+        "org.apache.ws.commons.schema";
+
+    /**
+     * Representing the {name} property of the ElementDeclaration component, this 
+     * method returns the qualified name of this ElementDeclaration.
+     * 
+     * @return the QName that identifies this ElementDeclaration
+     */
+    public QName getName();
+    
+    /**
+     * Representing the {system} property of the ElementDeclaration component, this
+     * method indicates the type system from which this element declaration is derived.
+     * For example, "http://www.w3.org/2001/XMLSchema" indicates the W3C XML Schema
+     * type system.
+     *  
+     * @return the URI identifying the type system
+     */
+    public URI getSystem();
+    
+    /**
+     * Indicates the type of object model or API which should be used to 
+     * access the content of the underlying element declaration.
+     * This can be used to determine how to cast the Object returned by
+     * the <code>getContent()</code> method.
+     * <p>
+     * For example:
+     * <ul>
+     * <li>The content model "org.w3c.dom" indicates that the DOM API should be used, 
+     * so the type org.w3c.dom.Element will be used to represent the content of the
+     * element declaration.
+     * <li>The content model "org.apache.ws.commons.schema" indicates that the 
+     * WS-Commons XmlSchema API from the Apache WebServices project is used, 
+     * so an org.apache.ws.commons.schema.XmlSchemaElement will be used to represent the 
+     * content of the element declaration. 
+     * </ul>
+     * 
+     * @return a String identifying the element declaration's content model
+     */
+    public String getContentModel();
+    
+    /**
+     * Returns the underlying element declaration as a java.lang.Object, which should
+     * be cast to the appropriate type as indicated by the <code>getContentModel()</code> 
+     * method.
+     * 
+     * @return the Object representing the content of the element declaration
+     */
+    public Object getContent();
+    
+}

Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/ElementDeclaration.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/Endpoint.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/Endpoint.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/Endpoint.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/Endpoint.java Thu Aug 23 04:01:23 2007
@@ -1,62 +1,62 @@
-/**
+/**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You 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.
- */
-package org.apache.woden.wsdl20;
-
-import java.net.URI;
-
-import org.apache.woden.types.NCName;
-import org.apache.woden.wsdl20.xml.EndpointElement;
-
-/**
- * Represents the Endpoint component from the WSDL 2.0 Component model.
- * 
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface Endpoint extends NestedComponent 
-{
-    /**
-     * Returns the local name representing the {name} property of this Endpoint.
-     * 
-     * @return NCName representing the name of this Endpoint
-     */
-    public NCName getName();
-    
-    /**
-     * Represents the {binding} property of the Endpoint component. This is the Binding component
-     * that this Endpoint is associated with.
-     * 
-     * @return Binding associated with this Endpoint
-     */
-    public Binding getBinding();
-    
-    /**
-     * Returns a URI that represents the {address} property of this Endpoint.
-     * This is the network address at which the parent service can be found using the
-     * binding associated with this endpoint.
-     * 
-     * @return the URI address of the Service via this Endpoint
-     */
-    public URI getAddress();
-    
-    /**
-     * Returns a WSDLElement that represents the element information item from the WSDL 2.0 
-     * infoset that maps to this WSDLComponent. 
-     * 
-     * @return the EndpointElement that maps to this Endpoint
-     */
-    public EndpointElement toElement();
-}
+ * 
+ *     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.
+ */
+package org.apache.woden.wsdl20;
+
+import java.net.URI;
+
+import org.apache.woden.types.NCName;
+import org.apache.woden.wsdl20.xml.EndpointElement;
+
+/**
+ * Represents the Endpoint component from the WSDL 2.0 Component model.
+ * 
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface Endpoint extends NestedComponent 
+{
+    /**
+     * Returns the local name representing the {name} property of this Endpoint.
+     * 
+     * @return NCName representing the name of this Endpoint
+     */
+    public NCName getName();
+    
+    /**
+     * Represents the {binding} property of the Endpoint component. This is the Binding component
+     * that this Endpoint is associated with.
+     * 
+     * @return Binding associated with this Endpoint
+     */
+    public Binding getBinding();
+    
+    /**
+     * Returns a URI that represents the {address} property of this Endpoint.
+     * This is the network address at which the parent service can be found using the
+     * binding associated with this endpoint.
+     * 
+     * @return the URI address of the Service via this Endpoint
+     */
+    public URI getAddress();
+    
+    /**
+     * Returns a WSDLElement that represents the element information item from the WSDL 2.0 
+     * infoset that maps to this WSDLComponent. 
+     * 
+     * @return the EndpointElement that maps to this Endpoint
+     */
+    public EndpointElement toElement();
+}

Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/Endpoint.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/Interface.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/Interface.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/Interface.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/Interface.java Thu Aug 23 04:01:23 2007
@@ -1,153 +1,153 @@
-/**
+/**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You 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.
- */
-package org.apache.woden.wsdl20;
-
-import javax.xml.namespace.QName;
-
-import org.apache.woden.wsdl20.xml.InterfaceElement;
-
-/**
- * Represents the Interface component from the WSDL 2.0 Component model.
- * Defines behaviour for accessing the WSDL components nested within
- * the Interface component, including those inherited via Interface extension.
- *
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface Interface  extends WSDLComponent 
-{
-    /**
-     * Returns the qualified name representing the {name} property of this Interface.
-     * 
-     * @return QName representing the name of this Interface
-     */
-    public QName getName();
-    
-    /**
-     * Represents the {extended interfaces} property of the Interface component. 
-     * This is the set of declared Interface components that this Interface directly 
-     * extends, but does not include any Interfaces that those Interfaces extend.
-     * The method will return an empty array if there are no extended interfaces.
-     * 
-     * @return an array of Interface components
-     */
-    public Interface[] getExtendedInterfaces();
-    
-    /**
-     * Return the named Interface from the {extended interfaces} property of this Interface.
-     * That is, from the set of declared Interfaces that this Interface directly extends.
-     * If null is specified for the name, this method will return null.
-     * 
-     * @param interfaceName the qualified name of the required Interface
-     * @return the named Interface
-     */
-    public Interface getExtendedInterface(QName interfaceName);
-    
-    /**
-     * Represents the {interface faults} property of the Interface component. This is the set of
-     * interface faults declared directly by this interface, but not those defined by any 
-     * interfaces that this interface extends.
-     * The method will return an empty array if there are no interface faults.
-     * 
-     * @return array of InterfaceFault components
-     */
-    public InterfaceFault[] getInterfaceFaults();
-    
-    /**
-     * Returns the InterfaceFault with the specified name from the {interface faults}
-     * property of this Interface. That is, from the set of InterfaceFaults declared 
-     * directly by this Interface and excluding any inherited directly or indirectly 
-     * from extended Interfaces.
-     * If the name parameter is null, this method will return null.
-     * 
-     * @param faultName the qualified name of the InterfaceFault
-     * @return the InterfaceFault object
-     */
-    public InterfaceFault getInterfaceFault(QName faultName);
-    
-    /**
-     * Returns the set of all InterfaceFault components available to this Interface,
-     * which includes those declared by this Interface and those defined by any Interfaces 
-     * it extends, directly or indirectly. 
-     * The method will return an empty array if there are no interface faults.
-     * 
-     * @return array of InterfaceFault components
-     */
-    public InterfaceFault[] getAllInterfaceFaults();
-    
-    /**
-     * Returns the InterfaceFault with the specified name from the set of all InterfaceFaults
-     * available to this Interface, which includes those declared by this Interface and those
-     * defined by any Interfaces it extends, directly or indirectly.
-     * If the name parameter is null, this method will return null.
-     * 
-     * @param faultName the qualified name of the InterfaceFault
-     * @return the InterfaceFault object
-     */
-    public InterfaceFault getFromAllInterfaceFaults(QName faultName);
-    
-    /**
-     * Represents the {interface operations} property of the Interface component. This is the set 
-     * of interface operations declared directly by this interface, but not those defined by any 
-     * interfaces that this interface extends.
-     * The method will return an empty array if there are no interface operations.
-     * 
-     * @return array of InterfaceOperation components
-     */
-    public InterfaceOperation[] getInterfaceOperations();
-    
-    /**
-     * Returns the InterfaceOperation with the specified name from the {interface operations}
-     * property of this Interface. That is, from the set of InterfaceOperations declared directly
-     * by this Interface and excluding any inherited directly or indirectly from extended 
-     * Interfaces.
-     * If the name parameter is null, this method will return null.
-     * 
-     * @param operName the qualified name of the required InterfaceOperation
-     * @return the InterfaceOperation object
-     */
-    public InterfaceOperation getInterfaceOperation(QName operName);
-    
-    /**
-     * Returns the set of all InterfaceOperation components available to this Interface,
-     * which includes those declared by this Interface and those defined by the Interfaces 
-     * it extends, directly or indirectly.
-     * The method will return an empty array if there are no interface operations.
-     * 
-     * @return array of InterfaceOperation components
-     */
-    public InterfaceOperation[] getAllInterfaceOperations();
-    
-    /**
-     * Returns the InterfaceOperation with the specified name from the set of all InterfaceOperations
-     * available to this Interface, which includes those declared by this Interface and those
-     * defined by any Interfaces it extends, directly or indirectly. 
-     * If the name parameter is null, this method will return null.
-     * 
-     * @param operName the qualified name of the InterfaceOperation
-     * @return the InterfaceOperation object
-     */
-    public InterfaceOperation getFromAllInterfaceOperations(QName operName);
-    
-    /**
-     * Returns a WSDLElement that represents the element information item from the WSDL 2.0 
-     * infoset that maps to this WSDLComponent. 
-     * 
-     * @return the InterfaceElement that maps to this Interface
-     */
-    public InterfaceElement toElement();
-    
-}
+ * 
+ *     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.
+ */
+package org.apache.woden.wsdl20;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.wsdl20.xml.InterfaceElement;
+
+/**
+ * Represents the Interface component from the WSDL 2.0 Component model.
+ * Defines behaviour for accessing the WSDL components nested within
+ * the Interface component, including those inherited via Interface extension.
+ *
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface Interface  extends WSDLComponent 
+{
+    /**
+     * Returns the qualified name representing the {name} property of this Interface.
+     * 
+     * @return QName representing the name of this Interface
+     */
+    public QName getName();
+    
+    /**
+     * Represents the {extended interfaces} property of the Interface component. 
+     * This is the set of declared Interface components that this Interface directly 
+     * extends, but does not include any Interfaces that those Interfaces extend.
+     * The method will return an empty array if there are no extended interfaces.
+     * 
+     * @return an array of Interface components
+     */
+    public Interface[] getExtendedInterfaces();
+    
+    /**
+     * Return the named Interface from the {extended interfaces} property of this Interface.
+     * That is, from the set of declared Interfaces that this Interface directly extends.
+     * If null is specified for the name, this method will return null.
+     * 
+     * @param interfaceName the qualified name of the required Interface
+     * @return the named Interface
+     */
+    public Interface getExtendedInterface(QName interfaceName);
+    
+    /**
+     * Represents the {interface faults} property of the Interface component. This is the set of
+     * interface faults declared directly by this interface, but not those defined by any 
+     * interfaces that this interface extends.
+     * The method will return an empty array if there are no interface faults.
+     * 
+     * @return array of InterfaceFault components
+     */
+    public InterfaceFault[] getInterfaceFaults();
+    
+    /**
+     * Returns the InterfaceFault with the specified name from the {interface faults}
+     * property of this Interface. That is, from the set of InterfaceFaults declared 
+     * directly by this Interface and excluding any inherited directly or indirectly 
+     * from extended Interfaces.
+     * If the name parameter is null, this method will return null.
+     * 
+     * @param faultName the qualified name of the InterfaceFault
+     * @return the InterfaceFault object
+     */
+    public InterfaceFault getInterfaceFault(QName faultName);
+    
+    /**
+     * Returns the set of all InterfaceFault components available to this Interface,
+     * which includes those declared by this Interface and those defined by any Interfaces 
+     * it extends, directly or indirectly. 
+     * The method will return an empty array if there are no interface faults.
+     * 
+     * @return array of InterfaceFault components
+     */
+    public InterfaceFault[] getAllInterfaceFaults();
+    
+    /**
+     * Returns the InterfaceFault with the specified name from the set of all InterfaceFaults
+     * available to this Interface, which includes those declared by this Interface and those
+     * defined by any Interfaces it extends, directly or indirectly.
+     * If the name parameter is null, this method will return null.
+     * 
+     * @param faultName the qualified name of the InterfaceFault
+     * @return the InterfaceFault object
+     */
+    public InterfaceFault getFromAllInterfaceFaults(QName faultName);
+    
+    /**
+     * Represents the {interface operations} property of the Interface component. This is the set 
+     * of interface operations declared directly by this interface, but not those defined by any 
+     * interfaces that this interface extends.
+     * The method will return an empty array if there are no interface operations.
+     * 
+     * @return array of InterfaceOperation components
+     */
+    public InterfaceOperation[] getInterfaceOperations();
+    
+    /**
+     * Returns the InterfaceOperation with the specified name from the {interface operations}
+     * property of this Interface. That is, from the set of InterfaceOperations declared directly
+     * by this Interface and excluding any inherited directly or indirectly from extended 
+     * Interfaces.
+     * If the name parameter is null, this method will return null.
+     * 
+     * @param operName the qualified name of the required InterfaceOperation
+     * @return the InterfaceOperation object
+     */
+    public InterfaceOperation getInterfaceOperation(QName operName);
+    
+    /**
+     * Returns the set of all InterfaceOperation components available to this Interface,
+     * which includes those declared by this Interface and those defined by the Interfaces 
+     * it extends, directly or indirectly.
+     * The method will return an empty array if there are no interface operations.
+     * 
+     * @return array of InterfaceOperation components
+     */
+    public InterfaceOperation[] getAllInterfaceOperations();
+    
+    /**
+     * Returns the InterfaceOperation with the specified name from the set of all InterfaceOperations
+     * available to this Interface, which includes those declared by this Interface and those
+     * defined by any Interfaces it extends, directly or indirectly. 
+     * If the name parameter is null, this method will return null.
+     * 
+     * @param operName the qualified name of the InterfaceOperation
+     * @return the InterfaceOperation object
+     */
+    public InterfaceOperation getFromAllInterfaceOperations(QName operName);
+    
+    /**
+     * Returns a WSDLElement that represents the element information item from the WSDL 2.0 
+     * infoset that maps to this WSDLComponent. 
+     * 
+     * @return the InterfaceElement that maps to this Interface
+     */
+    public InterfaceElement toElement();
+    
+}

Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/Interface.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceFault.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceFault.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceFault.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceFault.java Thu Aug 23 04:01:23 2007
@@ -1,67 +1,67 @@
-/**
+/**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You 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.
- */
-package org.apache.woden.wsdl20;
-
-import javax.xml.namespace.QName;
-
-import org.apache.woden.wsdl20.xml.InterfaceFaultElement;
-
-
-/**
- * Represents the InterfaceFault component from the WSDL 2.0 Component model.
- * 
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface InterfaceFault extends NestedComponent {
-
-    /**
-     * Returns the qualified name representing the {name} property of this InterfaceFault.
-     * 
-     * @return QName representing the name of this InterfaceFault
-     */
-    public QName getName();
-    
-    /**
-     * Returns a String representing the {message content model} property of this
-     * InterfaceFault. This specifies a token indicating the type of message content. 
-     * '#any' means any single element, '#none' means no message content, 
-     * '#other' means non-XML extension type system and '#element' means 
-     * XML Schema global element definition.
-     * 
-     * TODO CR138 adds this property, so check Spec when its updated to ensure javadoc is accurate
-     *   
-     * @return String representing the type of message content
-     */
-    public String getMessageContentModel();
-    
-    /**
-     * Returns the ElementDeclaration representing the {element declaration} property
-     * of this InterfaceFault. This describes the content or "payload" of the fault.
-     * 
-     * @return the ElementDeclaration that describes the fault content.
-     */
-    public ElementDeclaration getElementDeclaration();
-    
-    /**
-     * Returns a WSDLElement that represents the element information item from the WSDL 2.0 
-     * infoset that maps to this WSDLComponent. 
-     * 
-     * @return the InterfaceFaultElement that maps to this InterfaceFault
-     */
-    public InterfaceFaultElement toElement();
-    
-}
+ * 
+ *     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.
+ */
+package org.apache.woden.wsdl20;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.wsdl20.xml.InterfaceFaultElement;
+
+
+/**
+ * Represents the InterfaceFault component from the WSDL 2.0 Component model.
+ * 
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface InterfaceFault extends NestedComponent {
+
+    /**
+     * Returns the qualified name representing the {name} property of this InterfaceFault.
+     * 
+     * @return QName representing the name of this InterfaceFault
+     */
+    public QName getName();
+    
+    /**
+     * Returns a String representing the {message content model} property of this
+     * InterfaceFault. This specifies a token indicating the type of message content. 
+     * '#any' means any single element, '#none' means no message content, 
+     * '#other' means non-XML extension type system and '#element' means 
+     * XML Schema global element definition.
+     * 
+     * TODO CR138 adds this property, so check Spec when its updated to ensure javadoc is accurate
+     *   
+     * @return String representing the type of message content
+     */
+    public String getMessageContentModel();
+    
+    /**
+     * Returns the ElementDeclaration representing the {element declaration} property
+     * of this InterfaceFault. This describes the content or "payload" of the fault.
+     * 
+     * @return the ElementDeclaration that describes the fault content.
+     */
+    public ElementDeclaration getElementDeclaration();
+    
+    /**
+     * Returns a WSDLElement that represents the element information item from the WSDL 2.0 
+     * infoset that maps to this WSDLComponent. 
+     * 
+     * @return the InterfaceFaultElement that maps to this InterfaceFault
+     */
+    public InterfaceFaultElement toElement();
+    
+}

Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceFault.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceFaultReference.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceFaultReference.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceFaultReference.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceFaultReference.java Thu Aug 23 04:01:23 2007
@@ -1,66 +1,66 @@
-/**
+/**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You 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.
- */
-package org.apache.woden.wsdl20;
-
-import org.apache.woden.types.NCName;
-import org.apache.woden.wsdl20.enumeration.Direction;
-import org.apache.woden.wsdl20.xml.InterfaceFaultReferenceElement;
-
-/**
- * Represents the InterfaceFaultReference component from the WSDL 2.0 Component model.
- * 
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface InterfaceFaultReference extends NestedComponent {
-    
-    
-    /**
-     * Returns an InterfaceFault representing the {interface fault} property of this
-     * InterfaceFaultReference. It identifies the interface fault that is associated 
-     * with the parent interface operation by this interface fault reference.
-     * 
-     * @return an InterfaceFault associated by this InterfaceFaultReference
-     */
-    public InterfaceFault getInterfaceFault();
-    
-    /**
-     * Returns an NCName representing the {message label} property of this InterfaceFaultReference.
-     * This associates the fault with a placeholder message in the message exchange pattern
-     * identified by the parent interface operation.
-     * 
-     * @return an NCName representing the message label
-     */
-    public NCName getMessageLabel();
-    
-    /**
-     * Returns an enumerated type, Direction, that represents the {direction} property
-     * of this InterfaceFaultReference. This indicates the direction in which this fault
-     * is used; 'in' or 'out'.
-     * 
-     * @return the Direction of this fault
-     */
-    public Direction getDirection();
-    
-    /**
-     * Returns a WSDLElement that represents the element information item from the WSDL 2.0 
-     * infoset that maps to this WSDLComponent. 
-     * 
-     * @return the InterfaceFaultReferenceElement that maps to this InterfaceFaultReference
-     */
-    public InterfaceFaultReferenceElement toElement();
-    
-}
+ * 
+ *     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.
+ */
+package org.apache.woden.wsdl20;
+
+import org.apache.woden.types.NCName;
+import org.apache.woden.wsdl20.enumeration.Direction;
+import org.apache.woden.wsdl20.xml.InterfaceFaultReferenceElement;
+
+/**
+ * Represents the InterfaceFaultReference component from the WSDL 2.0 Component model.
+ * 
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface InterfaceFaultReference extends NestedComponent {
+    
+    
+    /**
+     * Returns an InterfaceFault representing the {interface fault} property of this
+     * InterfaceFaultReference. It identifies the interface fault that is associated 
+     * with the parent interface operation by this interface fault reference.
+     * 
+     * @return an InterfaceFault associated by this InterfaceFaultReference
+     */
+    public InterfaceFault getInterfaceFault();
+    
+    /**
+     * Returns an NCName representing the {message label} property of this InterfaceFaultReference.
+     * This associates the fault with a placeholder message in the message exchange pattern
+     * identified by the parent interface operation.
+     * 
+     * @return an NCName representing the message label
+     */
+    public NCName getMessageLabel();
+    
+    /**
+     * Returns an enumerated type, Direction, that represents the {direction} property
+     * of this InterfaceFaultReference. This indicates the direction in which this fault
+     * is used; 'in' or 'out'.
+     * 
+     * @return the Direction of this fault
+     */
+    public Direction getDirection();
+    
+    /**
+     * Returns a WSDLElement that represents the element information item from the WSDL 2.0 
+     * infoset that maps to this WSDLComponent. 
+     * 
+     * @return the InterfaceFaultReferenceElement that maps to this InterfaceFaultReference
+     */
+    public InterfaceFaultReferenceElement toElement();
+    
+}

Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceFaultReference.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceMessageReference.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceMessageReference.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceMessageReference.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceMessageReference.java Thu Aug 23 04:01:23 2007
@@ -1,76 +1,76 @@
-/**
+/**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You 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.
- */
-package org.apache.woden.wsdl20;
-
-import org.apache.woden.types.NCName;
-import org.apache.woden.wsdl20.enumeration.Direction;
-import org.apache.woden.wsdl20.xml.InterfaceMessageReferenceElement;
-
-
-/**
- * Represents the InterfaceMessageReference component from the WSDL 2.0 Component model.
- * 
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface InterfaceMessageReference extends NestedComponent {
-    
-    /**
-     * Returns an NCName representing the {message label} property of this 
-     * InterfaceMessageReference. This associates the message with a placeholder message
-     * in the message exchange pattern specified by the parent interface operation.
-     * 
-     * @return an NCName representing the message label
-     */
-    public NCName getMessageLabel();
-    
-    /**
-     * Returns an enumerated type, Direction, that indicates the direction of this message.
-     * Direction.IN corresponds to an input message.
-     * Direction.OUT corresponds to an output message.
-     * 
-     * @return the Direction of this message
-     */
-    public Direction getDirection();
-    
-    /**
-     * Returns a String representing the {message content model} property of this
-     * InterfaceMessageReference. This specifies a token indicating the type of message content. 
-     * '#any' means any single element, '#none' means no message content, 
-     * '#other' means non-XML extension type system and '#element' means 
-     * XML Schema global element definition.
-     *   
-     * @return String representing the type of message content
-     */
-    public String getMessageContentModel();
-    
-    /**
-     * Returns the ElementDeclaration representing the {element declaration} property
-     * of this InterfaceMessageReference. This describes the content or "payload" of the message.
-     * 
-     * @return the ElementDeclaration that describes the message content.
-     */
-    public ElementDeclaration getElementDeclaration();
-    
-    /**
-     * Returns a WSDLElement that represents the element information item from the WSDL 2.0 
-     * infoset that maps to this WSDLComponent. 
-     * 
-     * @return the InterfaceMessageReferenceElement that maps to this InterfaceMessageReference
-     */
-    public InterfaceMessageReferenceElement toElement();
-    
-}
+ * 
+ *     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.
+ */
+package org.apache.woden.wsdl20;
+
+import org.apache.woden.types.NCName;
+import org.apache.woden.wsdl20.enumeration.Direction;
+import org.apache.woden.wsdl20.xml.InterfaceMessageReferenceElement;
+
+
+/**
+ * Represents the InterfaceMessageReference component from the WSDL 2.0 Component model.
+ * 
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface InterfaceMessageReference extends NestedComponent {
+    
+    /**
+     * Returns an NCName representing the {message label} property of this 
+     * InterfaceMessageReference. This associates the message with a placeholder message
+     * in the message exchange pattern specified by the parent interface operation.
+     * 
+     * @return an NCName representing the message label
+     */
+    public NCName getMessageLabel();
+    
+    /**
+     * Returns an enumerated type, Direction, that indicates the direction of this message.
+     * Direction.IN corresponds to an input message.
+     * Direction.OUT corresponds to an output message.
+     * 
+     * @return the Direction of this message
+     */
+    public Direction getDirection();
+    
+    /**
+     * Returns a String representing the {message content model} property of this
+     * InterfaceMessageReference. This specifies a token indicating the type of message content. 
+     * '#any' means any single element, '#none' means no message content, 
+     * '#other' means non-XML extension type system and '#element' means 
+     * XML Schema global element definition.
+     *   
+     * @return String representing the type of message content
+     */
+    public String getMessageContentModel();
+    
+    /**
+     * Returns the ElementDeclaration representing the {element declaration} property
+     * of this InterfaceMessageReference. This describes the content or "payload" of the message.
+     * 
+     * @return the ElementDeclaration that describes the message content.
+     */
+    public ElementDeclaration getElementDeclaration();
+    
+    /**
+     * Returns a WSDLElement that represents the element information item from the WSDL 2.0 
+     * infoset that maps to this WSDLComponent. 
+     * 
+     * @return the InterfaceMessageReferenceElement that maps to this InterfaceMessageReference
+     */
+    public InterfaceMessageReferenceElement toElement();
+    
+}

Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceMessageReference.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceOperation.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceOperation.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceOperation.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceOperation.java Thu Aug 23 04:01:23 2007
@@ -1,85 +1,85 @@
-/**
+/**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You 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.
- */
-package org.apache.woden.wsdl20;
-
-import java.net.URI;
-
-import javax.xml.namespace.QName;
-
-import org.apache.woden.wsdl20.xml.InterfaceOperationElement;
-
-/**
- * Represents the InterfaceMessageReference component from the WSDL 2.0 Component model.
- * 
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface InterfaceOperation extends NestedComponent {
-
-    /**
-     * Returns the qualified name representing the {name} property of this InterfaceOperation.
-     * 
-     * @return QName representing the name of this InterfaceOperation
-     */
-    public QName getName();
-    
-    /**
-     * Returns a URI representing the {message exchange pattern} property of this 
-     * InterfaceOperation.
-     * 
-     * @return URI of the message exchange pattern.
-     */
-    public URI getMessageExchangePattern();
-    
-    /**
-     * Represents the {interface message references} property of the InterfaceOperation component.
-     * This is the set of interface message references declared by this interface operation.
-     * This method will return an empty array if there are no interface message references for
-     * this interface operation.
-     * 
-     * @return an array of InterfaceMessageReference
-     */
-    public InterfaceMessageReference[] getInterfaceMessageReferences();
-    
-    /**
-     * Represents the {interface fault references} property of the InterfaceOperation component.
-     * This is the set of interface fault references defined by this interface operation.
-     * This method will return an empty array if there are no interface fault references for
-     * this interface operation.
-     * 
-     * @return an array of InterfaceFaultReference
-     */
-    public InterfaceFaultReference[] getInterfaceFaultReferences();
-    
-    /**
-     * Represents the {style} property of the InterfaceOperation component.
-     * This is a set of URIs which specify the rules that constrain the content of
-     * input and output messages and faults of the interface operation.
-     * This method will return an empty array if there are no style URIs.
-     * 
-     * @return an array of URI
-     */
-    public URI[] getStyle();
-    
-    /**
-     * Returns a WSDLElement that represents the element information item from the WSDL 2.0 
-     * infoset that maps to this WSDLComponent. 
-     * 
-     * @return the InterfaceOperationElement that maps to this InterfaceOperation
-     */
-    public InterfaceOperationElement toElement();
-    
-}
+ * 
+ *     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.
+ */
+package org.apache.woden.wsdl20;
+
+import java.net.URI;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.wsdl20.xml.InterfaceOperationElement;
+
+/**
+ * Represents the InterfaceMessageReference component from the WSDL 2.0 Component model.
+ * 
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface InterfaceOperation extends NestedComponent {
+
+    /**
+     * Returns the qualified name representing the {name} property of this InterfaceOperation.
+     * 
+     * @return QName representing the name of this InterfaceOperation
+     */
+    public QName getName();
+    
+    /**
+     * Returns a URI representing the {message exchange pattern} property of this 
+     * InterfaceOperation.
+     * 
+     * @return URI of the message exchange pattern.
+     */
+    public URI getMessageExchangePattern();
+    
+    /**
+     * Represents the {interface message references} property of the InterfaceOperation component.
+     * This is the set of interface message references declared by this interface operation.
+     * This method will return an empty array if there are no interface message references for
+     * this interface operation.
+     * 
+     * @return an array of InterfaceMessageReference
+     */
+    public InterfaceMessageReference[] getInterfaceMessageReferences();
+    
+    /**
+     * Represents the {interface fault references} property of the InterfaceOperation component.
+     * This is the set of interface fault references defined by this interface operation.
+     * This method will return an empty array if there are no interface fault references for
+     * this interface operation.
+     * 
+     * @return an array of InterfaceFaultReference
+     */
+    public InterfaceFaultReference[] getInterfaceFaultReferences();
+    
+    /**
+     * Represents the {style} property of the InterfaceOperation component.
+     * This is a set of URIs which specify the rules that constrain the content of
+     * input and output messages and faults of the interface operation.
+     * This method will return an empty array if there are no style URIs.
+     * 
+     * @return an array of URI
+     */
+    public URI[] getStyle();
+    
+    /**
+     * Returns a WSDLElement that represents the element information item from the WSDL 2.0 
+     * infoset that maps to this WSDLComponent. 
+     * 
+     * @return the InterfaceOperationElement that maps to this InterfaceOperation
+     */
+    public InterfaceOperationElement toElement();
+    
+}

Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/InterfaceOperation.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/NestedComponent.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/NestedComponent.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/NestedComponent.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/NestedComponent.java Thu Aug 23 04:01:23 2007
@@ -1,49 +1,49 @@
-/**
+/**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You 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.
- */
-package org.apache.woden.wsdl20;
-
-/**
- * Represents a super-type of all WSDL Components which are 'nested' directly
- * or indirectly within the 'top-level' WSDL components; Interface, Binding 
- * and Service. 
- * This interface defines behaviour for retrieving the parent WSDL component.
- * <p>
- * The nested WSDL components are:
- * <ul>
- *   <li>InterfaceFault</li>
- *   <li>InterfaceOperation</li>
- *   <li>InterfaceFaultReference</li>
- *   <li>InterfaceMessageReference</li>
- *   <li>BindingFault</li>
- *   <li>BindingOperation</li>
- *   <li>BindingFaultReference</li>
- *   <li>BindingMessageReference</li>
- *   <li>Endpoint</li>
- * </ul>
- * 
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface NestedComponent extends WSDLComponent {
-
-    /**
-     * Returns a WSDLComponent representing the parent of this nested component.
-     * 
-     * @return the parent WSDLComponent
-     */
-    public WSDLComponent getParent();
-    
-}
+ * 
+ *     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.
+ */
+package org.apache.woden.wsdl20;
+
+/**
+ * Represents a super-type of all WSDL Components which are 'nested' directly
+ * or indirectly within the 'top-level' WSDL components; Interface, Binding 
+ * and Service. 
+ * This interface defines behaviour for retrieving the parent WSDL component.
+ * <p>
+ * The nested WSDL components are:
+ * <ul>
+ *   <li>InterfaceFault</li>
+ *   <li>InterfaceOperation</li>
+ *   <li>InterfaceFaultReference</li>
+ *   <li>InterfaceMessageReference</li>
+ *   <li>BindingFault</li>
+ *   <li>BindingOperation</li>
+ *   <li>BindingFaultReference</li>
+ *   <li>BindingMessageReference</li>
+ *   <li>Endpoint</li>
+ * </ul>
+ * 
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface NestedComponent extends WSDLComponent {
+
+    /**
+     * Returns a WSDLComponent representing the parent of this nested component.
+     * 
+     * @return the parent WSDLComponent
+     */
+    public WSDLComponent getParent();
+    
+}

Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/NestedComponent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/Service.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/Service.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/Service.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/Service.java Thu Aug 23 04:01:23 2007
@@ -1,74 +1,74 @@
-/**
+/**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You 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.
- */
-package org.apache.woden.wsdl20;
-
-import javax.xml.namespace.QName;
-
-import org.apache.woden.types.NCName;
-import org.apache.woden.wsdl20.xml.ServiceElement;
-
-/**
- * Represents the Service component from the WSDL 2.0 Component model.
- * 
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface Service extends WSDLComponent
-{
-    /**
-     * Returns the qualified name representing the {name} property of this Service.
-     * 
-     * @return QName representing the name of this Service
-     */
-    public QName getName();
-    
-    /**
-     * Represents the {interface} property of the Service component. This is the Interface component
-     * that this Service defines Endpoints for.
-     * 
-     * @return Interface associated with this Service
-     */
-    public Interface getInterface();
-    
-    /**
-     * Represents the {endpoints} property of the Service component. This is the set of
-     * Endpoints declared by this Service. The method will return an empty array if there
-     * are no endpoints.
-     * 
-     * @return an array of Endpoint objects
-     */
-    public Endpoint[] getEndpoints();
-    
-    
-    /**
-     * Returns the Endpoint with the specified local name from the {endpoints}
-     * property of this Service. That is, from the set of Endpoints defined 
-     * by this Service.
-     * If the name parameter is null, this method will return null.
-     * 
-     * @param name the local name of the Endpoint
-     * @return the named Endpoint
-     */
-    public Endpoint getEndpoint(NCName name);
-    
-    /**
-     * Returns a WSDLElement that represents the element information item from the WSDL 2.0 
-     * infoset that maps to this WSDLComponent. 
-     * 
-     * @return the ServiceElement that maps to this Service
-     */
-    public ServiceElement toElement();
-}
+ * 
+ *     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.
+ */
+package org.apache.woden.wsdl20;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.types.NCName;
+import org.apache.woden.wsdl20.xml.ServiceElement;
+
+/**
+ * Represents the Service component from the WSDL 2.0 Component model.
+ * 
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface Service extends WSDLComponent
+{
+    /**
+     * Returns the qualified name representing the {name} property of this Service.
+     * 
+     * @return QName representing the name of this Service
+     */
+    public QName getName();
+    
+    /**
+     * Represents the {interface} property of the Service component. This is the Interface component
+     * that this Service defines Endpoints for.
+     * 
+     * @return Interface associated with this Service
+     */
+    public Interface getInterface();
+    
+    /**
+     * Represents the {endpoints} property of the Service component. This is the set of
+     * Endpoints declared by this Service. The method will return an empty array if there
+     * are no endpoints.
+     * 
+     * @return an array of Endpoint objects
+     */
+    public Endpoint[] getEndpoints();
+    
+    
+    /**
+     * Returns the Endpoint with the specified local name from the {endpoints}
+     * property of this Service. That is, from the set of Endpoints defined 
+     * by this Service.
+     * If the name parameter is null, this method will return null.
+     * 
+     * @param name the local name of the Endpoint
+     * @return the named Endpoint
+     */
+    public Endpoint getEndpoint(NCName name);
+    
+    /**
+     * Returns a WSDLElement that represents the element information item from the WSDL 2.0 
+     * infoset that maps to this WSDLComponent. 
+     * 
+     * @return the ServiceElement that maps to this Service
+     */
+    public ServiceElement toElement();
+}

Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/Service.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/TypeDefinition.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/TypeDefinition.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/TypeDefinition.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/TypeDefinition.java Thu Aug 23 04:01:23 2007
@@ -1,108 +1,108 @@
-/**
+/**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You 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.
- */
-package org.apache.woden.wsdl20;
-
-import java.net.URI;
-
-import javax.xml.namespace.QName;
-
-/**
- * Represents the TypeDefinition component described in the WSDL 2.0 component model 
- * (within the Description Component section of the W3C WSDL 2.0 spec). 
- * This component represents global data type definitions such as top-level,
- * named type definitions in W3C XML Schema (e.g. &lt;xs:simpleType&gt; or 
- * &lt;xs:complexType&gt;).
- * <p>
- * However, it does not mandate W3C XML Schema as the type system. 
- * It defines behaviour to query the type system and the underlying content
- * model or API being used to represent the type definitions, and to 
- * return a java.lang.Object representing the actual type definition object.
- * Based on the type system and content model, the application must cast this
- * Object to the appropriate type to manipulate its contents.
- * <p>
- * Note that while TypeDefinition is described along with the Component model
- * in the W3C WSDL 2.0 specification, it is not a WSDL component itself. 
- * It simply provides a way of representing components from the underlying type 
- * system within the WSDL Component model.
- * 
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface TypeDefinition {
-    
-    /**
-     * A constant representing the DOM API. This may be used to indicate the 
-     * content model of the underlying type definition.
-     */
-    public static final String API_W3C_DOM =
-        "org.w3c.dom";
-
-    /**
-     * A constant representing the Apache WS-Commons XmlSchema API. This may be used to 
-     * indicate the content model of the underlying type definition.
-     */
-    public static final String API_APACHE_WS_XS =
-        "org.apache.ws.commons.schema";
-
-    /**
-     * Representing the {name} property of the TypeDefinition component, this 
-     * method returns the qualified name of this TypeDefinition.
-     * 
-     * @return the QName that identifies this TypeDefinition
-     */
-    public QName getName();
-    
-    /**
-     * Representing the {system} property of the TypeDefinition component, this
-     * method indicates the type system from which this type definition is derived.
-     * For example, "http://www.w3.org/2001/XMLSchema" indicates the W3C XML Schema
-     * type system.
-     *  
-     * @return the URI identifying the type system
-     */
-    public URI getSystem();
-    
-    /**
-     * Indicates the type of object model or API which should be used to 
-     * access the content of the underlying type definition.
-     * This can be used to determine how to cast the Object returned by
-     * the <code>getContent()</code> method.
-     * <p>
-     * For example:
-     * <ul>
-     * <li>The content model "org.w3c.dom" indicates that the DOM API should be used, 
-     * so the type org.w3c.dom.Element will be used to represent the content of the
-     * type definition.
-     * <li>The content model "org.apache.ws.commons.schema" indicates that the 
-     * WS-Commons XmlSchema API from the Apache WebServices project is used, 
-     * so an org.apache.ws.commons.schema.XmlSchemaType will be used to represent the 
-     * content of the type definition. 
-     * </ul>
-     * 
-     * @return a String identifying the type definition's content model
-     */
-    public String getContentModel();
-    
-    /**
-     * Returns the underlying type definition as a java.lang.Object, which should
-     * be cast to the appropriate type as indicated by the <code>getContentModel()</code> 
-     * method.
-     * 
-     * @return the Object representing the content of the type definition
-     */
-    public Object getContent();
-
-}
+ * 
+ *     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.
+ */
+package org.apache.woden.wsdl20;
+
+import java.net.URI;
+
+import javax.xml.namespace.QName;
+
+/**
+ * Represents the TypeDefinition component described in the WSDL 2.0 component model 
+ * (within the Description Component section of the W3C WSDL 2.0 spec). 
+ * This component represents global data type definitions such as top-level,
+ * named type definitions in W3C XML Schema (e.g. &lt;xs:simpleType&gt; or 
+ * &lt;xs:complexType&gt;).
+ * <p>
+ * However, it does not mandate W3C XML Schema as the type system. 
+ * It defines behaviour to query the type system and the underlying content
+ * model or API being used to represent the type definitions, and to 
+ * return a java.lang.Object representing the actual type definition object.
+ * Based on the type system and content model, the application must cast this
+ * Object to the appropriate type to manipulate its contents.
+ * <p>
+ * Note that while TypeDefinition is described along with the Component model
+ * in the W3C WSDL 2.0 specification, it is not a WSDL component itself. 
+ * It simply provides a way of representing components from the underlying type 
+ * system within the WSDL Component model.
+ * 
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface TypeDefinition {
+    
+    /**
+     * A constant representing the DOM API. This may be used to indicate the 
+     * content model of the underlying type definition.
+     */
+    public static final String API_W3C_DOM =
+        "org.w3c.dom";
+
+    /**
+     * A constant representing the Apache WS-Commons XmlSchema API. This may be used to 
+     * indicate the content model of the underlying type definition.
+     */
+    public static final String API_APACHE_WS_XS =
+        "org.apache.ws.commons.schema";
+
+    /**
+     * Representing the {name} property of the TypeDefinition component, this 
+     * method returns the qualified name of this TypeDefinition.
+     * 
+     * @return the QName that identifies this TypeDefinition
+     */
+    public QName getName();
+    
+    /**
+     * Representing the {system} property of the TypeDefinition component, this
+     * method indicates the type system from which this type definition is derived.
+     * For example, "http://www.w3.org/2001/XMLSchema" indicates the W3C XML Schema
+     * type system.
+     *  
+     * @return the URI identifying the type system
+     */
+    public URI getSystem();
+    
+    /**
+     * Indicates the type of object model or API which should be used to 
+     * access the content of the underlying type definition.
+     * This can be used to determine how to cast the Object returned by
+     * the <code>getContent()</code> method.
+     * <p>
+     * For example:
+     * <ul>
+     * <li>The content model "org.w3c.dom" indicates that the DOM API should be used, 
+     * so the type org.w3c.dom.Element will be used to represent the content of the
+     * type definition.
+     * <li>The content model "org.apache.ws.commons.schema" indicates that the 
+     * WS-Commons XmlSchema API from the Apache WebServices project is used, 
+     * so an org.apache.ws.commons.schema.XmlSchemaType will be used to represent the 
+     * content of the type definition. 
+     * </ul>
+     * 
+     * @return a String identifying the type definition's content model
+     */
+    public String getContentModel();
+    
+    /**
+     * Returns the underlying type definition as a java.lang.Object, which should
+     * be cast to the appropriate type as indicated by the <code>getContentModel()</code> 
+     * method.
+     * 
+     * @return the Object representing the content of the type definition
+     */
+    public Object getContent();
+
+}

Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/TypeDefinition.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/WSDLComponent.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/WSDLComponent.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/WSDLComponent.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/WSDLComponent.java Thu Aug 23 04:01:23 2007
@@ -1,71 +1,71 @@
-/**
+/**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You 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.
- */
-package org.apache.woden.wsdl20;
-
-import java.net.URI;
-
-import org.apache.woden.wsdl20.extensions.ComponentExtensions;
-
-import org.apache.woden.wsdl20.fragids.FragmentIdentifier;
-
-/**
- * Represents the top-level super-type of all WSDL 2.0 Components. 
- * Every WSDL 2.0 Component interface must extend this interface, directly or indirectly.
- * It provides a common way to refer to any type of WSDL Component.
- * It defines behaviour common to all WSDL components, such as testing for 
- * equivalence and accessing extension properties. 
- * 
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface WSDLComponent 
-{
-    /**
-     * Tests whether this component is logically equivalent the specified component.
-     * Equivalence is determined per spec WSDL 2.0 Part 1 Section 2.17 Equivalence
-     * of Components.
-     * 
-     * @param comp the WSDL component that this component will be compared to
-     * @return true if the components are logically equivalent
-     */
-    public boolean equals(WSDLComponent comp);
-    
-    /**
-     * Gets the group of extension properties, belonging to the specified non-WSDL
-     * namespace, that extend this WSDL component.
-     * 
-     * @param namespace a namespace URI different to the WSDL 2.0 namespace.
-     * @return the <code>ComponentExtensions</code> with the specified namespace.
-     */
-    public ComponentExtensions getComponentExtensionsForNamespace(URI namespace);
-    
-    //TODO consider a getExtensionProperty(N/S, propName) method here. 
-    
-    /**
-     * Returns the fragment identifier for this WSDL 2.0 component.
-     * 
-     * @return a FragmentIdentifier for this WSDL 2.0 component.
-     */
-    public FragmentIdentifier getFragmentIdentifier();
-    
-    /**
-     * Returns a String serialisation of the fragment identifier for this WSDL 2.0 component.
-     * 
-     * @return a String the serialisation of the fragment identifier for this WSDL 2.0 component.
-     */
-    public String toString();
-    
-}
+ * 
+ *     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.
+ */
+package org.apache.woden.wsdl20;
+
+import java.net.URI;
+
+import org.apache.woden.wsdl20.extensions.ComponentExtensions;
+
+import org.apache.woden.wsdl20.fragids.FragmentIdentifier;
+
+/**
+ * Represents the top-level super-type of all WSDL 2.0 Components. 
+ * Every WSDL 2.0 Component interface must extend this interface, directly or indirectly.
+ * It provides a common way to refer to any type of WSDL Component.
+ * It defines behaviour common to all WSDL components, such as testing for 
+ * equivalence and accessing extension properties. 
+ * 
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface WSDLComponent 
+{
+    /**
+     * Tests whether this component is logically equivalent the specified component.
+     * Equivalence is determined per spec WSDL 2.0 Part 1 Section 2.17 Equivalence
+     * of Components.
+     * 
+     * @param comp the WSDL component that this component will be compared to
+     * @return true if the components are logically equivalent
+     */
+    public boolean equals(WSDLComponent comp);
+    
+    /**
+     * Gets the group of extension properties, belonging to the specified non-WSDL
+     * namespace, that extend this WSDL component.
+     * 
+     * @param namespace a namespace URI different to the WSDL 2.0 namespace.
+     * @return the <code>ComponentExtensions</code> with the specified namespace.
+     */
+    public ComponentExtensions getComponentExtensionsForNamespace(URI namespace);
+    
+    //TODO consider a getExtensionProperty(N/S, propName) method here. 
+    
+    /**
+     * Returns the fragment identifier for this WSDL 2.0 component.
+     * 
+     * @return a FragmentIdentifier for this WSDL 2.0 component.
+     */
+    public FragmentIdentifier getFragmentIdentifier();
+    
+    /**
+     * Returns a String serialisation of the fragment identifier for this WSDL 2.0 component.
+     * 
+     * @return a String the serialisation of the fragment identifier for this WSDL 2.0 component.
+     */
+    public String toString();
+    
+}

Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/WSDLComponent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/about-this-package
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/about-this-package?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/about-this-package (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/about-this-package Thu Aug 23 04:01:23 2007
@@ -1,3 +1,3 @@
-This package contains the portion of the Woden API that is
-specific to the WSDL 2.0 component model - i.e. the Java
+This package contains the portion of the Woden API that is
+specific to the WSDL 2.0 component model - i.e. the Java
 interfaces that represent the WSDL 2.0 components.

Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/about-this-package
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/enumeration/Direction.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/enumeration/Direction.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/enumeration/Direction.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/enumeration/Direction.java Thu Aug 23 04:01:23 2007
@@ -1,57 +1,57 @@
-/**
+/**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You 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.
- */
-package org.apache.woden.wsdl20.enumeration;
-
-/**
- * This class defines the values of the {direction} property of
- * InterfaceMessageReference and InterfaceFaultReference. This property 
- * indicates whether a message is coming "in" to the service or going "out" 
- * from the service.
- * <p>
- * The property is represented in XML by the message or fault 
- * reference element's tag name:
- * <ul>
- * <li>&lt;input&gt; and &lt;infault&gt; have the direction "in" - 
- *     represented by the constant IN
- * <li>&lt;output&gt; and &lt;outfault&gt; have the direction "out" - 
- *     represented by the constant OUT
- * </ul>
- * This class uses the typesafe enum pattern. Applications should use the
- * public static final constants defined in this class to specify or to 
- * evaluate direction.
- * <p>
- * Examples:
- * <pre>
- *     msgRef.setDirection(Direction.IN);
- *     if(msgRef.getDirection() == Direction.IN) ...
- *     if(msgRef.getDirection().equals(Direction.IN)) ...
- * 
- *     Note that == and .equals() are equivalent.
- * </pre>
- * TODO if extensibility is required, chg ctor to protected 
- * 
- * @author jkaputin@apache.org
- */
-public class Direction 
-{
-    private final String fValue;
-    private Direction(String value) { fValue = value; }
-    public String toString() {return fValue;}
-    
-    public static final Direction IN = new Direction("in");
-    public static final Direction OUT = new Direction("out");
-}
+ * 
+ *     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.
+ */
+package org.apache.woden.wsdl20.enumeration;
+
+/**
+ * This class defines the values of the {direction} property of
+ * InterfaceMessageReference and InterfaceFaultReference. This property 
+ * indicates whether a message is coming "in" to the service or going "out" 
+ * from the service.
+ * <p>
+ * The property is represented in XML by the message or fault 
+ * reference element's tag name:
+ * <ul>
+ * <li>&lt;input&gt; and &lt;infault&gt; have the direction "in" - 
+ *     represented by the constant IN
+ * <li>&lt;output&gt; and &lt;outfault&gt; have the direction "out" - 
+ *     represented by the constant OUT
+ * </ul>
+ * This class uses the typesafe enum pattern. Applications should use the
+ * public static final constants defined in this class to specify or to 
+ * evaluate direction.
+ * <p>
+ * Examples:
+ * <pre>
+ *     msgRef.setDirection(Direction.IN);
+ *     if(msgRef.getDirection() == Direction.IN) ...
+ *     if(msgRef.getDirection().equals(Direction.IN)) ...
+ * 
+ *     Note that == and .equals() are equivalent.
+ * </pre>
+ * TODO if extensibility is required, chg ctor to protected 
+ * 
+ * @author jkaputin@apache.org
+ */
+public class Direction 
+{
+    private final String fValue;
+    private Direction(String value) { fValue = value; }
+    public String toString() {return fValue;}
+    
+    public static final Direction IN = new Direction("in");
+    public static final Direction OUT = new Direction("out");
+}

Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/enumeration/Direction.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/enumeration/MessageLabel.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/enumeration/MessageLabel.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/enumeration/MessageLabel.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/enumeration/MessageLabel.java Thu Aug 23 04:01:23 2007
@@ -1,33 +1,33 @@
-/**
+/**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You 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.
- */
-package org.apache.woden.wsdl20.enumeration;
-
-import org.apache.woden.types.NCName;
-
-
-/**
- * This class defines the values of the {message label} property of
- * InterfaceMessageReference and InterfaceFaultReference as used in the
- * WSDL 2.0 specification. Other NCName values are also valid. 
-
- * @author jkaputin@apache.org, hughesj@apache.org
- */
-public class MessageLabel 
-{
-    public static final NCName IN = new NCName("In");
-    public static final NCName OUT = new NCName("Out");
-}
+ * 
+ *     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.
+ */
+package org.apache.woden.wsdl20.enumeration;
+
+import org.apache.woden.types.NCName;
+
+
+/**
+ * This class defines the values of the {message label} property of
+ * InterfaceMessageReference and InterfaceFaultReference as used in the
+ * WSDL 2.0 specification. Other NCName values are also valid. 
+
+ * @author jkaputin@apache.org, hughesj@apache.org
+ */
+public class MessageLabel 
+{
+    public static final NCName IN = new NCName("In");
+    public static final NCName OUT = new NCName("Out");
+}

Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/enumeration/MessageLabel.java
------------------------------------------------------------------------------
    svn:eol-style = native



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