Modified:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/UnknownExtensionDeserializer.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/UnknownExtensionDeserializer.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
---
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/UnknownExtensionDeserializer.java
(original)
+++
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/UnknownExtensionDeserializer.java
Thu Aug 23 04:01:23 2007
@@ -1,91 +1,91 @@
-/**
+/**
* 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.extensions;
-
-import javax.xml.namespace.QName;
-
-import org.apache.woden.WSDLException;
-import org.apache.woden.XMLElement;
-//TODO remove internals from the API: import
org.apache.woden.internal.util.dom.DOMUtils;
-//TODO remove internals from the API: import
org.apache.woden.internal.wsdl20.Constants;
-import org.apache.woden.wsdl20.xml.DescriptionElement;
-import org.w3c.dom.Element;
-import org.w3c.dom.Attr;
-
-/**
- * This class is used to deserialize arbitrary elements into
- * UnknownExtensionElement instances.
- * <p>
- * Copied from WSDL4J.
- *
- * @see UnknownExtensionElement
- * @see UnknownExtensionSerializer
- *
- * @author Matthew J. Duftler ([EMAIL PROTECTED])
- */
-public class UnknownExtensionDeserializer implements ExtensionDeserializer
-{
- public ExtensionElement unmarshall(Class parentType,
- Object parent,
- QName extType,
- XMLElement extEl,
- DescriptionElement desc,
- ExtensionRegistry extReg)
- throws WSDLException
- {
- UnknownExtensionElement unknownExt = new UnknownExtensionElement();
- //TODO remove internals from the API ... DOMUtils and Constants
- //String requiredStr = DOMUtils.getAttributeNS(el,
- // Constants.NS_URI_WSDL20,
- // Constants.ATTR_REQUIRED);
- String requiredStr = getAttributeNS(extEl,
- "http://www.w3.org/ns/wsdl",
- "required");
-
- unknownExt.setExtensionType(extType);
-
- if (requiredStr != null)
- {
- unknownExt.setRequired(new Boolean(requiredStr));
- }
-
- unknownExt.setElement(extEl);
-
- return unknownExt;
- }
-
- //Method copied from DOMUtils, to avoid using internal classes
- //here in the API packages (it was breaking the API build).
- //TODO workaround for M2, replace with new XMLElement behaviour.
- private String getAttributeNS (XMLElement xmlElement,
- String namespaceURI,
- String localPart) {
- String sRet = null;
-
- if (xmlElement.getSource() instanceof Element){
- Element el = (Element)xmlElement.getSource();
- Attr attr = el.getAttributeNodeNS (namespaceURI, localPart);
-
- if (attr != null) {
- sRet = attr.getValue ();
- }
- }
-
- return sRet;
- }
-
+ *
+ * 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.extensions;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.WSDLException;
+import org.apache.woden.XMLElement;
+//TODO remove internals from the API: import
org.apache.woden.internal.util.dom.DOMUtils;
+//TODO remove internals from the API: import
org.apache.woden.internal.wsdl20.Constants;
+import org.apache.woden.wsdl20.xml.DescriptionElement;
+import org.w3c.dom.Element;
+import org.w3c.dom.Attr;
+
+/**
+ * This class is used to deserialize arbitrary elements into
+ * UnknownExtensionElement instances.
+ * <p>
+ * Copied from WSDL4J.
+ *
+ * @see UnknownExtensionElement
+ * @see UnknownExtensionSerializer
+ *
+ * @author Matthew J. Duftler ([EMAIL PROTECTED])
+ */
+public class UnknownExtensionDeserializer implements ExtensionDeserializer
+{
+ public ExtensionElement unmarshall(Class parentType,
+ Object parent,
+ QName extType,
+ XMLElement extEl,
+ DescriptionElement desc,
+ ExtensionRegistry extReg)
+ throws WSDLException
+ {
+ UnknownExtensionElement unknownExt = new UnknownExtensionElement();
+ //TODO remove internals from the API ... DOMUtils and Constants
+ //String requiredStr = DOMUtils.getAttributeNS(el,
+ // Constants.NS_URI_WSDL20,
+ // Constants.ATTR_REQUIRED);
+ String requiredStr = getAttributeNS(extEl,
+ "http://www.w3.org/ns/wsdl",
+ "required");
+
+ unknownExt.setExtensionType(extType);
+
+ if (requiredStr != null)
+ {
+ unknownExt.setRequired(new Boolean(requiredStr));
+ }
+
+ unknownExt.setElement(extEl);
+
+ return unknownExt;
+ }
+
+ //Method copied from DOMUtils, to avoid using internal classes
+ //here in the API packages (it was breaking the API build).
+ //TODO workaround for M2, replace with new XMLElement behaviour.
+ private String getAttributeNS (XMLElement xmlElement,
+ String namespaceURI,
+ String localPart) {
+ String sRet = null;
+
+ if (xmlElement.getSource() instanceof Element){
+ Element el = (Element)xmlElement.getSource();
+ Attr attr = el.getAttributeNodeNS (namespaceURI, localPart);
+
+ if (attr != null) {
+ sRet = attr.getValue ();
+ }
+ }
+
+ return sRet;
+ }
+
}
Propchange:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/UnknownExtensionDeserializer.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/UnknownExtensionElement.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/UnknownExtensionElement.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
---
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/UnknownExtensionElement.java
(original)
+++
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/UnknownExtensionElement.java
Thu Aug 23 04:01:23 2007
@@ -1,113 +1,113 @@
-/**
+/**
* 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.extensions;
-
-import org.apache.woden.XMLElement;
-
-import javax.xml.namespace.*;
-
-/**
- * This class is used to wrap arbitrary elements.
- * <p>
- * Based on the same class from WSDL4J.
- *
- * @see UnknownExtensionSerializer
- * @see UnknownExtensionDeserializer
- *
- * @author Matthew J. Duftler ([EMAIL PROTECTED])
- * @author [EMAIL PROTECTED]
- */
-public class UnknownExtensionElement implements ExtensionElement
-{
- protected QName elementQN = null;
- // Uses the wrapper type so we can tell if it was set or not.
- protected Boolean required = null;
- protected XMLElement element = null;
-
- /**
- * Set the type of this extensibility element.
- *
- * @param elementQN the type
- */
- public void setExtensionType(QName elementQN)
- {
- this.elementQN = elementQN;
- }
-
- /**
- * Get the type of this extensibility element.
- *
- * @return the extensibility element's type
- */
- public QName getExtensionType()
- {
- return elementQN;
- }
-
- /**
- * Set whether or not the semantics of this extension
- * are required. Relates to the wsdl:required attribute.
- */
- public void setRequired(Boolean required)
- {
- this.required = required;
- }
-
- /**
- * Get whether or not the semantics of this extension
- * are required. Relates to the wsdl:required attribute.
- */
- public Boolean isRequired()
- {
- return required;
- }
-
- /**
- * Set the Element for this extensibility element.
- *
- * @param element the unknown element that was encountered
- */
- public void setElement(XMLElement element)
- {
- this.element = element;
- }
-
- /**
- * Get the Element for this extensibility element.
- *
- * @return the unknown element that was encountered
- */
- public XMLElement getElement()
- {
- return element;
- }
-
- public String toString()
- {
- StringBuffer strBuf = new StringBuffer();
-
- strBuf.append("UnknownExtensionElement (" + elementQN + "):");
- strBuf.append("\nrequired=" + required);
-
- if (element != null)
- {
- strBuf.append("\nelement=" + element);
- }
-
- return strBuf.toString();
- }
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.woden.wsdl20.extensions;
+
+import org.apache.woden.XMLElement;
+
+import javax.xml.namespace.*;
+
+/**
+ * This class is used to wrap arbitrary elements.
+ * <p>
+ * Based on the same class from WSDL4J.
+ *
+ * @see UnknownExtensionSerializer
+ * @see UnknownExtensionDeserializer
+ *
+ * @author Matthew J. Duftler ([EMAIL PROTECTED])
+ * @author [EMAIL PROTECTED]
+ */
+public class UnknownExtensionElement implements ExtensionElement
+{
+ protected QName elementQN = null;
+ // Uses the wrapper type so we can tell if it was set or not.
+ protected Boolean required = null;
+ protected XMLElement element = null;
+
+ /**
+ * Set the type of this extensibility element.
+ *
+ * @param elementQN the type
+ */
+ public void setExtensionType(QName elementQN)
+ {
+ this.elementQN = elementQN;
+ }
+
+ /**
+ * Get the type of this extensibility element.
+ *
+ * @return the extensibility element's type
+ */
+ public QName getExtensionType()
+ {
+ return elementQN;
+ }
+
+ /**
+ * Set whether or not the semantics of this extension
+ * are required. Relates to the wsdl:required attribute.
+ */
+ public void setRequired(Boolean required)
+ {
+ this.required = required;
+ }
+
+ /**
+ * Get whether or not the semantics of this extension
+ * are required. Relates to the wsdl:required attribute.
+ */
+ public Boolean isRequired()
+ {
+ return required;
+ }
+
+ /**
+ * Set the Element for this extensibility element.
+ *
+ * @param element the unknown element that was encountered
+ */
+ public void setElement(XMLElement element)
+ {
+ this.element = element;
+ }
+
+ /**
+ * Get the Element for this extensibility element.
+ *
+ * @return the unknown element that was encountered
+ */
+ public XMLElement getElement()
+ {
+ return element;
+ }
+
+ public String toString()
+ {
+ StringBuffer strBuf = new StringBuffer();
+
+ strBuf.append("UnknownExtensionElement (" + elementQN + "):");
+ strBuf.append("\nrequired=" + required);
+
+ if (element != null)
+ {
+ strBuf.append("\nelement=" + element);
+ }
+
+ return strBuf.toString();
+ }
}
Propchange:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/UnknownExtensionElement.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/UnknownExtensionSerializer.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/UnknownExtensionSerializer.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
---
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/UnknownExtensionSerializer.java
(original)
+++
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/UnknownExtensionSerializer.java
Thu Aug 23 04:01:23 2007
@@ -1,57 +1,57 @@
-/**
+/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.woden.wsdl20.extensions;
-
-import java.io.PrintWriter;
-
-import javax.xml.namespace.QName;
-
-import org.apache.woden.WSDLException;
-//TODO remove internals from the API: import
org.apache.woden.internal.util.dom.DOM2Writer;
-import org.apache.woden.wsdl20.xml.DescriptionElement;
-
-/**
- * This class is used to serialize UnknownExtensionElement instances
- * into the PrintWriter.
- * <p>
- * Copied from WSDL4J.
- *
- * @see UnknownExtensionElement
- * @see UnknownExtensionDeserializer
- *
- * @author Matthew J. Duftler ([EMAIL PROTECTED])
- */
-public class UnknownExtensionSerializer implements ExtensionSerializer
-{
- public void marshall(Class parentType,
- QName elementType,
- ExtensionElement extension,
- PrintWriter pw,
- DescriptionElement desc,
- ExtensionRegistry extReg)
- throws WSDLException
- {
-// UnknownExtensionElement unknownExt =
-// (UnknownExtensionElement)extension;
-
- pw.print(" ");
-
- //TODO remove internals from the API:
DOM2Writer.serializeAsXML(unknownExt.getElement(), pw);
-
- pw.println();
- }
+ *
+ * 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.extensions;
+
+import java.io.PrintWriter;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.WSDLException;
+//TODO remove internals from the API: import
org.apache.woden.internal.util.dom.DOM2Writer;
+import org.apache.woden.wsdl20.xml.DescriptionElement;
+
+/**
+ * This class is used to serialize UnknownExtensionElement instances
+ * into the PrintWriter.
+ * <p>
+ * Copied from WSDL4J.
+ *
+ * @see UnknownExtensionElement
+ * @see UnknownExtensionDeserializer
+ *
+ * @author Matthew J. Duftler ([EMAIL PROTECTED])
+ */
+public class UnknownExtensionSerializer implements ExtensionSerializer
+{
+ public void marshall(Class parentType,
+ QName elementType,
+ ExtensionElement extension,
+ PrintWriter pw,
+ DescriptionElement desc,
+ ExtensionRegistry extReg)
+ throws WSDLException
+ {
+// UnknownExtensionElement unknownExt =
+// (UnknownExtensionElement)extension;
+
+ pw.print(" ");
+
+ //TODO remove internals from the API:
DOM2Writer.serializeAsXML(unknownExt.getElement(), pw);
+
+ pw.println();
+ }
}
Propchange:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/UnknownExtensionSerializer.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/about-this-package
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/about-this-package?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
---
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/about-this-package
(original)
+++
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/about-this-package
Thu Aug 23 04:01:23 2007
@@ -1,2 +1,2 @@
-API for handling extensibility defined in the WSDL 2.0 specs
+API for handling extensibility defined in the WSDL 2.0 specs
(e.g. soap, http, MEPs, type system extensibility).
Propchange:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/about-this-package
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPAuthenticationScheme.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPAuthenticationScheme.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
---
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPAuthenticationScheme.java
(original)
+++
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPAuthenticationScheme.java
Thu Aug 23 04:01:23 2007
@@ -1,57 +1,57 @@
-/**
+/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.woden.wsdl20.extensions.http;
-
-/**
- * This class defines the values of the {http authentication scheme} property
of
- * Endpoint as defined by the HTTP Binding extension. This property indicates
- * the HTTP authentication scheme used.
- *
- * <p>
- * The property is one of:
- * <ul>
- * <li>basic</li>
- * <li>digest</li
- * </ul>
- * </p>
- *
- * <p>
- * This class uses the typesafe enum pattern. Applications should use the
public
- * static final constants defined in this class to specify or to evaluate the
- * HTTP authentication scheme.
- * </p>
- *
- * @author Arthur Ryman ([EMAIL PROTECTED], [EMAIL PROTECTED])
- */
-public class HTTPAuthenticationScheme {
-
- private final String fValue;
-
- private HTTPAuthenticationScheme(String value) {
- fValue = value;
- }
-
- public String toString() {
- return fValue;
- }
-
- public static final HTTPAuthenticationScheme BASIC = new
HTTPAuthenticationScheme(
- "basic");
-
- public static final HTTPAuthenticationScheme DIGEST = new
HTTPAuthenticationScheme(
- "digest");
-}
+ *
+ * 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.extensions.http;
+
+/**
+ * This class defines the values of the {http authentication scheme} property
of
+ * Endpoint as defined by the HTTP Binding extension. This property indicates
+ * the HTTP authentication scheme used.
+ *
+ * <p>
+ * The property is one of:
+ * <ul>
+ * <li>basic</li>
+ * <li>digest</li
+ * </ul>
+ * </p>
+ *
+ * <p>
+ * This class uses the typesafe enum pattern. Applications should use the
public
+ * static final constants defined in this class to specify or to evaluate the
+ * HTTP authentication scheme.
+ * </p>
+ *
+ * @author Arthur Ryman ([EMAIL PROTECTED], [EMAIL PROTECTED])
+ */
+public class HTTPAuthenticationScheme {
+
+ private final String fValue;
+
+ private HTTPAuthenticationScheme(String value) {
+ fValue = value;
+ }
+
+ public String toString() {
+ return fValue;
+ }
+
+ public static final HTTPAuthenticationScheme BASIC = new
HTTPAuthenticationScheme(
+ "basic");
+
+ public static final HTTPAuthenticationScheme DIGEST = new
HTTPAuthenticationScheme(
+ "digest");
+}
Propchange:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPAuthenticationScheme.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingExtensions.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingExtensions.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
---
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingExtensions.java
(original)
+++
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingExtensions.java
Thu Aug 23 04:01:23 2007
@@ -1,46 +1,46 @@
-/**
+/**
* 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.extensions.http;
-
-import org.apache.woden.wsdl20.extensions.ComponentExtensions;
-
-/**
- * This interface represents the properties from the HTTP namespace
- * added to the WSDL 2.0 <code>Binding</code> component as part
- * of the HTTP binding extension.
- * <p>
- * These include:
- * <ul>
- * <li>{http method default}</li>
- * <li>{http query parameter separator default}</li>
- * <li>{http cookies}</li>
- * <li>{http content encoding default}</li>
- * </ul>
- *
- * @author John Kaputin ([EMAIL PROTECTED])
- */
-public interface HTTPBindingExtensions extends ComponentExtensions
-{
- public String getHttpMethodDefault();
-
- public String getHttpQueryParameterSeparatorDefault();
-
- public Boolean isHttpCookies(); //TODO consider whether this convention is
ok
-
- public String getHttpContentEncodingDefault();
-
-}
+ *
+ * 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.extensions.http;
+
+import org.apache.woden.wsdl20.extensions.ComponentExtensions;
+
+/**
+ * This interface represents the properties from the HTTP namespace
+ * added to the WSDL 2.0 <code>Binding</code> component as part
+ * of the HTTP binding extension.
+ * <p>
+ * These include:
+ * <ul>
+ * <li>{http method default}</li>
+ * <li>{http query parameter separator default}</li>
+ * <li>{http cookies}</li>
+ * <li>{http content encoding default}</li>
+ * </ul>
+ *
+ * @author John Kaputin ([EMAIL PROTECTED])
+ */
+public interface HTTPBindingExtensions extends ComponentExtensions
+{
+ public String getHttpMethodDefault();
+
+ public String getHttpQueryParameterSeparatorDefault();
+
+ public Boolean isHttpCookies(); //TODO consider whether this convention is
ok
+
+ public String getHttpContentEncodingDefault();
+
+}
Propchange:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingExtensions.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingFaultExtensions.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingFaultExtensions.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
---
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingFaultExtensions.java
(original)
+++
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingFaultExtensions.java
Thu Aug 23 04:01:23 2007
@@ -1,43 +1,43 @@
-/**
+/**
* 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.extensions.http;
-
-import org.apache.woden.wsdl20.extensions.ComponentExtensions;
-
-/**
- * This interface represents the properties from the HTTP namespace
- * added to the WSDL 2.0 <code>BindingFault</code> component as part
- * of the HTTP binding extension.
- * <p>
- * These include:
- * <ul>
- * <li>{http error status code}</li>
- * <li>{http content encoding}</li>
- * <li>{http headers}</li>
- * </ul>
- *
- * @author John Kaputin ([EMAIL PROTECTED])
- */
-public interface HTTPBindingFaultExtensions extends ComponentExtensions
-{
- public HTTPErrorStatusCode getHttpErrorStatusCode();
-
- public String getHttpContentEncoding();
-
- public HTTPHeader[] getHttpHeaders();
-
-}
+ *
+ * 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.extensions.http;
+
+import org.apache.woden.wsdl20.extensions.ComponentExtensions;
+
+/**
+ * This interface represents the properties from the HTTP namespace
+ * added to the WSDL 2.0 <code>BindingFault</code> component as part
+ * of the HTTP binding extension.
+ * <p>
+ * These include:
+ * <ul>
+ * <li>{http error status code}</li>
+ * <li>{http content encoding}</li>
+ * <li>{http headers}</li>
+ * </ul>
+ *
+ * @author John Kaputin ([EMAIL PROTECTED])
+ */
+public interface HTTPBindingFaultExtensions extends ComponentExtensions
+{
+ public HTTPErrorStatusCode getHttpErrorStatusCode();
+
+ public String getHttpContentEncoding();
+
+ public HTTPHeader[] getHttpHeaders();
+
+}
Propchange:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingFaultExtensions.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingMessageReferenceExtensions.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingMessageReferenceExtensions.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
---
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingMessageReferenceExtensions.java
(original)
+++
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingMessageReferenceExtensions.java
Thu Aug 23 04:01:23 2007
@@ -1,47 +1,47 @@
-/**
+/**
* 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.extensions.http;
-
-import org.apache.woden.wsdl20.extensions.ComponentExtensions;
-
-/**
- * This interface represents the properties from the HTTP namespace
- * added to the WSDL 2.0 <code>BindingMessageReference</code> component as
part
- * of the HTTP binding extension.
- * <p>
- * These include:
- * <ul>
- * <li>{http content encoding}</li>
- * <li>{http headers}</li>
- * </ul>
- *
- * @author John Kaputin ([EMAIL PROTECTED])
- */
-public interface HTTPBindingMessageReferenceExtensions extends
ComponentExtensions
-{
- /**
- * @return String the {http content encoding} property, represented by the
whttp:contentEncoding extension attribute
- */
- public String getHttpContentEncoding();
-
- /**
- * @return HTTPHeader[] the {http headers} property, represented by an
array of
- * HTTPHeader extension components, which map to whttp:header elements.
- */
- public HTTPHeader[] getHttpHeaders();
-
-}
+ *
+ * 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.extensions.http;
+
+import org.apache.woden.wsdl20.extensions.ComponentExtensions;
+
+/**
+ * This interface represents the properties from the HTTP namespace
+ * added to the WSDL 2.0 <code>BindingMessageReference</code> component as
part
+ * of the HTTP binding extension.
+ * <p>
+ * These include:
+ * <ul>
+ * <li>{http content encoding}</li>
+ * <li>{http headers}</li>
+ * </ul>
+ *
+ * @author John Kaputin ([EMAIL PROTECTED])
+ */
+public interface HTTPBindingMessageReferenceExtensions extends
ComponentExtensions
+{
+ /**
+ * @return String the {http content encoding} property, represented by the
whttp:contentEncoding extension attribute
+ */
+ public String getHttpContentEncoding();
+
+ /**
+ * @return HTTPHeader[] the {http headers} property, represented by an
array of
+ * HTTPHeader extension components, which map to whttp:header elements.
+ */
+ public HTTPHeader[] getHttpHeaders();
+
+}
Propchange:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingMessageReferenceExtensions.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingOperationExtensions.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingOperationExtensions.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
---
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingOperationExtensions.java
(original)
+++
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingOperationExtensions.java
Thu Aug 23 04:01:23 2007
@@ -1,84 +1,84 @@
-/**
+/**
* 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.extensions.http;
-
-import org.apache.woden.wsdl20.extensions.ComponentExtensions;
-
-/**
- * This interface represents the properties from the HTTP namespace
- * added to the WSDL 2.0 <code>BindingOperation</code> component as part
- * of the HTTP binding extension.
- * <p>
- * These include:
- * <ul>
- * <li>{http location}</li>
- * <li>{http location ignore uncited}</li>
- * <li>{http method}</li>
- * <li>{http input serialization}</li>
- * <li>{http output serialization}</li>
- * <li>{http fault serialization}</li>
- * <li>{http query parameter separator}</li>
- * <li>{http content encoding default}</li>
- * </ul>
- *
- * @author John Kaputin ([EMAIL PROTECTED])
- * @author Arthur Ryman ([EMAIL PROTECTED], [EMAIL PROTECTED])
- * - added support for {http location ignore uncited}
- */
-public interface HTTPBindingOperationExtensions extends ComponentExtensions
-{
- /**
- * @return HTTPLocation the {http location} property, represented by the
whttp:location extension attribute
- */
- public HTTPLocation getHttpLocation();
-
- /**
- * @return Boolean the {http location ignore uncited} property,
represented by the whttp:ignoreUncited extension attribute
- */
- public Boolean isHttpLocationIgnoreUncited();
-
- /**
- * @return String the {http method} property, represented by the
whttp:method extension attribute
- */
- public String getHttpMethod();
-
- /**
- * @return String the {http input serialization} property, represented by
the whttp:inputSerialization extension attribute
- */
- public String getHttpInputSerialization();
-
- /**
- * @return String the {http output serialization} property, represented by
the whttp:outputSerialization extension attribute
- */
- public String getHttpOutputSerialization();
-
- /**
- * @return String the {http fault serialization} property, represented by
the whttp:faultSerialization extension attribute
- */
- public String getHttpFaultSerialization();
-
- /**
- * @return String the {http query parameter separator}, represented by the
whttp:queryParameterSeparator extension attribute
- */
- public String getHttpQueryParameterSeparator();
-
- /**
- * @return String the {http content encoding default}, represented by the
whttp:contentEncodingDefault extension attribute
- */
- public String getHttpContentEncodingDefault();
-
-}
+ *
+ * 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.extensions.http;
+
+import org.apache.woden.wsdl20.extensions.ComponentExtensions;
+
+/**
+ * This interface represents the properties from the HTTP namespace
+ * added to the WSDL 2.0 <code>BindingOperation</code> component as part
+ * of the HTTP binding extension.
+ * <p>
+ * These include:
+ * <ul>
+ * <li>{http location}</li>
+ * <li>{http location ignore uncited}</li>
+ * <li>{http method}</li>
+ * <li>{http input serialization}</li>
+ * <li>{http output serialization}</li>
+ * <li>{http fault serialization}</li>
+ * <li>{http query parameter separator}</li>
+ * <li>{http content encoding default}</li>
+ * </ul>
+ *
+ * @author John Kaputin ([EMAIL PROTECTED])
+ * @author Arthur Ryman ([EMAIL PROTECTED], [EMAIL PROTECTED])
+ * - added support for {http location ignore uncited}
+ */
+public interface HTTPBindingOperationExtensions extends ComponentExtensions
+{
+ /**
+ * @return HTTPLocation the {http location} property, represented by the
whttp:location extension attribute
+ */
+ public HTTPLocation getHttpLocation();
+
+ /**
+ * @return Boolean the {http location ignore uncited} property,
represented by the whttp:ignoreUncited extension attribute
+ */
+ public Boolean isHttpLocationIgnoreUncited();
+
+ /**
+ * @return String the {http method} property, represented by the
whttp:method extension attribute
+ */
+ public String getHttpMethod();
+
+ /**
+ * @return String the {http input serialization} property, represented by
the whttp:inputSerialization extension attribute
+ */
+ public String getHttpInputSerialization();
+
+ /**
+ * @return String the {http output serialization} property, represented by
the whttp:outputSerialization extension attribute
+ */
+ public String getHttpOutputSerialization();
+
+ /**
+ * @return String the {http fault serialization} property, represented by
the whttp:faultSerialization extension attribute
+ */
+ public String getHttpFaultSerialization();
+
+ /**
+ * @return String the {http query parameter separator}, represented by the
whttp:queryParameterSeparator extension attribute
+ */
+ public String getHttpQueryParameterSeparator();
+
+ /**
+ * @return String the {http content encoding default}, represented by the
whttp:contentEncodingDefault extension attribute
+ */
+ public String getHttpContentEncodingDefault();
+
+}
Propchange:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPBindingOperationExtensions.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPEndpointExtensions.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPEndpointExtensions.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
---
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPEndpointExtensions.java
(original)
+++
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPEndpointExtensions.java
Thu Aug 23 04:01:23 2007
@@ -1,40 +1,40 @@
-/**
+/**
* 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.extensions.http;
-
-import org.apache.woden.wsdl20.extensions.ComponentExtensions;
-
-/**
- * This interface represents the properties from the HTTP namespace added to
the
- * WSDL 2.0 <code>Endpoint</code> component as part of the HTTP binding
- * extension.
- * <p>
- * These include:
- * <ul>
- * <li>{http authentication scheme}</li>
- * <li>{http authentication realm}</li>
- * </ul>
- *
- * @author Arthur Ryman ([EMAIL PROTECTED], [EMAIL PROTECTED])
- *
- */
-public interface HTTPEndpointExtensions extends ComponentExtensions {
-
- public HTTPAuthenticationScheme getHttpAuthenticationScheme();
-
- public String getHttpAuthenticationRealm();
-}
+ *
+ * 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.extensions.http;
+
+import org.apache.woden.wsdl20.extensions.ComponentExtensions;
+
+/**
+ * This interface represents the properties from the HTTP namespace added to
the
+ * WSDL 2.0 <code>Endpoint</code> component as part of the HTTP binding
+ * extension.
+ * <p>
+ * These include:
+ * <ul>
+ * <li>{http authentication scheme}</li>
+ * <li>{http authentication realm}</li>
+ * </ul>
+ *
+ * @author Arthur Ryman ([EMAIL PROTECTED], [EMAIL PROTECTED])
+ *
+ */
+public interface HTTPEndpointExtensions extends ComponentExtensions {
+
+ public HTTPAuthenticationScheme getHttpAuthenticationScheme();
+
+ public String getHttpAuthenticationRealm();
+}
Propchange:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPEndpointExtensions.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPErrorStatusCode.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPErrorStatusCode.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
---
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPErrorStatusCode.java
(original)
+++
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPErrorStatusCode.java
Thu Aug 23 04:01:23 2007
@@ -1,56 +1,56 @@
-/**
+/**
* 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.extensions.http;
-
-
-/**
- * This class represents the {http error status code} property that forms part
of the
- * HTTP extensions to the WSDL <code>BindingFault</code> component.
- * This property may contain either an integer representing the error status
code used
- * with this fault or the xs:token #any indicating that no claim is made by
the service
- * about the use of error status codes.
- * <p>
- * It provides methods to query whether the property specifies an error status
code
- * (i.e. an integer) and to retrieve the property value.
- *
- * @author John Kaputin ([EMAIL PROTECTED])
- */
-public class HTTPErrorStatusCode
-{
- private final String fToken;
- private final Integer fCode;
- public static final HTTPErrorStatusCode ANY = new
HTTPErrorStatusCode("#any");
-
- private HTTPErrorStatusCode(String token)
- {
- fToken = token;
- fCode = null;
- }
-
- public HTTPErrorStatusCode(Integer errorStatusCode)
- {
- fToken = null;
- fCode = errorStatusCode;
- }
-
- public boolean isCodeUsed() {return fCode != null;}
-
- public Integer getCode() {return fCode;}
-
- public String toString() {return isCodeUsed() ? fCode.toString() : fToken;}
-
-}
+ *
+ * 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.extensions.http;
+
+
+/**
+ * This class represents the {http error status code} property that forms part
of the
+ * HTTP extensions to the WSDL <code>BindingFault</code> component.
+ * This property may contain either an integer representing the error status
code used
+ * with this fault or the xs:token #any indicating that no claim is made by
the service
+ * about the use of error status codes.
+ * <p>
+ * It provides methods to query whether the property specifies an error status
code
+ * (i.e. an integer) and to retrieve the property value.
+ *
+ * @author John Kaputin ([EMAIL PROTECTED])
+ */
+public class HTTPErrorStatusCode
+{
+ private final String fToken;
+ private final Integer fCode;
+ public static final HTTPErrorStatusCode ANY = new
HTTPErrorStatusCode("#any");
+
+ private HTTPErrorStatusCode(String token)
+ {
+ fToken = token;
+ fCode = null;
+ }
+
+ public HTTPErrorStatusCode(Integer errorStatusCode)
+ {
+ fToken = null;
+ fCode = errorStatusCode;
+ }
+
+ public boolean isCodeUsed() {return fCode != null;}
+
+ public Integer getCode() {return fCode;}
+
+ public String toString() {return isCodeUsed() ? fCode.toString() : fToken;}
+
+}
Propchange:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPErrorStatusCode.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPHeader.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPHeader.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
---
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPHeader.java
(original)
+++
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPHeader.java
Thu Aug 23 04:01:23 2007
@@ -1,40 +1,40 @@
-/**
+/**
* 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.extensions.http;
-
-import org.apache.woden.wsdl20.TypeDefinition;
-import org.apache.woden.wsdl20.WSDLComponent;
-
-/**
- * This interface represents the HTTPHeader Component that can appear in the
- * optional {http headers} property of the WSDL 2.0 components BindingFault
- * and BindingMessageReference.
- *
- * @author John Kaputin ([EMAIL PROTECTED])
- */
-public interface HTTPHeader
-{
- public String getName();
-
- public TypeDefinition getTypeDefinition();
-
- public Boolean isRequired();
-
- public WSDLComponent getParent();
-
- public HTTPHeaderElement toElement();
-}
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.woden.wsdl20.extensions.http;
+
+import org.apache.woden.wsdl20.TypeDefinition;
+import org.apache.woden.wsdl20.WSDLComponent;
+
+/**
+ * This interface represents the HTTPHeader Component that can appear in the
+ * optional {http headers} property of the WSDL 2.0 components BindingFault
+ * and BindingMessageReference.
+ *
+ * @author John Kaputin ([EMAIL PROTECTED])
+ */
+public interface HTTPHeader
+{
+ public String getName();
+
+ public TypeDefinition getTypeDefinition();
+
+ public Boolean isRequired();
+
+ public WSDLComponent getParent();
+
+ public HTTPHeaderElement toElement();
+}
Propchange:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPHeader.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPHeaderElement.java
URL:
http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPHeaderElement.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
---
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPHeaderElement.java
(original)
+++
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPHeaderElement.java
Thu Aug 23 04:01:23 2007
@@ -1,55 +1,55 @@
-/**
+/**
* 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.extensions.http;
-
-import javax.xml.namespace.QName;
-
-import org.apache.woden.wsdl20.extensions.AttributeExtensible;
-import org.apache.woden.wsdl20.extensions.ElementExtensible;
-import org.apache.woden.wsdl20.extensions.ExtensionElement;
-import org.apache.woden.wsdl20.xml.DocumentationElement;
-import org.apache.woden.wsdl20.xml.WSDLElement;
-import org.apache.ws.commons.schema.XmlSchemaType;
-
-/**
- * This interface represents the <whttp:header> extension element that
- * can appear within a Binding Fault or Binding Message Reference.
- *
- * @author John Kaputin ([EMAIL PROTECTED])
- */
-public interface HTTPHeaderElement extends ExtensionElement,
- AttributeExtensible,
- ElementExtensible
-{
- public void setName(String name);
-
- public String getName();
-
- public void setTypeName(QName qname);
-
- public QName getTypeName();
-
- public XmlSchemaType getType();
-
- public void setParentElement(WSDLElement wsdlEl);
-
- public WSDLElement getParentElement();
-
- public void addDocumentationElement(DocumentationElement docEl);
-
- public DocumentationElement[] getDocumentationElements();
-}
+ *
+ * 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.extensions.http;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.wsdl20.extensions.AttributeExtensible;
+import org.apache.woden.wsdl20.extensions.ElementExtensible;
+import org.apache.woden.wsdl20.extensions.ExtensionElement;
+import org.apache.woden.wsdl20.xml.DocumentationElement;
+import org.apache.woden.wsdl20.xml.WSDLElement;
+import org.apache.ws.commons.schema.XmlSchemaType;
+
+/**
+ * This interface represents the <whttp:header> extension element that
+ * can appear within a Binding Fault or Binding Message Reference.
+ *
+ * @author John Kaputin ([EMAIL PROTECTED])
+ */
+public interface HTTPHeaderElement extends ExtensionElement,
+ AttributeExtensible,
+ ElementExtensible
+{
+ public void setName(String name);
+
+ public String getName();
+
+ public void setTypeName(QName qname);
+
+ public QName getTypeName();
+
+ public XmlSchemaType getType();
+
+ public void setParentElement(WSDLElement wsdlEl);
+
+ public WSDLElement getParentElement();
+
+ public void addDocumentationElement(DocumentationElement docEl);
+
+ public DocumentationElement[] getDocumentationElements();
+}
Propchange:
incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPHeaderElement.java
------------------------------------------------------------------------------
svn:eol-style = native
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]