Modified:
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/DescriptionElement.java
URL:
http://svn.apache.org/viewvc/incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/DescriptionElement.java?view=diff&rev=453800&r1=453799&r2=453800
==============================================================================
---
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/DescriptionElement.java
(original)
+++
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/DescriptionElement.java
Fri Oct 6 15:57:42 2006
@@ -77,42 +77,19 @@
* Element factory methods
*/
- public DocumentationElement createDocumentationElement();
+ public ImportElement addImportElement();
- public ImportElement createImportElement();
-
- public IncludeElement createIncludeElement();
-
- public TypesElement createTypesElement();
-
- public InterfaceElement createInterfaceElement();
-
- public InterfaceFaultElement createInterfaceFaultElement();
-
- public InterfaceOperationElement createInterfaceOperationElement();
-
- public InterfaceFaultReferenceElement
createInterfaceFaultReferenceElement();
-
- public InterfaceMessageReferenceElement
createInterfaceMessageReferenceElement();
-
- public BindingElement createBindingElement();
+ public IncludeElement addIncludeElement();
- public BindingFaultElement createBindingFaultElement();
-
- public BindingOperationElement createBindingOperationElement();
-
- public BindingFaultReferenceElement createBindingFaultReferenceElement();
-
- public BindingMessageReferenceElement
createBindingMessageReferenceElement();
-
- public FeatureElement createFeatureElement();
-
- public ServiceElement createServiceElement();
+ /**
+ * Create a new InterfaceElement in this DescriptionElement
+ * @return the InterfaceElement created
+ */
+ public InterfaceElement addInterfaceElement();
- public EndpointElement createEndpointElement();
+ public BindingElement addBindingElement();
- public PropertyElement createPropertyElement();
-
+ public ServiceElement addServiceElement();
/*
* Element accessor and modifier methods
@@ -121,22 +98,16 @@
*
*/
- public void addImportElement(ImportElement importEl);
public ImportElement[] getImportElements();
- public void addIncludeElement(IncludeElement includeEl);
public IncludeElement[] getIncludeElements();
- public void setTypesElement(TypesElement typesEl);
public TypesElement getTypesElement();
- public void addInterfaceElement(InterfaceElement interfaceEl);
public InterfaceElement[] getInterfaceElements();
- public void addBindingElement(BindingElement bindingEl);
public BindingElement[] getBindingElements();
- public void addServiceElement(ServiceElement serviceEl);
public ServiceElement[] getServiceElements();
//TODO extension elements
Modified:
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/DocumentableElement.java
URL:
http://svn.apache.org/viewvc/incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/DocumentableElement.java?view=diff&rev=453800&r1=453799&r2=453800
==============================================================================
---
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/DocumentableElement.java
(original)
+++
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/DocumentableElement.java
Fri Oct 6 15:57:42 2006
@@ -24,7 +24,7 @@
*/
public interface DocumentableElement extends WSDLElement
{
- public void addDocumentationElement(DocumentationElement docEl);
+ public DocumentationElement addDocumentationElement();
public DocumentationElement[] getDocumentationElements();
Modified:
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceElement.java
URL:
http://svn.apache.org/viewvc/incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceElement.java?view=diff&rev=453800&r1=453799&r2=453800
==============================================================================
---
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceElement.java
(original)
+++
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceElement.java
Fri Oct 6 15:57:42 2006
@@ -55,7 +55,7 @@
* Elements
*/
- public void addInterfaceFaultElement(InterfaceFaultElement fault);
+ public InterfaceFaultElement addInterfaceFaultElement();
//TODO public void removeInterfaceFaultElement(QName qname);
/**
@@ -78,7 +78,7 @@
*/
public InterfaceFaultElement[] getInterfaceFaultElements();
- public void addInterfaceOperationElement(InterfaceOperationElement
operation);
+ public InterfaceOperationElement addInterfaceOperationElement();
//TODO public void removeInterfaceOperationElement(QName qname);
/**
Modified:
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceFaultReferenceElement.java
URL:
http://svn.apache.org/viewvc/incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceFaultReferenceElement.java?view=diff&rev=453800&r1=453799&r2=453800
==============================================================================
---
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceFaultReferenceElement.java
(original)
+++
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceFaultReferenceElement.java
Fri Oct 6 15:57:42 2006
@@ -17,8 +17,8 @@
import javax.xml.namespace.QName;
+import org.apache.woden.types.NCName;
import org.apache.woden.wsdl20.enumeration.Direction;
-import org.apache.woden.wsdl20.enumeration.MessageLabel;
/**
* This interface represents the <infault> and <outfault>
@@ -49,8 +49,8 @@
*/
public InterfaceFaultElement getInterfaceFaultElement();
- public void setMessageLabel(MessageLabel msgLabel);
- public MessageLabel getMessageLabel();
+ public void setMessageLabel(NCName msgLabel);
+ public NCName getMessageLabel();
public void setDirection(Direction dir);
public Direction getDirection();
Modified:
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceMessageReferenceElement.java
URL:
http://svn.apache.org/viewvc/incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceMessageReferenceElement.java?view=diff&rev=453800&r1=453799&r2=453800
==============================================================================
---
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceMessageReferenceElement.java
(original)
+++
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceMessageReferenceElement.java
Fri Oct 6 15:57:42 2006
@@ -17,8 +17,8 @@
import javax.xml.namespace.QName;
+import org.apache.woden.types.NCName;
import org.apache.woden.wsdl20.enumeration.Direction;
-import org.apache.woden.wsdl20.enumeration.MessageLabel;
import org.apache.ws.commons.schema.XmlSchemaElement;
/**
@@ -31,8 +31,8 @@
ConfigurableElement,
NestedElement
{
- public void setMessageLabel(MessageLabel msgLabel);
- public MessageLabel getMessageLabel();
+ public void setMessageLabel(NCName msgLabel);
+ public NCName getMessageLabel();
public void setMessageContentModel(String nmToken);
public String getMessageContentModel();
Modified:
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java
URL:
http://svn.apache.org/viewvc/incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java?view=diff&rev=453800&r1=453799&r2=453800
==============================================================================
---
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java
(original)
+++
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java
Fri Oct 6 15:57:42 2006
@@ -51,11 +51,11 @@
* Elements
*/
- public void
addInterfaceMessageReferenceElement(InterfaceMessageReferenceElement msgRef);
+ public InterfaceMessageReferenceElement
addInterfaceMessageReferenceElement();
public void
removeInterfaceMessageReferenceElement(InterfaceMessageReferenceElement msgRef);
public InterfaceMessageReferenceElement[]
getInterfaceMessageReferenceElements();
- public void
addInterfaceFaultReferenceElement(InterfaceFaultReferenceElement faultRef);
+ public InterfaceFaultReferenceElement addInterfaceFaultReferenceElement();
public void
removeInterfaceFaultReferenceElement(InterfaceFaultReferenceElement faultRef);
public InterfaceFaultReferenceElement[]
getInterfaceFaultReferenceElements();
Modified:
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/ServiceElement.java
URL:
http://svn.apache.org/viewvc/incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/ServiceElement.java?view=diff&rev=453800&r1=453799&r2=453800
==============================================================================
---
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/ServiceElement.java
(original)
+++
incubator/woden/branches/WODEN-44/src/org/apache/woden/wsdl20/xml/ServiceElement.java
Fri Oct 6 15:57:42 2006
@@ -35,6 +35,6 @@
public QName getInterfaceName();
public InterfaceElement getInterfaceElement();
- public void addEndpointElement(EndpointElement endpoint);
+ public EndpointElement addEndpointElement();
public EndpointElement[] getEndpointElements();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]