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 [35/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/xml/InterfaceFaultReferenceElement.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/InterfaceFaultReferenceElement.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/InterfaceFaultReferenceElement.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/InterfaceFaultReferenceElement.java Thu Aug 23 04:01:23 2007
@@ -1,105 +1,105 @@
-/**
+/**
* 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.xml;
-
-import javax.xml.namespace.QName;
-
-import org.apache.woden.types.NCName;
-import org.apache.woden.wsdl20.enumeration.Direction;
-
-/**
- * Represents the WSDL 2.0 <infault> and <outfault> elements,
- * declared as child elements of the interface <operation> element.
- *
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface InterfaceFaultReferenceElement extends DocumentableElement,
- NestedElement
-{
- /**
- * Specify the name of the InterfaceFaultElement referred to by this
- * InterfaceFaultReferenceElement.
- * The specified QName corresponds to the <code>ref</code> attribute of the interface operation
- * <infault> or <outfault> element.
- *
- * @param faultName the QName of the interface fault
- */
- public void setRef(QName faultName);
-
- /**
- * Return the name of the InterfaceFaultElement referred to by this
- * InterfaceFaultReferenceElement.
- * This corresponds to the <code>ref</code> attribute of the interface operation
- * <infault> or <outfault> element.
- *
- * @return the QName of the interface fault
- */
- public QName getRef();
-
- /**
- * Return the InterfaceFaultElement referred to by this InterfaceFaultReferenceElement.
- * This equates to the interface <fault> element referred to by the <code>ref</code>
- * attribute of the interface operation <infault> or <outfault> element.
- * If this reference cannot be resolved to an InterfaceFaultElement, this method will
- * return null.
- *
- * @return the InterfaceFaultElement
- */
- public InterfaceFaultElement getInterfaceFaultElement();
-
- /**
- * Set the message label to the specified NCName.
- * This corresponds to the <code>messageLabel</code> attribute of the interface operation
- * <infault> and <outfault> elements.
- * It represents a placeholder message in the message exchange pattern specified by the
- * parent interface <operation> element.
- *
- * @param msgLabel the NCName representing the message label
- */
- public void setMessageLabel(NCName msgLabel);
-
- /**
- * Return the NCName representing the message label.
- * This corresponds to the <code>messageLabel</code> attribute of the interface operation
- * <infault> and <outfault> elements.
- * It represents a placeholder message in the message exchange pattern specified by the
- * parent interface <operation> element.
- *
- * @return NCName the message label
- */
- public NCName getMessageLabel();
-
- /**
- * Set the message direction using the specified enumerated type, Direction,
- * which indicates the direction of the fault.
- * Direction.IN corresponds to the interface operation <infault> element.
- * Direction.OUT corresponds to the interface operation <outfault> element.
- *
- * @param dir the Direction of the fault
- */
- public void setDirection(Direction dir);
-
- /**
- * Returns an enumerated type, Direction, that indicates the direction of this fault.
- * Direction.IN corresponds to the interface operation <infault> element.
- * Direction.OUT corresponds to the interface operation <outfault> element.
- *
- * @return the Direction of the fault
- */
- public Direction getDirection();
-
-}
+ *
+ * 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.xml;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.types.NCName;
+import org.apache.woden.wsdl20.enumeration.Direction;
+
+/**
+ * Represents the WSDL 2.0 <infault> and <outfault> elements,
+ * declared as child elements of the interface <operation> element.
+ *
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface InterfaceFaultReferenceElement extends DocumentableElement,
+ NestedElement
+{
+ /**
+ * Specify the name of the InterfaceFaultElement referred to by this
+ * InterfaceFaultReferenceElement.
+ * The specified QName corresponds to the <code>ref</code> attribute of the interface operation
+ * <infault> or <outfault> element.
+ *
+ * @param faultName the QName of the interface fault
+ */
+ public void setRef(QName faultName);
+
+ /**
+ * Return the name of the InterfaceFaultElement referred to by this
+ * InterfaceFaultReferenceElement.
+ * This corresponds to the <code>ref</code> attribute of the interface operation
+ * <infault> or <outfault> element.
+ *
+ * @return the QName of the interface fault
+ */
+ public QName getRef();
+
+ /**
+ * Return the InterfaceFaultElement referred to by this InterfaceFaultReferenceElement.
+ * This equates to the interface <fault> element referred to by the <code>ref</code>
+ * attribute of the interface operation <infault> or <outfault> element.
+ * If this reference cannot be resolved to an InterfaceFaultElement, this method will
+ * return null.
+ *
+ * @return the InterfaceFaultElement
+ */
+ public InterfaceFaultElement getInterfaceFaultElement();
+
+ /**
+ * Set the message label to the specified NCName.
+ * This corresponds to the <code>messageLabel</code> attribute of the interface operation
+ * <infault> and <outfault> elements.
+ * It represents a placeholder message in the message exchange pattern specified by the
+ * parent interface <operation> element.
+ *
+ * @param msgLabel the NCName representing the message label
+ */
+ public void setMessageLabel(NCName msgLabel);
+
+ /**
+ * Return the NCName representing the message label.
+ * This corresponds to the <code>messageLabel</code> attribute of the interface operation
+ * <infault> and <outfault> elements.
+ * It represents a placeholder message in the message exchange pattern specified by the
+ * parent interface <operation> element.
+ *
+ * @return NCName the message label
+ */
+ public NCName getMessageLabel();
+
+ /**
+ * Set the message direction using the specified enumerated type, Direction,
+ * which indicates the direction of the fault.
+ * Direction.IN corresponds to the interface operation <infault> element.
+ * Direction.OUT corresponds to the interface operation <outfault> element.
+ *
+ * @param dir the Direction of the fault
+ */
+ public void setDirection(Direction dir);
+
+ /**
+ * Returns an enumerated type, Direction, that indicates the direction of this fault.
+ * Direction.IN corresponds to the interface operation <infault> element.
+ * Direction.OUT corresponds to the interface operation <outfault> element.
+ *
+ * @return the Direction of the fault
+ */
+ public Direction getDirection();
+
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/InterfaceFaultReferenceElement.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/InterfaceMessageReferenceElement.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/InterfaceMessageReferenceElement.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/InterfaceMessageReferenceElement.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/InterfaceMessageReferenceElement.java Thu Aug 23 04:01:23 2007
@@ -1,122 +1,122 @@
-/**
+/**
* 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.xml;
-
-import javax.xml.namespace.QName;
-
-import org.apache.woden.types.NCName;
-import org.apache.woden.wsdl20.enumeration.Direction;
-import org.apache.ws.commons.schema.XmlSchemaElement;
-
-/**
- * Represents the WSDL 2.0 <input> and <output> elements,
- * declared as child elements of interface <operation> element.
- *
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface InterfaceMessageReferenceElement extends DocumentableElement,
- NestedElement
-{
- /**
- * Set the message label to the specified NCName.
- * This corresponds to the <code>messageLabel</code> attribute of the interface operation
- * <input> and <output> elements.
- * It represents a placeholder message in the message exchange pattern specified by the
- * parent interface <operation> element.
- *
- * @param msgLabel the NCName representing the message label
- */
- public void setMessageLabel(NCName msgLabel);
-
- /**
- * Return the NCName representing the message label.
- * This corresponds to the <code>messageLabel</code> attribute of the interface operation
- * <input> and <output> elements.
- * It represents a placeholder message in the message exchange pattern specified by the
- * parent interface <operation> element.
- *
- * @return NCName the message label
- */
- public NCName getMessageLabel();
-
- /**
- * @deprecated This is a property of the component model, not the infoset, so it is deprecated in M7
- * and will be removed for M8 (WODEN-136)
- */
- public void setMessageContentModel(String nmToken);
-
-
- /**
- * @deprecated This is a property of the component model, not the infoset, so it is deprecated in M7
- * and will be removed for M8 (WODEN-136)
- */
- public String getMessageContentModel();
-
- /**
- * Specify the name of the global schema element declaration referred to by this
- * InterfaceMessageReferenceElement.
- * The specified QName corresponds to the <code>element</code> attribute of the interface
- * operation <input> or <output> element.
- *
- * @param elementName the QName of the element declaration
- */
- public void setElementName(QName elementName);
-
- /**
- * Return the name of the global schema element declaration referred to by this
- * InterfaceMessageReferenceElement.
- * This corresponds to the <code>element</code> attribute of the interface
- * operation <input> or <output> element.
- *
- * @return the QName of the element declaration
- */
- public QName getElementName();
-
- /**
- * Return the XmlSchemaElement representing the global schema element declaration
- * referred to by this InterfaceMessageReferenceElement.
- * This equates to the <xs:element> element referred to by the <code>element</code>
- * attribute of the interface operation <input> or <output> element.
- * If this reference cannot be resolved to an element declaration in a schema that
- * is visible to the enclosing <description>, this method will return null.
- * To be visible, the schema must have been correctly imported or inlined within
- * the <types> element.
- *
- * @return the XmlSchemaElement
- */
- public XmlSchemaElement getElement();
-
- /**
- * Set the message direction using the specified enumerated type, Direction,
- * which indicates the direction of the message.
- * Direction.IN corresponds to the interface operation <input> element.
- * Direction.OUT corresponds to the interface operation <output> element.
- *
- * @param dir the Direction of the message
- */
- public void setDirection(Direction dir);
-
- /**
- * Returns an enumerated type, Direction, that indicates the direction of this message.
- * Direction.IN corresponds to the interface operation <input> element.
- * Direction.OUT corresponds to the interface operation <output> element.
- *
- * @return the Direction of the message
- */
- public Direction getDirection();
-
-}
+ *
+ * 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.xml;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.types.NCName;
+import org.apache.woden.wsdl20.enumeration.Direction;
+import org.apache.ws.commons.schema.XmlSchemaElement;
+
+/**
+ * Represents the WSDL 2.0 <input> and <output> elements,
+ * declared as child elements of interface <operation> element.
+ *
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface InterfaceMessageReferenceElement extends DocumentableElement,
+ NestedElement
+{
+ /**
+ * Set the message label to the specified NCName.
+ * This corresponds to the <code>messageLabel</code> attribute of the interface operation
+ * <input> and <output> elements.
+ * It represents a placeholder message in the message exchange pattern specified by the
+ * parent interface <operation> element.
+ *
+ * @param msgLabel the NCName representing the message label
+ */
+ public void setMessageLabel(NCName msgLabel);
+
+ /**
+ * Return the NCName representing the message label.
+ * This corresponds to the <code>messageLabel</code> attribute of the interface operation
+ * <input> and <output> elements.
+ * It represents a placeholder message in the message exchange pattern specified by the
+ * parent interface <operation> element.
+ *
+ * @return NCName the message label
+ */
+ public NCName getMessageLabel();
+
+ /**
+ * @deprecated This is a property of the component model, not the infoset, so it is deprecated in M7
+ * and will be removed for M8 (WODEN-136)
+ */
+ public void setMessageContentModel(String nmToken);
+
+
+ /**
+ * @deprecated This is a property of the component model, not the infoset, so it is deprecated in M7
+ * and will be removed for M8 (WODEN-136)
+ */
+ public String getMessageContentModel();
+
+ /**
+ * Specify the name of the global schema element declaration referred to by this
+ * InterfaceMessageReferenceElement.
+ * The specified QName corresponds to the <code>element</code> attribute of the interface
+ * operation <input> or <output> element.
+ *
+ * @param elementName the QName of the element declaration
+ */
+ public void setElementName(QName elementName);
+
+ /**
+ * Return the name of the global schema element declaration referred to by this
+ * InterfaceMessageReferenceElement.
+ * This corresponds to the <code>element</code> attribute of the interface
+ * operation <input> or <output> element.
+ *
+ * @return the QName of the element declaration
+ */
+ public QName getElementName();
+
+ /**
+ * Return the XmlSchemaElement representing the global schema element declaration
+ * referred to by this InterfaceMessageReferenceElement.
+ * This equates to the <xs:element> element referred to by the <code>element</code>
+ * attribute of the interface operation <input> or <output> element.
+ * If this reference cannot be resolved to an element declaration in a schema that
+ * is visible to the enclosing <description>, this method will return null.
+ * To be visible, the schema must have been correctly imported or inlined within
+ * the <types> element.
+ *
+ * @return the XmlSchemaElement
+ */
+ public XmlSchemaElement getElement();
+
+ /**
+ * Set the message direction using the specified enumerated type, Direction,
+ * which indicates the direction of the message.
+ * Direction.IN corresponds to the interface operation <input> element.
+ * Direction.OUT corresponds to the interface operation <output> element.
+ *
+ * @param dir the Direction of the message
+ */
+ public void setDirection(Direction dir);
+
+ /**
+ * Returns an enumerated type, Direction, that indicates the direction of this message.
+ * Direction.IN corresponds to the interface operation <input> element.
+ * Direction.OUT corresponds to the interface operation <output> element.
+ *
+ * @return the Direction of the message
+ */
+ public Direction getDirection();
+
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/InterfaceMessageReferenceElement.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java Thu Aug 23 04:01:23 2007
@@ -1,172 +1,172 @@
-/**
+/**
* 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.xml;
-
-import java.net.URI;
-
-import javax.xml.namespace.QName;
-
-import org.apache.woden.types.NCName;
-
-/**
- * Represents the WSDL 2.0 <operation> element, declared as a child
- * of the <interface> element.
- *
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface InterfaceOperationElement extends DocumentableElement,
- NestedElement
-{
- /*
- * Attributes
- */
-
- /**
- * Set the name of this InterfaceOperationElement to the specified NCName.
- * This corresponds to the <code>name</code> attribute of the interface <operation> element.
- *
- * @param name the NCName that represents the local name of this interface operation
- */
- public void setName(NCName name);
-
- /**
- * Return the qualified name of this InterfaceOperationElement, which consists of its
- * local name and the targetNamespace of the enclosing DescriptionElement.
- *
- * @return the interface operation QName
- */
- public QName getName();
-
- /**
- * Set the message exchange pattern used by this InterfaceOperationElement to the specified
- * URI.
- * This corresponds to the <code>pattern</code> attribute of the interface <operation>
- * element.
- *
- * @param mep the message exchange pattern URI
- */
- public void setPattern(URI mep);
-
- /**
- * Return the URI representing the message exchange pattern used by this InterfaceOperationElement.
- * This corresponds to the <code>name</code> attribute of the interface <operation> element.
- *
- * @return the URI representing the message exchange pattern
- */
- public URI getPattern();
-
- /**
- * Add the specified URI to the set of style URIs used by this InterfaceOperationElement.
- * This equates to adding a URI to the <code>style</code> attribute of the interface
- * <operation> element.
- * If a null style URI is specified, no action is performed.
- *
- * @param style a URI representing an operation style
- */
- public void addStyleURI(URI style);
-
-
- /**
- * Remove the specified URI from the set of style URIs used by this InterfaceOperationElement.
- * This equates to removing a URI from the <code>style</code> attribute of the interface
- * <operation> element.
- * If the specified URI is not present in the set of style URIs or if a null URI is specified,
- * no action is performed.
- *
- * @param style a URI representing an operation style
- */
- public void removeStyleURI(URI style);
-
- /**
- * Return the set of URIs representing the operation style.
- * This corresponds to the URIs defined in the <code>style</code> attribute of the interface
- * <operation> element.
- * If no style URIs exist, an empty array is returned.
- *
- * @return an array of URI representing the operation style
- */
- public URI[] getStyle();
-
- /*
- * Elements
- */
-
- /**
- * Create an InterfaceMessageReferenceElement with this InterfaceOperationElement as its parent
- * and return a reference to it.
- * This equates to adding an <input> or <output> element to the interface
- * <operation> element.
- *
- * @return the InterfaceMessageReferenceElement
- */
- public InterfaceMessageReferenceElement addInterfaceMessageReferenceElement();
-
- /**
- * Remove the specified InterfaceMessageReferenceElement from the set of
- * InterfaceMessageReferenceElements within this InterfaceOperationElement.
- * This equates to removing an <input> or <output> element
- * from the interface <operation> element.
- * If the specified InterfaceMessageReferenceElement does not exist or if a
- * null value is specified, no action is performed.
- *
- * @param msgRef the InterfaceMessageReferenceElement to be removed
- */
- public void removeInterfaceMessageReferenceElement(InterfaceMessageReferenceElement msgRef);
-
- /**
- * Return the set of InterfaceMessageReferenceElements within this InterfaceOperationElement.
- * This equates to the set of <input> and <output> elements
- * within the interface <operation> element.
- * If no InterfaceMessageReferenceElements exist, an empty array is returned.
- *
- * @return an array of InterfaceMessageReferenceElement
- */
- public InterfaceMessageReferenceElement[] getInterfaceMessageReferenceElements();
-
- /**
- * Create an InterfaceFaultReferenceElement with this InterfaceOperationElement as its parent
- * and return a reference to it.
- * This equates to adding an <infault> or <outfault> element to the interface
- * <operation> element.
- *
- * @return the InterfaceFaultReferenceElement
- */
- public InterfaceFaultReferenceElement addInterfaceFaultReferenceElement();
-
- /**
- * Remove the specified InterfaceFaultReferenceElement from the set of
- * InterfaceFaultReferenceElements within this InterfaceOperationElement.
- * This equates to removing an <infault> or <outfault> element
- * from the interface <operation> element.
- * If the specified InterfaceFaultReferenceElement does not exist or if a
- * null value is specified, no action is performed.
- *
- * @param faultRef the InterfaceFaultReferenceElement to be removed
- */
- public void removeInterfaceFaultReferenceElement(InterfaceFaultReferenceElement faultRef);
-
- /**
- * Return the set of InterfaceFaultReferenceElement within this InterfaceOperationElement.
- * This equates to the set of <infault> and <outfault> elements
- * within the interface <operation> element.
- * If no InterfaceFaultReferenceElements exist, an empty array is returned.
- *
- * @return an array of InterfaceFaultReferenceElement
- */
- public InterfaceFaultReferenceElement[] getInterfaceFaultReferenceElements();
-
-}
+ *
+ * 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.xml;
+
+import java.net.URI;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.types.NCName;
+
+/**
+ * Represents the WSDL 2.0 <operation> element, declared as a child
+ * of the <interface> element.
+ *
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface InterfaceOperationElement extends DocumentableElement,
+ NestedElement
+{
+ /*
+ * Attributes
+ */
+
+ /**
+ * Set the name of this InterfaceOperationElement to the specified NCName.
+ * This corresponds to the <code>name</code> attribute of the interface <operation> element.
+ *
+ * @param name the NCName that represents the local name of this interface operation
+ */
+ public void setName(NCName name);
+
+ /**
+ * Return the qualified name of this InterfaceOperationElement, which consists of its
+ * local name and the targetNamespace of the enclosing DescriptionElement.
+ *
+ * @return the interface operation QName
+ */
+ public QName getName();
+
+ /**
+ * Set the message exchange pattern used by this InterfaceOperationElement to the specified
+ * URI.
+ * This corresponds to the <code>pattern</code> attribute of the interface <operation>
+ * element.
+ *
+ * @param mep the message exchange pattern URI
+ */
+ public void setPattern(URI mep);
+
+ /**
+ * Return the URI representing the message exchange pattern used by this InterfaceOperationElement.
+ * This corresponds to the <code>name</code> attribute of the interface <operation> element.
+ *
+ * @return the URI representing the message exchange pattern
+ */
+ public URI getPattern();
+
+ /**
+ * Add the specified URI to the set of style URIs used by this InterfaceOperationElement.
+ * This equates to adding a URI to the <code>style</code> attribute of the interface
+ * <operation> element.
+ * If a null style URI is specified, no action is performed.
+ *
+ * @param style a URI representing an operation style
+ */
+ public void addStyleURI(URI style);
+
+
+ /**
+ * Remove the specified URI from the set of style URIs used by this InterfaceOperationElement.
+ * This equates to removing a URI from the <code>style</code> attribute of the interface
+ * <operation> element.
+ * If the specified URI is not present in the set of style URIs or if a null URI is specified,
+ * no action is performed.
+ *
+ * @param style a URI representing an operation style
+ */
+ public void removeStyleURI(URI style);
+
+ /**
+ * Return the set of URIs representing the operation style.
+ * This corresponds to the URIs defined in the <code>style</code> attribute of the interface
+ * <operation> element.
+ * If no style URIs exist, an empty array is returned.
+ *
+ * @return an array of URI representing the operation style
+ */
+ public URI[] getStyle();
+
+ /*
+ * Elements
+ */
+
+ /**
+ * Create an InterfaceMessageReferenceElement with this InterfaceOperationElement as its parent
+ * and return a reference to it.
+ * This equates to adding an <input> or <output> element to the interface
+ * <operation> element.
+ *
+ * @return the InterfaceMessageReferenceElement
+ */
+ public InterfaceMessageReferenceElement addInterfaceMessageReferenceElement();
+
+ /**
+ * Remove the specified InterfaceMessageReferenceElement from the set of
+ * InterfaceMessageReferenceElements within this InterfaceOperationElement.
+ * This equates to removing an <input> or <output> element
+ * from the interface <operation> element.
+ * If the specified InterfaceMessageReferenceElement does not exist or if a
+ * null value is specified, no action is performed.
+ *
+ * @param msgRef the InterfaceMessageReferenceElement to be removed
+ */
+ public void removeInterfaceMessageReferenceElement(InterfaceMessageReferenceElement msgRef);
+
+ /**
+ * Return the set of InterfaceMessageReferenceElements within this InterfaceOperationElement.
+ * This equates to the set of <input> and <output> elements
+ * within the interface <operation> element.
+ * If no InterfaceMessageReferenceElements exist, an empty array is returned.
+ *
+ * @return an array of InterfaceMessageReferenceElement
+ */
+ public InterfaceMessageReferenceElement[] getInterfaceMessageReferenceElements();
+
+ /**
+ * Create an InterfaceFaultReferenceElement with this InterfaceOperationElement as its parent
+ * and return a reference to it.
+ * This equates to adding an <infault> or <outfault> element to the interface
+ * <operation> element.
+ *
+ * @return the InterfaceFaultReferenceElement
+ */
+ public InterfaceFaultReferenceElement addInterfaceFaultReferenceElement();
+
+ /**
+ * Remove the specified InterfaceFaultReferenceElement from the set of
+ * InterfaceFaultReferenceElements within this InterfaceOperationElement.
+ * This equates to removing an <infault> or <outfault> element
+ * from the interface <operation> element.
+ * If the specified InterfaceFaultReferenceElement does not exist or if a
+ * null value is specified, no action is performed.
+ *
+ * @param faultRef the InterfaceFaultReferenceElement to be removed
+ */
+ public void removeInterfaceFaultReferenceElement(InterfaceFaultReferenceElement faultRef);
+
+ /**
+ * Return the set of InterfaceFaultReferenceElement within this InterfaceOperationElement.
+ * This equates to the set of <infault> and <outfault> elements
+ * within the interface <operation> element.
+ * If no InterfaceFaultReferenceElements exist, an empty array is returned.
+ *
+ * @return an array of InterfaceFaultReferenceElement
+ */
+ public InterfaceFaultReferenceElement[] getInterfaceFaultReferenceElements();
+
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/InterfaceOperationElement.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/NestedElement.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/NestedElement.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/NestedElement.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/NestedElement.java Thu Aug 23 04:01:23 2007
@@ -1,34 +1,34 @@
-/**
+/**
* 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.xml;
-
-/**
- * Represents the WSDL 2.0 elements that are nested within the <description>
- * element. That is, all WSDL 2.0 elements except <description> itself.
- * The Java interfaces that represent these WSDL elements will extend this
- * interface to inherit behaviour for specifying and accessing their parent
- * WSDLElement.
- * <p>
- * TODO make DocumentationElement, ImportElement and IncludeElement subtypes of NestedElement
- *
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface NestedElement extends WSDLElement {
-
- public WSDLElement getParentElement();
-
-}
+ *
+ * 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.xml;
+
+/**
+ * Represents the WSDL 2.0 elements that are nested within the <description>
+ * element. That is, all WSDL 2.0 elements except <description> itself.
+ * The Java interfaces that represent these WSDL elements will extend this
+ * interface to inherit behaviour for specifying and accessing their parent
+ * WSDLElement.
+ * <p>
+ * TODO make DocumentationElement, ImportElement and IncludeElement subtypes of NestedElement
+ *
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface NestedElement extends WSDLElement {
+
+ public WSDLElement getParentElement();
+
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/NestedElement.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/ServiceElement.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/ServiceElement.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/ServiceElement.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/ServiceElement.java Thu Aug 23 04:01:23 2007
@@ -1,92 +1,92 @@
-/**
+/**
* 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.xml;
-
-import javax.xml.namespace.QName;
-
-import org.apache.woden.types.NCName;
-
-/**
- * Represents the WSDL 2.0 <service> element.
- *
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface ServiceElement extends DocumentableElement,
- NestedElement
-{
- /**
- * Set the name of this ServiceElement to the specified NCName.
- * This corresponds to the <code>name</code> attribute of the <service> element.
- *
- * @param name the NCName that represents the local name of this service
- */
- public void setName(NCName name);
-
- /**
- * Return the qualified name of this ServiceElement, which consists of its
- * local name and the targetNamespace of the enclosing DescriptionElement.
- *
- * @return the service QName
- */
- public QName getName();
-
- /**
- * Specify the name of the InterfaceElement referred to by this ServiceElement.
- * The specified QName corresponds to the <code>interface</code> attribute of the
- * <service> element.
- *
- * @param interfaceName the QName of the interface
- */
- public void setInterfaceName(QName interfaceName);
-
- /**
- * Return the name of the InterfaceElement referred to by this ServiceElement.
- * This corresponds to the <code>interface</code> attribute of the
- * <service> element.
- *
- * @return the QName of the interface
- */
- public QName getInterfaceName();
-
- /**
- * Return the InterfaceElement referred to by this ServiceElement.
- * This equates to the <interface> element referred to by the <code>interface</code>
- * attribute of the <service> element.
- * If this reference cannot be resolved to an InterfaceElement, this method will return null.
- *
- * @return the InterfaceElement
- */
- public InterfaceElement getInterfaceElement();
-
- /**
- * Create an EndpointElement with this ServiceElement as its parent and
- * return a reference to it.
- * This equates to adding an <endpoint> element to the <service> element.
- *
- * @return the EndpointElement
- */
- public EndpointElement addEndpointElement();
-
- /**
- * Return the set of EndpointElements within this ServiceElement.
- * This equates to the set of <endpoint> elements within the <service> element.
- * If no EndpointElements exist, an empty array is returned.
- *
- * @return an array of EndpointElement
- */
- public EndpointElement[] getEndpointElements();
-}
+ *
+ * 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.xml;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.types.NCName;
+
+/**
+ * Represents the WSDL 2.0 <service> element.
+ *
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface ServiceElement extends DocumentableElement,
+ NestedElement
+{
+ /**
+ * Set the name of this ServiceElement to the specified NCName.
+ * This corresponds to the <code>name</code> attribute of the <service> element.
+ *
+ * @param name the NCName that represents the local name of this service
+ */
+ public void setName(NCName name);
+
+ /**
+ * Return the qualified name of this ServiceElement, which consists of its
+ * local name and the targetNamespace of the enclosing DescriptionElement.
+ *
+ * @return the service QName
+ */
+ public QName getName();
+
+ /**
+ * Specify the name of the InterfaceElement referred to by this ServiceElement.
+ * The specified QName corresponds to the <code>interface</code> attribute of the
+ * <service> element.
+ *
+ * @param interfaceName the QName of the interface
+ */
+ public void setInterfaceName(QName interfaceName);
+
+ /**
+ * Return the name of the InterfaceElement referred to by this ServiceElement.
+ * This corresponds to the <code>interface</code> attribute of the
+ * <service> element.
+ *
+ * @return the QName of the interface
+ */
+ public QName getInterfaceName();
+
+ /**
+ * Return the InterfaceElement referred to by this ServiceElement.
+ * This equates to the <interface> element referred to by the <code>interface</code>
+ * attribute of the <service> element.
+ * If this reference cannot be resolved to an InterfaceElement, this method will return null.
+ *
+ * @return the InterfaceElement
+ */
+ public InterfaceElement getInterfaceElement();
+
+ /**
+ * Create an EndpointElement with this ServiceElement as its parent and
+ * return a reference to it.
+ * This equates to adding an <endpoint> element to the <service> element.
+ *
+ * @return the EndpointElement
+ */
+ public EndpointElement addEndpointElement();
+
+ /**
+ * Return the set of EndpointElements within this ServiceElement.
+ * This equates to the set of <endpoint> elements within the <service> element.
+ * If no EndpointElements exist, an empty array is returned.
+ *
+ * @return an array of EndpointElement
+ */
+ public EndpointElement[] getEndpointElements();
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/ServiceElement.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/TypesElement.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/TypesElement.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/TypesElement.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/TypesElement.java Thu Aug 23 04:01:23 2007
@@ -1,92 +1,92 @@
-/**
+/**
* 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.xml;
-
-import java.net.URI;
-
-import org.apache.woden.schema.ImportedSchema;
-import org.apache.woden.schema.InlinedSchema;
-import org.apache.woden.schema.Schema;
-
-/**
- * Represents the WSDL 2.0 <types> element.
- *
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface TypesElement extends DocumentableElement, NestedElement
-{
-
- /**
- * Indicates the type system used within the <types> element.
- * Typically the W3C XML Schema type system will be used, indicated by
- * the namespace "http://www.w3.org/2001/XMLSchema". An alternative
- * schema-like type system is Relax NG (http://www.relaxng.org/).
- */
- public void setTypeSystem(String typeSystem);
-
- /**
- * Get the string indicating the type system used within the <types>
- * element.
- */
- public String getTypeSystem();
-
- /**
- * Add a Schema object for a schema inlined or imported within the <types> element.
- *
- * @param schema the Schema object.
- */
- public void addSchema(Schema schema);
-
- /**
- * Delete the specified Schema object.
- */
- public void removeSchema(Schema schema);
-
- /**
- * Return the schemas inlined or imported directly within this <types> element.
- *
- * @return an array of Schema objects
- */
- public Schema[] getSchemas();
-
- /**
- * Return the schemas inlined or imported directly within this <types> element
- * whose target namespace matches the specified namespace.
- * <p>
- * A null namespace argument will return schemas that have no target namespace.
- *
- * @return an array of Schema objects with the specified target namespace.
- */
- public Schema[] getSchemas(URI namespace);
-
- /**
- * Return the schemas inlined directly within this <types> element
- * in the order in which they occur.
- *
- * @return an array of Schema objects.
- */
- public InlinedSchema[] getInlinedSchemas();
-
- /**
- * Return the schemas imported directly by this <types> element
- * in the order in which they occur.
- *
- * @return an array of Schema objects.
- */
- public ImportedSchema[] getImportedSchemas();
-
-}
+ *
+ * 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.xml;
+
+import java.net.URI;
+
+import org.apache.woden.schema.ImportedSchema;
+import org.apache.woden.schema.InlinedSchema;
+import org.apache.woden.schema.Schema;
+
+/**
+ * Represents the WSDL 2.0 <types> element.
+ *
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface TypesElement extends DocumentableElement, NestedElement
+{
+
+ /**
+ * Indicates the type system used within the <types> element.
+ * Typically the W3C XML Schema type system will be used, indicated by
+ * the namespace "http://www.w3.org/2001/XMLSchema". An alternative
+ * schema-like type system is Relax NG (http://www.relaxng.org/).
+ */
+ public void setTypeSystem(String typeSystem);
+
+ /**
+ * Get the string indicating the type system used within the <types>
+ * element.
+ */
+ public String getTypeSystem();
+
+ /**
+ * Add a Schema object for a schema inlined or imported within the <types> element.
+ *
+ * @param schema the Schema object.
+ */
+ public void addSchema(Schema schema);
+
+ /**
+ * Delete the specified Schema object.
+ */
+ public void removeSchema(Schema schema);
+
+ /**
+ * Return the schemas inlined or imported directly within this <types> element.
+ *
+ * @return an array of Schema objects
+ */
+ public Schema[] getSchemas();
+
+ /**
+ * Return the schemas inlined or imported directly within this <types> element
+ * whose target namespace matches the specified namespace.
+ * <p>
+ * A null namespace argument will return schemas that have no target namespace.
+ *
+ * @return an array of Schema objects with the specified target namespace.
+ */
+ public Schema[] getSchemas(URI namespace);
+
+ /**
+ * Return the schemas inlined directly within this <types> element
+ * in the order in which they occur.
+ *
+ * @return an array of Schema objects.
+ */
+ public InlinedSchema[] getInlinedSchemas();
+
+ /**
+ * Return the schemas imported directly by this <types> element
+ * in the order in which they occur.
+ *
+ * @return an array of Schema objects.
+ */
+ public ImportedSchema[] getImportedSchemas();
+
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/TypesElement.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/WSDLElement.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/WSDLElement.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/WSDLElement.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/WSDLElement.java Thu Aug 23 04:01:23 2007
@@ -1,35 +1,35 @@
-/**
+/**
* 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.xml;
-
-import org.apache.woden.wsdl20.extensions.AttributeExtensible;
-import org.apache.woden.wsdl20.extensions.ElementExtensible;
-
-/**
- * Represents all WSDL 2.0 elements. The Java interfaces representing the WSDL 2.0
- * elements will directly or indirectly extend this interface.
- *
- * @author John Kaputin (jkaputin@apache.org)
- */
-public interface WSDLElement extends AttributeExtensible, ElementExtensible
-{
- /*
- * All elements in the WSDL 2.0 namespace support attribute extensibility and
- * element extensibility, so by inheriting directly or indirectly from this
- * interface they also inherit the extensibility interfaces.
- */
-}
+ *
+ * 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.xml;
+
+import org.apache.woden.wsdl20.extensions.AttributeExtensible;
+import org.apache.woden.wsdl20.extensions.ElementExtensible;
+
+/**
+ * Represents all WSDL 2.0 elements. The Java interfaces representing the WSDL 2.0
+ * elements will directly or indirectly extend this interface.
+ *
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public interface WSDLElement extends AttributeExtensible, ElementExtensible
+{
+ /*
+ * All elements in the WSDL 2.0 namespace support attribute extensibility and
+ * element extensibility, so by inheriting directly or indirectly from this
+ * interface they also inherit the extensibility interfaces.
+ */
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/WSDLElement.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/about-this-package
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/about-this-package?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/about-this-package (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/about-this-package Thu Aug 23 04:01:23 2007
@@ -1,9 +1,9 @@
-XML-related API to support the WSDL 2.0 component model.
-i.e. the WSDL 2.0 API needed by tooling and editors that
-must manipulate the WSDL XML (where the abstract component
-model is not sufficient).
-
-This package is used only for those XML elements that are
-in the WSDL 2.0 namespace. It includes the WSDL20Element
-interface which all other interfaces in this package must
+XML-related API to support the WSDL 2.0 component model.
+i.e. the WSDL 2.0 API needed by tooling and editors that
+must manipulate the WSDL XML (where the abstract component
+model is not sufficient).
+
+This package is used only for those XML elements that are
+in the WSDL 2.0 namespace. It includes the WSDL20Element
+interface which all other interfaces in this package must
extend (i.e. so they share a common type).
Propchange: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/xml/about-this-package
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/xml/ArgumentArrayAttr.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/xml/ArgumentArrayAttr.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/xml/ArgumentArrayAttr.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/xml/ArgumentArrayAttr.java Thu Aug 23 04:01:23 2007
@@ -1,35 +1,35 @@
-/**
+/**
* 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.xml;
-
-import org.apache.woden.wsdl20.extensions.rpc.Argument;
-
-/**
- * This interface represents an XML attribute information items whose type
- * is a list of pairs (xs:QName, xs:token) that obey the contraints of
- * wrpc:signature as defined in Part 2 of the WSDL 2.0 spec.
- *
- * @author Arthur Ryman (ryman@ca.ibm.com, arthur.ryman@gmail.com)
- *
- */
-public interface ArgumentArrayAttr extends XMLAttr {
-
- public Argument[] getArgumentArray();
-
-}
+ *
+ * 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.xml;
+
+import org.apache.woden.wsdl20.extensions.rpc.Argument;
+
+/**
+ * This interface represents an XML attribute information items whose type
+ * is a list of pairs (xs:QName, xs:token) that obey the contraints of
+ * wrpc:signature as defined in Part 2 of the WSDL 2.0 spec.
+ *
+ * @author Arthur Ryman (ryman@ca.ibm.com, arthur.ryman@gmail.com)
+ *
+ */
+public interface ArgumentArrayAttr extends XMLAttr {
+
+ public Argument[] getArgumentArray();
+
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/xml/ArgumentArrayAttr.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/xml/BooleanAttr.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/xml/BooleanAttr.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/xml/BooleanAttr.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/xml/BooleanAttr.java Thu Aug 23 04:01:23 2007
@@ -1,31 +1,31 @@
-/**
+/**
* 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.xml;
-
-
-/**
- * This interface represents XML attribute information items of type xs:boolean.
- * If the attribute value is not "true" or "false" the Boolean content will
- * be initialized to "false" by default, but the isValid() method will
- * return "false".
- *
- * @author jkaputin@apache.org
- */
-public interface BooleanAttr extends XMLAttr
-{
- public Boolean getBoolean();
-}
+ *
+ * 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.xml;
+
+
+/**
+ * This interface represents XML attribute information items of type xs:boolean.
+ * If the attribute value is not "true" or "false" the Boolean content will
+ * be initialized to "false" by default, but the isValid() method will
+ * return "false".
+ *
+ * @author jkaputin@apache.org
+ */
+public interface BooleanAttr extends XMLAttr
+{
+ public Boolean getBoolean();
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/xml/BooleanAttr.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/xml/HTTPAuthenticationSchemeAttr.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/xml/HTTPAuthenticationSchemeAttr.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/xml/HTTPAuthenticationSchemeAttr.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/xml/HTTPAuthenticationSchemeAttr.java Thu Aug 23 04:01:23 2007
@@ -1,32 +1,32 @@
-/**
+/**
* 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.xml;
-
-import org.apache.woden.wsdl20.extensions.http.HTTPAuthenticationScheme;
-
-/**
- * This interface represents the value of the whttp:authenticationScheme
- * attribute.
- *
- * @author Arthur Ryman (ryman@ca.ibm.ca, arthur.ryman@gmail.com)
- *
- */
-public interface HTTPAuthenticationSchemeAttr extends XMLAttr {
-
- HTTPAuthenticationScheme getScheme();
-
-}
+ *
+ * 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.xml;
+
+import org.apache.woden.wsdl20.extensions.http.HTTPAuthenticationScheme;
+
+/**
+ * This interface represents the value of the whttp:authenticationScheme
+ * attribute.
+ *
+ * @author Arthur Ryman (ryman@ca.ibm.ca, arthur.ryman@gmail.com)
+ *
+ */
+public interface HTTPAuthenticationSchemeAttr extends XMLAttr {
+
+ HTTPAuthenticationScheme getScheme();
+
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/xml/HTTPAuthenticationSchemeAttr.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/xml/IntOrTokenAttr.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/xml/IntOrTokenAttr.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/xml/IntOrTokenAttr.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/xml/IntOrTokenAttr.java Thu Aug 23 04:01:23 2007
@@ -1,51 +1,51 @@
-/**
+/**
* 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.xml;
-
-
-/**
- * This interface represents XML attribute information items of type
- * 'Union of xs:int, xs:token', for example
- * the whttp:code extension attribute of binding <fault>.
- * <p>
- * The <code>isInt</code> and <code>isToken</code> methods determine whether
- * to call the <code>getInt</code> or <code>getToken</code> methods.
- * If the implementor object is initialized with an int,
- * <code>isInt</code> will return 'true', <code>isToken</code> will return
- * 'false', <code>getInt</code> will return the int value and <code>getToken</code>
- * will return null. If it is initialized with an xs:token, <code>isInt</code>
- * will return 'false', <code>isToken</code> will return 'true', <code>getInt</code>
- * will return null and <code>getToken</code> will return the token string.
- * <p>
- * If the implementor object is initialized with a null value (i.e. because
- * of an attribute value conversion error or because the attribute value
- * was empty in the WSDL), the <code>getContents</code>, <code>getInt</code>
- * and <code>getToken</code> methods will return null and <code>isInt</code>,
- * <code>isToken</code> and <code>isValid</code> will return false.
- *
- * @author jkaputin@apache.org
- */
-public interface IntOrTokenAttr extends XMLAttr
-{
- public boolean isInt();
-
- public boolean isToken();
-
- public Integer getInt();
-
- public String getToken();
-}
+ *
+ * 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.xml;
+
+
+/**
+ * This interface represents XML attribute information items of type
+ * 'Union of xs:int, xs:token', for example
+ * the whttp:code extension attribute of binding <fault>.
+ * <p>
+ * The <code>isInt</code> and <code>isToken</code> methods determine whether
+ * to call the <code>getInt</code> or <code>getToken</code> methods.
+ * If the implementor object is initialized with an int,
+ * <code>isInt</code> will return 'true', <code>isToken</code> will return
+ * 'false', <code>getInt</code> will return the int value and <code>getToken</code>
+ * will return null. If it is initialized with an xs:token, <code>isInt</code>
+ * will return 'false', <code>isToken</code> will return 'true', <code>getInt</code>
+ * will return null and <code>getToken</code> will return the token string.
+ * <p>
+ * If the implementor object is initialized with a null value (i.e. because
+ * of an attribute value conversion error or because the attribute value
+ * was empty in the WSDL), the <code>getContents</code>, <code>getInt</code>
+ * and <code>getToken</code> methods will return null and <code>isInt</code>,
+ * <code>isToken</code> and <code>isValid</code> will return false.
+ *
+ * @author jkaputin@apache.org
+ */
+public interface IntOrTokenAttr extends XMLAttr
+{
+ public boolean isInt();
+
+ public boolean isToken();
+
+ public Integer getInt();
+
+ public String getToken();
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/xml/IntOrTokenAttr.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/xml/QNameAttr.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/xml/QNameAttr.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/xml/QNameAttr.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/xml/QNameAttr.java Thu Aug 23 04:01:23 2007
@@ -1,32 +1,32 @@
-/**
+/**
* 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.xml;
-
-import javax.xml.namespace.QName;
-
-/**
- * This interface represents XML attribute information items of type xs:QName.
- * If the attribute's string value cannot be converted into a QName object the
- * getContent() and getQName() methods will return null and isValid() will return
- * false.
- *
- * @author jkaputin@apache.org
- */
-public interface QNameAttr extends XMLAttr
-{
- public QName getQName();
-}
+ *
+ * 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.xml;
+
+import javax.xml.namespace.QName;
+
+/**
+ * This interface represents XML attribute information items of type xs:QName.
+ * If the attribute's string value cannot be converted into a QName object the
+ * getContent() and getQName() methods will return null and isValid() will return
+ * false.
+ *
+ * @author jkaputin@apache.org
+ */
+public interface QNameAttr extends XMLAttr
+{
+ public QName getQName();
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/xml/QNameAttr.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/xml/QNameListAttr.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/xml/QNameListAttr.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/xml/QNameListAttr.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/xml/QNameListAttr.java Thu Aug 23 04:01:23 2007
@@ -1,35 +1,35 @@
-/**
+/**
* 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.xml;
-
-import javax.xml.namespace.QName;
-
-/**
- * This interface represents XML attribute information items of type
- * xs:list of QNames. The string is converted into a collection of QNames,
- * one for each valid name in the string. The QNames can be retrieved as an
- * array of QName. If an error occurs converting a QName it will not be included
- * in the array and the isValid() method will return false (even if there are
- * some valid QNames in the list). If no qnames can be converted from the string,
- * getContent() and getQNames() will return null and isValid() will return false.
- *
- * @author jkaputin@apache.org
- */
-public interface QNameListAttr extends XMLAttr
-{
- public QName[] getQNames();
-}
+ *
+ * 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.xml;
+
+import javax.xml.namespace.QName;
+
+/**
+ * This interface represents XML attribute information items of type
+ * xs:list of QNames. The string is converted into a collection of QNames,
+ * one for each valid name in the string. The QNames can be retrieved as an
+ * array of QName. If an error occurs converting a QName it will not be included
+ * in the array and the isValid() method will return false (even if there are
+ * some valid QNames in the list). If no qnames can be converted from the string,
+ * getContent() and getQNames() will return null and isValid() will return false.
+ *
+ * @author jkaputin@apache.org
+ */
+public interface QNameListAttr extends XMLAttr
+{
+ public QName[] getQNames();
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/xml/QNameListAttr.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/xml/QNameListOrTokenAttr.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/xml/QNameListOrTokenAttr.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/xml/QNameListOrTokenAttr.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/xml/QNameListOrTokenAttr.java Thu Aug 23 04:01:23 2007
@@ -1,52 +1,52 @@
-/**
+/**
* 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.xml;
-
-import javax.xml.namespace.QName;
-
-/**
- * This interface represents XML attribute information items of type
- * 'Union of list of xs:QName or xs:token', for example
- * the wsoap:subcodes extension attribute of binding <fault>.
- * <p>
- * The <code>isQNameList</code> method can be used to determine whether
- * to call the <code>getQNames</code> method or the <code>getToken</code>
- * method. If the implementor object is initialized with a list of QNames,
- * <code>isQNameList</code> will return 'true', <code>getQNames</code>
- * will return an array of QName objects and <code>getToken</code> will return
- * null. If it is initialized with a xs:token, <code>isQNameList</code> will
- * return 'false', <code>getQNames</code> will return null and
- * <code>getToken</code> will return the token string.
- * <p>
- * If the implementor object is initialized with a null value (i.e. because
- * of an attribute value conversion error or because the attribute value
- * was empty in the WSDL), the <code>getContents</code>,
- * <code>getQNameList</code> and <code>getToken</code> methods will return null
- * and <code>isQNameList</code> and <code>isValid</code> will return false.
- *
- * @author jkaputin@apache.org
- */
-public interface QNameListOrTokenAttr extends XMLAttr
-{
- public boolean isQNameList();
-
- public boolean isToken();
-
- public QName[] getQNames();
-
- public String getToken();
-}
+ *
+ * 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.xml;
+
+import javax.xml.namespace.QName;
+
+/**
+ * This interface represents XML attribute information items of type
+ * 'Union of list of xs:QName or xs:token', for example
+ * the wsoap:subcodes extension attribute of binding <fault>.
+ * <p>
+ * The <code>isQNameList</code> method can be used to determine whether
+ * to call the <code>getQNames</code> method or the <code>getToken</code>
+ * method. If the implementor object is initialized with a list of QNames,
+ * <code>isQNameList</code> will return 'true', <code>getQNames</code>
+ * will return an array of QName objects and <code>getToken</code> will return
+ * null. If it is initialized with a xs:token, <code>isQNameList</code> will
+ * return 'false', <code>getQNames</code> will return null and
+ * <code>getToken</code> will return the token string.
+ * <p>
+ * If the implementor object is initialized with a null value (i.e. because
+ * of an attribute value conversion error or because the attribute value
+ * was empty in the WSDL), the <code>getContents</code>,
+ * <code>getQNameList</code> and <code>getToken</code> methods will return null
+ * and <code>isQNameList</code> and <code>isValid</code> will return false.
+ *
+ * @author jkaputin@apache.org
+ */
+public interface QNameListOrTokenAttr extends XMLAttr
+{
+ public boolean isQNameList();
+
+ public boolean isToken();
+
+ public QName[] getQNames();
+
+ public String getToken();
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/xml/QNameListOrTokenAttr.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/xml/QNameOrTokenAttr.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/xml/QNameOrTokenAttr.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/xml/QNameOrTokenAttr.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/xml/QNameOrTokenAttr.java Thu Aug 23 04:01:23 2007
@@ -1,52 +1,52 @@
-/**
+/**
* 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.xml;
-
-import javax.xml.namespace.QName;
-
-/**
- * This interface represents XML attribute information items of type
- * 'Union of xs:QName or xs:token', for example
- * the wsoap:code extension attribute of binding <fault>.
- * <p>
- * The <code>isQName</code> method can be used to determine whether
- * to call the <code>getQName</code> method or the <code>getToken</code>
- * method. If the implementor object is initialized with a QName,
- * <code>isQName</code> will return 'true', <code>getQName</code>
- * will return the QName object and <code>getToken</code> will return
- * null. If it is initialized with a xs:token, <code>isQName</code> will
- * return 'false', <code>getQName</code> will return null and
- * <code>getToken</code> will return the token string.
- * <p>
- * If the implementor object is initialized with a null value (i.e. because
- * of an attribute value conversion error or because the attribute value
- * was empty in the WSDL), the <code>getContents</code>,
- * <code>getQName</code> and <code>getToken</code> methods will return null
- * and <code>isQName</code> and <code>isValid</code> will return false.
- *
- * @author jkaputin@apache.org
- */
-public interface QNameOrTokenAttr extends XMLAttr
-{
- public boolean isQName();
-
- public boolean isToken();
-
- public QName getQName();
-
- public String getToken();
-}
+ *
+ * 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.xml;
+
+import javax.xml.namespace.QName;
+
+/**
+ * This interface represents XML attribute information items of type
+ * 'Union of xs:QName or xs:token', for example
+ * the wsoap:code extension attribute of binding <fault>.
+ * <p>
+ * The <code>isQName</code> method can be used to determine whether
+ * to call the <code>getQName</code> method or the <code>getToken</code>
+ * method. If the implementor object is initialized with a QName,
+ * <code>isQName</code> will return 'true', <code>getQName</code>
+ * will return the QName object and <code>getToken</code> will return
+ * null. If it is initialized with a xs:token, <code>isQName</code> will
+ * return 'false', <code>getQName</code> will return null and
+ * <code>getToken</code> will return the token string.
+ * <p>
+ * If the implementor object is initialized with a null value (i.e. because
+ * of an attribute value conversion error or because the attribute value
+ * was empty in the WSDL), the <code>getContents</code>,
+ * <code>getQName</code> and <code>getToken</code> methods will return null
+ * and <code>isQName</code> and <code>isValid</code> will return false.
+ *
+ * @author jkaputin@apache.org
+ */
+public interface QNameOrTokenAttr extends XMLAttr
+{
+ public boolean isQName();
+
+ public boolean isToken();
+
+ public QName getQName();
+
+ public String getToken();
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/xml/QNameOrTokenAttr.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/woden/trunk/java/src/org/apache/woden/xml/StringAttr.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/xml/StringAttr.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/xml/StringAttr.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/xml/StringAttr.java Thu Aug 23 04:01:23 2007
@@ -1,30 +1,30 @@
-/**
+/**
* 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.xml;
-
-
-/**
- * This interface represents XML attribute information items of type xs:string.
- * If the object is initialized with a null value, the getContents() and getString()
- * methods will return null and isValid() will return false.
- *
- * @author jkaputin@apache.org
- */
-public interface StringAttr extends XMLAttr
-{
- public String getString();
-}
+ *
+ * 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.xml;
+
+
+/**
+ * This interface represents XML attribute information items of type xs:string.
+ * If the object is initialized with a null value, the getContents() and getString()
+ * methods will return null and isValid() will return false.
+ *
+ * @author jkaputin@apache.org
+ */
+public interface StringAttr extends XMLAttr
+{
+ public String getString();
+}
Propchange: incubator/woden/trunk/java/src/org/apache/woden/xml/StringAttr.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