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 [19/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...

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

Modified: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/WSDLReferenceImpl.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/WSDLReferenceImpl.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/WSDLReferenceImpl.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/WSDLReferenceImpl.java Thu Aug 23 04:01:23 2007
@@ -1,104 +1,104 @@
-/**
- * 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.internal.wsdl20;
-
-import java.net.URI;
-import java.util.List;
-import java.util.Vector;
-
-import org.apache.woden.wsdl20.xml.DescriptionElement;
-import org.apache.woden.wsdl20.xml.DocumentationElement;
-import org.apache.woden.wsdl20.xml.WSDLElement;
-
-/**
- * This abstract class defines the common behaviour for referencing WSDL
- * documents via the <wsdl:import> and <wsdl:include> elements.
- * It is extended by the concrete implementation classes for those two elements.
- * 
- * TODO consider whether to expose a WSDLReferenceElement interface on the API too
- * to provide a common handle for import and include elements (is there a use case?).
- * 
- * @author jkaputin@apache.org
- */
-public abstract class WSDLReferenceImpl extends DocumentableImpl 
-{
-    private List fDocumentationElements = new Vector();
-    private URI fLocation = null;
-    private DescriptionElement fDescriptionElement = null;
-    private WSDLElement fParentElem = null;
-
-    /* 
-     * package private, used only by factory methods in this package
-     */
-    void setParentElement(WSDLElement parent) {
-        fParentElem = parent;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.xml.NestedElement#getParentElement()
-     */
-    public WSDLElement getParentElement() {
-        return fParentElem;
-    }
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.xml.ImportElement#setLocation(java.net.URI)
-     */
-    public void setLocation(URI locURI) {
-        fLocation = locURI;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.xml.ImportElement#getLocation()
-     */
-    public URI getLocation() {
-        return fLocation;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.xml.ImportElement#setDescriptionElement(org.apache.woden.wsdl20.xml.DescriptionElement)
-     */
-    public void setDescriptionElement(DescriptionElement desc) {
-        fDescriptionElement = desc;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.xml.ImportElement#getDescriptionElement()
-     */
-    public DescriptionElement getDescriptionElement() {
-        return fDescriptionElement;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.xml.DocumentableElement#addDocumentationElement(org.apache.woden.wsdl20.xml.DocumentationElement)
-     */
-    public void addDocumentationElement(DocumentationElement docEl) 
-    {
-        if(docEl != null) {
-            fDocumentationElements.add(docEl);
-        }
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.xml.DocumentableElement#getDocumentationElements()
-     */
-    public DocumentationElement[] getDocumentationElements() {
-        DocumentationElement[] array = new DocumentationElement[fDocumentationElements.size()];
-        fDocumentationElements.toArray(array);
-        return array;
-    }
-
-}
+/**
+ * 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.internal.wsdl20;
+
+import java.net.URI;
+import java.util.List;
+import java.util.Vector;
+
+import org.apache.woden.wsdl20.xml.DescriptionElement;
+import org.apache.woden.wsdl20.xml.DocumentationElement;
+import org.apache.woden.wsdl20.xml.WSDLElement;
+
+/**
+ * This abstract class defines the common behaviour for referencing WSDL
+ * documents via the <wsdl:import> and <wsdl:include> elements.
+ * It is extended by the concrete implementation classes for those two elements.
+ * 
+ * TODO consider whether to expose a WSDLReferenceElement interface on the API too
+ * to provide a common handle for import and include elements (is there a use case?).
+ * 
+ * @author jkaputin@apache.org
+ */
+public abstract class WSDLReferenceImpl extends DocumentableImpl 
+{
+    private List fDocumentationElements = new Vector();
+    private URI fLocation = null;
+    private DescriptionElement fDescriptionElement = null;
+    private WSDLElement fParentElem = null;
+
+    /* 
+     * package private, used only by factory methods in this package
+     */
+    void setParentElement(WSDLElement parent) {
+        fParentElem = parent;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.xml.NestedElement#getParentElement()
+     */
+    public WSDLElement getParentElement() {
+        return fParentElem;
+    }
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.xml.ImportElement#setLocation(java.net.URI)
+     */
+    public void setLocation(URI locURI) {
+        fLocation = locURI;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.xml.ImportElement#getLocation()
+     */
+    public URI getLocation() {
+        return fLocation;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.xml.ImportElement#setDescriptionElement(org.apache.woden.wsdl20.xml.DescriptionElement)
+     */
+    public void setDescriptionElement(DescriptionElement desc) {
+        fDescriptionElement = desc;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.xml.ImportElement#getDescriptionElement()
+     */
+    public DescriptionElement getDescriptionElement() {
+        return fDescriptionElement;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.xml.DocumentableElement#addDocumentationElement(org.apache.woden.wsdl20.xml.DocumentationElement)
+     */
+    public void addDocumentationElement(DocumentationElement docEl) 
+    {
+        if(docEl != null) {
+            fDocumentationElements.add(docEl);
+        }
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.xml.DocumentableElement#getDocumentationElements()
+     */
+    public DocumentationElement[] getDocumentationElements() {
+        DocumentationElement[] array = new DocumentationElement[fDocumentationElements.size()];
+        fDocumentationElements.toArray(array);
+        return array;
+    }
+
+}

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

Modified: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/AttributeExtensibleImpl.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/AttributeExtensibleImpl.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/AttributeExtensibleImpl.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/AttributeExtensibleImpl.java Thu Aug 23 04:01:23 2007
@@ -1,133 +1,133 @@
-/**
+/**
  * 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.internal.wsdl20.extensions;
-
-import java.net.URI;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Vector;
-
-import javax.xml.namespace.QName;
-
-import org.apache.woden.wsdl20.extensions.AttributeExtensible;
-import org.apache.woden.xml.XMLAttr;
-
-/**
- * Common code for handling extension attributes. 
- * Can be reused by inheritance or by delegation.
- * 
- * @author jkaputin@ws.apache.org
- */
-public class AttributeExtensibleImpl implements AttributeExtensible 
-{
-    private Map fExtAttributes = new HashMap();
-
-    
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.AttributeExtensible#setExtensionAttribute(javax.xml.namespace.QName, org.apache.woden.xml.XMLAttr)
-     */
-    public void setExtensionAttribute(QName attrType, XMLAttr attr) 
-    {
-        if(attrType != null)  //TODO throw IllegArgExc if it is null?
-        {
-            if(attr != null) {
-                fExtAttributes.put(attrType, attr);
-            } else {
-                fExtAttributes.remove(attrType);
-            }
-        }
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.AttributeExtensible#getExtensionAttribute(javax.xml.namespace.QName)
-     */
-    public XMLAttr getExtensionAttribute(QName attrType) 
-    {
-        //TODO throw IllegArgExc if it is null?
-        if(attrType != null) {
-            return (XMLAttr)fExtAttributes.get(attrType);
-        } else {
-            return null;
-        }
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.AttributeExtensible#getExtensionAttributesForNamespace(java.net.URI)
-     */
-    public XMLAttr[] getExtensionAttributesForNamespace(URI namespace) 
-    {
-        if(namespace != null)
-        {
-            String extensionNS = namespace.toString();
-            List list = new Vector();
-            Collection coll = fExtAttributes.keySet();
-            for(Iterator i = coll.iterator(); i.hasNext();)
-            {
-                QName qn = (QName)i.next();
-                if(qn.getNamespaceURI().equals(extensionNS))
-                {
-                    list.add(fExtAttributes.get(qn));
-                }
-            }
-            XMLAttr[] array = new XMLAttr[list.size()];
-            list.toArray(array);
-            return array;
-        }
-        else
-        {
-            return new XMLAttr[0];
-        }
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.AttributeExtensible#getExtensionAttributes()
-     */
-    public XMLAttr[] getExtensionAttributes() 
-    {
-        Collection coll = fExtAttributes.values();
-        XMLAttr[] array = new XMLAttr[coll.size()];
-        coll.toArray(array);
-        return array;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.AttributeExtensible#hasExtensionAttributesForNamespace(javax.net.URI)
-     */
-    public boolean hasExtensionAttributesForNamespace(URI namespace)
-    {
-        boolean result = false;
-        if(namespace != null)
-        {
-            String extensionNS = namespace.toString();
-            Collection coll = fExtAttributes.keySet();
-            for(Iterator i = coll.iterator(); i.hasNext();)
-            {
-                QName qn = (QName)i.next();
-                if(extensionNS.equals(qn.getNamespaceURI()))
-                {
-                    result = true;
-                    break;
-                }
-            }
-        }
-        return result;
-    }
-    
-}
+ * 
+ *     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.internal.wsdl20.extensions;
+
+import java.net.URI;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.Vector;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.wsdl20.extensions.AttributeExtensible;
+import org.apache.woden.xml.XMLAttr;
+
+/**
+ * Common code for handling extension attributes. 
+ * Can be reused by inheritance or by delegation.
+ * 
+ * @author jkaputin@ws.apache.org
+ */
+public class AttributeExtensibleImpl implements AttributeExtensible 
+{
+    private Map fExtAttributes = new HashMap();
+
+    
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.AttributeExtensible#setExtensionAttribute(javax.xml.namespace.QName, org.apache.woden.xml.XMLAttr)
+     */
+    public void setExtensionAttribute(QName attrType, XMLAttr attr) 
+    {
+        if(attrType != null)  //TODO throw IllegArgExc if it is null?
+        {
+            if(attr != null) {
+                fExtAttributes.put(attrType, attr);
+            } else {
+                fExtAttributes.remove(attrType);
+            }
+        }
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.AttributeExtensible#getExtensionAttribute(javax.xml.namespace.QName)
+     */
+    public XMLAttr getExtensionAttribute(QName attrType) 
+    {
+        //TODO throw IllegArgExc if it is null?
+        if(attrType != null) {
+            return (XMLAttr)fExtAttributes.get(attrType);
+        } else {
+            return null;
+        }
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.AttributeExtensible#getExtensionAttributesForNamespace(java.net.URI)
+     */
+    public XMLAttr[] getExtensionAttributesForNamespace(URI namespace) 
+    {
+        if(namespace != null)
+        {
+            String extensionNS = namespace.toString();
+            List list = new Vector();
+            Collection coll = fExtAttributes.keySet();
+            for(Iterator i = coll.iterator(); i.hasNext();)
+            {
+                QName qn = (QName)i.next();
+                if(qn.getNamespaceURI().equals(extensionNS))
+                {
+                    list.add(fExtAttributes.get(qn));
+                }
+            }
+            XMLAttr[] array = new XMLAttr[list.size()];
+            list.toArray(array);
+            return array;
+        }
+        else
+        {
+            return new XMLAttr[0];
+        }
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.AttributeExtensible#getExtensionAttributes()
+     */
+    public XMLAttr[] getExtensionAttributes() 
+    {
+        Collection coll = fExtAttributes.values();
+        XMLAttr[] array = new XMLAttr[coll.size()];
+        coll.toArray(array);
+        return array;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.AttributeExtensible#hasExtensionAttributesForNamespace(javax.net.URI)
+     */
+    public boolean hasExtensionAttributesForNamespace(URI namespace)
+    {
+        boolean result = false;
+        if(namespace != null)
+        {
+            String extensionNS = namespace.toString();
+            Collection coll = fExtAttributes.keySet();
+            for(Iterator i = coll.iterator(); i.hasNext();)
+            {
+                QName qn = (QName)i.next();
+                if(extensionNS.equals(qn.getNamespaceURI()))
+                {
+                    result = true;
+                    break;
+                }
+            }
+        }
+        return result;
+    }
+    
+}

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

Modified: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ComponentExtensionsImpl.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ComponentExtensionsImpl.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ComponentExtensionsImpl.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ComponentExtensionsImpl.java Thu Aug 23 04:01:23 2007
@@ -1,60 +1,60 @@
-/**
+/**
  * 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.internal.wsdl20.extensions;
-
-import java.net.URI;
-
-import org.apache.woden.wsdl20.WSDLComponent;
-import org.apache.woden.wsdl20.extensions.ComponentExtensions;
-import org.apache.woden.wsdl20.xml.WSDLElement;
-
-/**
- * This class represents group of WSDL extension properties related to a particular binding type.
- * These extension properties may be derived from extension elements and attributes in a WSDL infoset. 
- * The only behaviour of this class is to return the namespace.
- * Implementations may extend this class to define behaviour specific to 
- * their required extensions.
- * 
- * @author John Kaputin (jkaputin@apache.org)
- */
-public abstract class ComponentExtensionsImpl implements ComponentExtensions 
-{
-    protected WSDLElement fParentElement = null;
-    
-    //TODO fParent added for http bindings. Refactor fParentElement to fParent.
-    protected WSDLComponent fParent = null;
-    
-    private URI fNamespace = null;
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.ComponentExtensions#getNamespace()
-     */
-    public URI getNamespace() {
-        return fNamespace;
-    }
-    
-    /* ************************************************************
-     *  Non-API implementation methods
-     * ************************************************************/
-
-    public void init(WSDLElement parentElement, URI namespace)
-    {
-        fParentElement = parentElement;
-        fParent = (WSDLComponent)fParentElement; //TODO see todo above about refactoring fParentElement to fParent
-        fNamespace = namespace;
-    }
-}
+ * 
+ *     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.internal.wsdl20.extensions;
+
+import java.net.URI;
+
+import org.apache.woden.wsdl20.WSDLComponent;
+import org.apache.woden.wsdl20.extensions.ComponentExtensions;
+import org.apache.woden.wsdl20.xml.WSDLElement;
+
+/**
+ * This class represents group of WSDL extension properties related to a particular binding type.
+ * These extension properties may be derived from extension elements and attributes in a WSDL infoset. 
+ * The only behaviour of this class is to return the namespace.
+ * Implementations may extend this class to define behaviour specific to 
+ * their required extensions.
+ * 
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public abstract class ComponentExtensionsImpl implements ComponentExtensions 
+{
+    protected WSDLElement fParentElement = null;
+    
+    //TODO fParent added for http bindings. Refactor fParentElement to fParent.
+    protected WSDLComponent fParent = null;
+    
+    private URI fNamespace = null;
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ComponentExtensions#getNamespace()
+     */
+    public URI getNamespace() {
+        return fNamespace;
+    }
+    
+    /* ************************************************************
+     *  Non-API implementation methods
+     * ************************************************************/
+
+    public void init(WSDLElement parentElement, URI namespace)
+    {
+        fParentElement = parentElement;
+        fParent = (WSDLComponent)fParentElement; //TODO see todo above about refactoring fParentElement to fParent
+        fNamespace = namespace;
+    }
+}

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

Modified: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ElementExtensibleImpl.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ElementExtensibleImpl.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ElementExtensibleImpl.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ElementExtensibleImpl.java Thu Aug 23 04:01:23 2007
@@ -1,114 +1,114 @@
-/**
+/**
  * 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.internal.wsdl20.extensions;
-
-import java.net.URI;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
-
-import javax.xml.namespace.QName;
-
-import org.apache.woden.wsdl20.extensions.ElementExtensible;
-import org.apache.woden.wsdl20.extensions.ExtensionElement;
-
-/**
- * Common code for handling extension elements. 
- * Can be reused by inheritance or by delegation.
- * 
- * @author jkaputin@ws.apache.org
- */
-public class ElementExtensibleImpl implements ElementExtensible 
-{
-    private List fExtElements = new Vector();
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.ElementExtensible#addExtensionElement(org.apache.woden.wsdl20.extensions.ExtensionElement)
-     */
-    public void addExtensionElement(ExtensionElement extEl) 
-    {
-        if(extEl != null) {
-            fExtElements.add(extEl);
-        }
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.ElementExtensible#removeExtensionElement(org.apache.woden.wsdl20.extensions.ExtensionElement)
-     */
-    public void removeExtensionElement(ExtensionElement extEl) 
-    {
-        fExtElements.remove(extEl);
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.ElementExtensible#getExtensionElements()
-     */
-    public ExtensionElement[] getExtensionElements() 
-    {
-        ExtensionElement[] array = new ExtensionElement[fExtElements.size()];
-        fExtElements.toArray(array);
-        return array;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.ElementExtensible#getExtensionElementsOfType(javax.xml.namespace.QName)
-     */
-    public ExtensionElement[] getExtensionElementsOfType(QName extType) 
-    {
-        List elements = new Vector();
-        
-        if(extType != null)
-        {
-            for(Iterator i=fExtElements.iterator(); i.hasNext();)
-            {
-                ExtensionElement extElem = (ExtensionElement)i.next();
-                if(extElem.getExtensionType().equals(extType))
-                {
-                    elements.add(extElem);
-                }
-            }
-        }
-        
-        ExtensionElement[] array = new ExtensionElement[elements.size()];
-        elements.toArray(array);
-        return array;
-    }
-    
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.ElementExtensible#hasExtensionElementsForNamespace(javax.net.URI)
-     */
-    public boolean hasExtensionElementsForNamespace(URI namespace)
-    {
-        boolean result = false;
-        if(namespace != null)
-        {
-            String extensionNS = namespace.toString();
-            for(Iterator i=fExtElements.iterator(); i.hasNext();)
-            {
-                ExtensionElement extElem = (ExtensionElement)i.next();
-                if(extensionNS.equals(extElem.getExtensionType().getNamespaceURI()))
-                {
-                    result = true;
-                    break;
-                }
-            }
-        }
-        return result;
-    }
-
-
-}
+ * 
+ *     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.internal.wsdl20.extensions;
+
+import java.net.URI;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Vector;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.wsdl20.extensions.ElementExtensible;
+import org.apache.woden.wsdl20.extensions.ExtensionElement;
+
+/**
+ * Common code for handling extension elements. 
+ * Can be reused by inheritance or by delegation.
+ * 
+ * @author jkaputin@ws.apache.org
+ */
+public class ElementExtensibleImpl implements ElementExtensible 
+{
+    private List fExtElements = new Vector();
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ElementExtensible#addExtensionElement(org.apache.woden.wsdl20.extensions.ExtensionElement)
+     */
+    public void addExtensionElement(ExtensionElement extEl) 
+    {
+        if(extEl != null) {
+            fExtElements.add(extEl);
+        }
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ElementExtensible#removeExtensionElement(org.apache.woden.wsdl20.extensions.ExtensionElement)
+     */
+    public void removeExtensionElement(ExtensionElement extEl) 
+    {
+        fExtElements.remove(extEl);
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ElementExtensible#getExtensionElements()
+     */
+    public ExtensionElement[] getExtensionElements() 
+    {
+        ExtensionElement[] array = new ExtensionElement[fExtElements.size()];
+        fExtElements.toArray(array);
+        return array;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ElementExtensible#getExtensionElementsOfType(javax.xml.namespace.QName)
+     */
+    public ExtensionElement[] getExtensionElementsOfType(QName extType) 
+    {
+        List elements = new Vector();
+        
+        if(extType != null)
+        {
+            for(Iterator i=fExtElements.iterator(); i.hasNext();)
+            {
+                ExtensionElement extElem = (ExtensionElement)i.next();
+                if(extElem.getExtensionType().equals(extType))
+                {
+                    elements.add(extElem);
+                }
+            }
+        }
+        
+        ExtensionElement[] array = new ExtensionElement[elements.size()];
+        elements.toArray(array);
+        return array;
+    }
+    
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ElementExtensible#hasExtensionElementsForNamespace(javax.net.URI)
+     */
+    public boolean hasExtensionElementsForNamespace(URI namespace)
+    {
+        boolean result = false;
+        if(namespace != null)
+        {
+            String extensionNS = namespace.toString();
+            for(Iterator i=fExtElements.iterator(); i.hasNext();)
+            {
+                ExtensionElement extElem = (ExtensionElement)i.next();
+                if(extensionNS.equals(extElem.getExtensionType().getNamespaceURI()))
+                {
+                    result = true;
+                    break;
+                }
+            }
+        }
+        return result;
+    }
+
+
+}

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

Modified: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ExtensionConstants.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ExtensionConstants.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ExtensionConstants.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ExtensionConstants.java Thu Aug 23 04:01:23 2007
@@ -1,45 +1,45 @@
-/**
+/**
  * 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.internal.wsdl20.extensions;
-
-import javax.xml.namespace.QName;
-
-/**
- * Constants for predefined WSDL extensions.
- * 
- * @author Arthur Ryman (ryman@ca.ibm.com)
- */
-public class ExtensionConstants {
-
-	// Namespace URI
-
-	public static final String NS_URI_WSDL_EXTENSIONS = "http://www.w3.org/ns/wsdl-extensions";
-
-	// Attribute name
-
-	public static final String ATTR_SAFE = "safe";
-
-	// Prefix
-
-	public static final String PFX_WSDL_EXTENSIONS = "wsdlx";
-
-	// Qualified attribute name
-
-	public static final QName Q_ATTR_SAFE = new QName(
-			NS_URI_WSDL_EXTENSIONS, ATTR_SAFE, PFX_WSDL_EXTENSIONS);
-
-}
+ * 
+ *     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.internal.wsdl20.extensions;
+
+import javax.xml.namespace.QName;
+
+/**
+ * Constants for predefined WSDL extensions.
+ * 
+ * @author Arthur Ryman (ryman@ca.ibm.com)
+ */
+public class ExtensionConstants {
+
+	// Namespace URI
+
+	public static final String NS_URI_WSDL_EXTENSIONS = "http://www.w3.org/ns/wsdl-extensions";
+
+	// Attribute name
+
+	public static final String ATTR_SAFE = "safe";
+
+	// Prefix
+
+	public static final String PFX_WSDL_EXTENSIONS = "wsdlx";
+
+	// Qualified attribute name
+
+	public static final QName Q_ATTR_SAFE = new QName(
+			NS_URI_WSDL_EXTENSIONS, ATTR_SAFE, PFX_WSDL_EXTENSIONS);
+
+}

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

Modified: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ExtensionElementImpl.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ExtensionElementImpl.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ExtensionElementImpl.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/ExtensionElementImpl.java Thu Aug 23 04:01:23 2007
@@ -1,62 +1,62 @@
-/**
+/**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0 
- * 
- * Unless required by applicable law or agreed to in writing, software 
- * distributed under the License is distributed on an "AS IS" BASIS, 
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
- * See the License for the specific language governing permissions and 
- * limitations under the License.
- */
-package org.apache.woden.internal.wsdl20.extensions;
-
-import javax.xml.namespace.QName;
-
-import org.apache.woden.wsdl20.extensions.ExtensionElement;
-
-/**
- * Common code for extension elements. 
- * 
- * @author jkaputin@ws.apache.org
- */
-public class ExtensionElementImpl implements ExtensionElement 
-{
-    private QName fExtElementType = null;
-    private Boolean fRequired = null;
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.ExtensionElement#setExtensionType(javax.xml.namespace.QName)
-     */
-    public void setExtensionType(QName qname) {
-        fExtElementType = qname;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.ExtensionElement#getExtensionType()
-     */
-    public QName getExtensionType() {
-        return fExtElementType;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.ExtensionElement#setRequired(java.lang.Boolean)
-     */
-    public void setRequired(Boolean required) {
-        fRequired = required;
-
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.ExtensionElement#isRequired()
-     */
-    public Boolean isRequired() {
-        return fRequired;
-    }
-
-}
+ * 
+ *     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.internal.wsdl20.extensions;
+
+import javax.xml.namespace.QName;
+
+import org.apache.woden.wsdl20.extensions.ExtensionElement;
+
+/**
+ * Common code for extension elements. 
+ * 
+ * @author jkaputin@ws.apache.org
+ */
+public class ExtensionElementImpl implements ExtensionElement 
+{
+    private QName fExtElementType = null;
+    private Boolean fRequired = null;
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ExtensionElement#setExtensionType(javax.xml.namespace.QName)
+     */
+    public void setExtensionType(QName qname) {
+        fExtElementType = qname;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ExtensionElement#getExtensionType()
+     */
+    public QName getExtensionType() {
+        return fExtElementType;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ExtensionElement#setRequired(java.lang.Boolean)
+     */
+    public void setRequired(Boolean required) {
+        fRequired = required;
+
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.ExtensionElement#isRequired()
+     */
+    public Boolean isRequired() {
+        return fRequired;
+    }
+
+}

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

Modified: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/InterfaceOperationExtensionsImpl.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/InterfaceOperationExtensionsImpl.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/InterfaceOperationExtensionsImpl.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/InterfaceOperationExtensionsImpl.java Thu Aug 23 04:01:23 2007
@@ -1,39 +1,39 @@
-/**
+/**
  * 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.internal.wsdl20.extensions;
-
-import org.apache.woden.wsdl20.extensions.InterfaceOperationExtensions;
-import org.apache.woden.xml.BooleanAttr;
-
-/**
- * This class defines the properties from the WSDL extensions namespace added to
- * the WSDL <code>Interface Operation</code> component as part of the WSDL
- * extension defined by the WSDL 2.0 spec.
- * 
- * @author Arthur Ryman (ryman@ca.ibm.com)
- */
-
-public class InterfaceOperationExtensionsImpl extends ComponentExtensionsImpl
-		implements InterfaceOperationExtensions {
-
-	public boolean isSafety() {
-
-		BooleanAttr safe = 
-            (BooleanAttr)fParentElement.getExtensionAttribute(ExtensionConstants.Q_ATTR_SAFE);
-        return safe != null ? safe.getBoolean().booleanValue() : false;
-	}
-}
+ * 
+ *     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.internal.wsdl20.extensions;
+
+import org.apache.woden.wsdl20.extensions.InterfaceOperationExtensions;
+import org.apache.woden.xml.BooleanAttr;
+
+/**
+ * This class defines the properties from the WSDL extensions namespace added to
+ * the WSDL <code>Interface Operation</code> component as part of the WSDL
+ * extension defined by the WSDL 2.0 spec.
+ * 
+ * @author Arthur Ryman (ryman@ca.ibm.com)
+ */
+
+public class InterfaceOperationExtensionsImpl extends ComponentExtensionsImpl
+		implements InterfaceOperationExtensions {
+
+	public boolean isSafety() {
+
+		BooleanAttr safe = 
+            (BooleanAttr)fParentElement.getExtensionAttribute(ExtensionConstants.Q_ATTR_SAFE);
+        return safe != null ? safe.getBoolean().booleanValue() : false;
+	}
+}

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

Modified: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/PopulatedExtensionRegistry.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/PopulatedExtensionRegistry.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/PopulatedExtensionRegistry.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/PopulatedExtensionRegistry.java Thu Aug 23 04:01:23 2007
@@ -1,329 +1,329 @@
-/**
+/**
  * 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.internal.wsdl20.extensions;
-
-import org.apache.woden.ErrorReporter;
-import org.apache.woden.internal.WSDLContext;
-import org.apache.woden.internal.wsdl20.extensions.http.HTTPBindingExtensionsImpl;
-import org.apache.woden.internal.wsdl20.extensions.http.HTTPBindingFaultExtensionsImpl;
-import org.apache.woden.internal.wsdl20.extensions.http.HTTPBindingMessageReferenceExtensionsImpl;
-import org.apache.woden.internal.wsdl20.extensions.http.HTTPBindingOperationExtensionsImpl;
-import org.apache.woden.internal.wsdl20.extensions.http.HTTPConstants;
-import org.apache.woden.internal.wsdl20.extensions.http.HTTPEndpointExtensionsImpl;
-import org.apache.woden.internal.wsdl20.extensions.http.HTTPHeaderDeserializer;
-import org.apache.woden.internal.wsdl20.extensions.http.HTTPHeaderImpl;
-import org.apache.woden.internal.wsdl20.extensions.rpc.RPCConstants;
-import org.apache.woden.internal.wsdl20.extensions.rpc.RPCInterfaceOperationExtensionsImpl;
-import org.apache.woden.internal.wsdl20.extensions.soap.SOAPBindingExtensionsImpl;
-import org.apache.woden.internal.wsdl20.extensions.soap.SOAPBindingFaultExtensionsImpl;
-import org.apache.woden.internal.wsdl20.extensions.soap.SOAPBindingFaultReferenceExtensionsImpl;
-import org.apache.woden.internal.wsdl20.extensions.soap.SOAPBindingMessageReferenceExtensionsImpl;
-import org.apache.woden.internal.wsdl20.extensions.soap.SOAPBindingOperationExtensionsImpl;
-import org.apache.woden.internal.wsdl20.extensions.soap.SOAPConstants;
-import org.apache.woden.internal.wsdl20.extensions.soap.SOAPEndpointExtensionsImpl;
-import org.apache.woden.internal.wsdl20.extensions.soap.SOAPHeaderBlockDeserializer;
-import org.apache.woden.internal.wsdl20.extensions.soap.SOAPHeaderBlockImpl;
-import org.apache.woden.internal.wsdl20.extensions.soap.SOAPModuleDeserializer;
-import org.apache.woden.internal.wsdl20.extensions.soap.SOAPModuleImpl;
-import org.apache.woden.internal.xml.ArgumentArrayAttrImpl;
-import org.apache.woden.internal.xml.BooleanAttrImpl;
-import org.apache.woden.internal.xml.HTTPAuthenticationSchemeAttrImpl;
-import org.apache.woden.internal.xml.IntOrTokenAnyAttrImpl;
-import org.apache.woden.internal.xml.QNameListOrTokenAnyAttrImpl;
-import org.apache.woden.internal.xml.QNameOrTokenAnyAttrImpl;
-import org.apache.woden.internal.xml.StringAttrImpl;
-import org.apache.woden.internal.xml.URIAttrImpl;
-import org.apache.woden.wsdl20.Binding;
-import org.apache.woden.wsdl20.BindingFault;
-import org.apache.woden.wsdl20.BindingFaultReference;
-import org.apache.woden.wsdl20.BindingMessageReference;
-import org.apache.woden.wsdl20.BindingOperation;
-import org.apache.woden.wsdl20.Endpoint;
-import org.apache.woden.wsdl20.InterfaceOperation;
-import org.apache.woden.wsdl20.extensions.ComponentExtensions;
-import org.apache.woden.wsdl20.extensions.ExtensionRegistry;
-import org.apache.woden.wsdl20.xml.BindingElement;
-import org.apache.woden.wsdl20.xml.BindingFaultElement;
-import org.apache.woden.wsdl20.xml.BindingFaultReferenceElement;
-import org.apache.woden.wsdl20.xml.BindingMessageReferenceElement;
-import org.apache.woden.wsdl20.xml.BindingOperationElement;
-import org.apache.woden.wsdl20.xml.EndpointElement;
-import org.apache.woden.wsdl20.xml.InterfaceOperationElement;
-
-/**
- * This class extends ExtensionRegistry and pre-registers
- * serializers/deserializers for the SOAP, HTTP and MIME extensions. Java impl
- * types are also registered for all the SOAP and HTTP extensions defined in the
- * WSDL 2.0 Spec.
- * 
- * This class was copied from WSDL4J and modified for Woden.
- * 
- * @author Matthew J. Duftler (duftler@us.ibm.com)
- * @author John Kaputin (jkaputin@apache.org) - Woden changes
- * @author Arthur Ryman (ryman@ca.ibm.com, arthur.ryman@gmail.com) - added
- *         wsdlx:safe and wrpc:signature to Interface Operation, - added
- *         HTTPAuthenticationSchemeAttrImpl
- */
-public class PopulatedExtensionRegistry extends ExtensionRegistry {
-
-    final private WSDLContext fWsdlContext;
-    
-	public PopulatedExtensionRegistry(WSDLContext wsdlContext) {
-        
-        super(wsdlContext.errorReporter);
-        fWsdlContext = wsdlContext;
-        
-		// ------------ Default type for unregistered extension attributes
-		// ------------
-
-		/*
-		 * If a default XMLAttr type other than UnknownAttr is to be used for
-		 * unregisterd attributes, uncomment this code and replace <someAttr>
-		 * with the default type. registerExtAttributeType(WSDLElement.class,
-		 * new QName("http://ws.apache.org/woden", "DefaultAttr"),
-		 * <someAttr>Impl.class);
-		 */
-
-		// ------------ WSDL extension attributes ------------
-		registerExtAttributeType(InterfaceOperationElement.class,
-				ExtensionConstants.Q_ATTR_SAFE, BooleanAttrImpl.class);
-
-		// ------------ WSDL Component Extensions ------------
-
-		registerComponentExtension(InterfaceOperation.class,
-				ComponentExtensions.URI_NS_EXTENSIONS,
-				InterfaceOperationExtensionsImpl.class);
-
-		// ------------ RPC extension attributes ------------
-
-		registerExtAttributeType(InterfaceOperationElement.class,
-				RPCConstants.Q_ATTR_RPC_SIGNATURE, ArgumentArrayAttrImpl.class);
-
-		// ------------ RPC Component Extensions ------------
-		registerComponentExtension(InterfaceOperation.class,
-				ComponentExtensions.URI_NS_RPC,
-				RPCInterfaceOperationExtensionsImpl.class);
-
-		// ------------ SOAP extension attributes ------------
-
-		registerExtAttributeType(BindingElement.class,
-				SOAPConstants.Q_ATTR_SOAP_VERSION, StringAttrImpl.class);
-
-		registerExtAttributeType(BindingElement.class,
-				SOAPConstants.Q_ATTR_SOAP_PROTOCOL, URIAttrImpl.class);
-
-		registerExtAttributeType(BindingElement.class,
-				SOAPConstants.Q_ATTR_SOAP_MEPDEFAULT, URIAttrImpl.class);
-
-		registerExtAttributeType(BindingFaultElement.class,
-				SOAPConstants.Q_ATTR_SOAP_CODE, QNameOrTokenAnyAttrImpl.class);
-
-		registerExtAttributeType(BindingFaultElement.class,
-				SOAPConstants.Q_ATTR_SOAP_SUBCODES,
-				QNameListOrTokenAnyAttrImpl.class);
-
-		registerExtAttributeType(BindingOperationElement.class,
-				SOAPConstants.Q_ATTR_SOAP_MEP, URIAttrImpl.class);
-
-		registerExtAttributeType(BindingOperationElement.class,
-				SOAPConstants.Q_ATTR_SOAP_ACTION, URIAttrImpl.class);
-
-		// ------------ SOAPModule extension elements ------------
-
-		SOAPModuleDeserializer soapModuleDeser = new SOAPModuleDeserializer();
-
-		// registerSerializer(BindingElement.class,
-		// SOAPConstants.Q_ELEM_SOAP_MODULE,
-		// <serializer to be implemented>);
-		registerDeserializer(BindingElement.class,
-				SOAPConstants.Q_ELEM_SOAP_MODULE, soapModuleDeser);
-		registerExtElementType(BindingElement.class,
-				SOAPConstants.Q_ELEM_SOAP_MODULE, SOAPModuleImpl.class);
-
-		registerDeserializer(BindingFaultElement.class,
-				SOAPConstants.Q_ELEM_SOAP_MODULE, soapModuleDeser);
-		registerExtElementType(BindingFaultElement.class,
-				SOAPConstants.Q_ELEM_SOAP_MODULE, SOAPModuleImpl.class);
-
-		registerDeserializer(BindingOperationElement.class,
-				SOAPConstants.Q_ELEM_SOAP_MODULE, soapModuleDeser);
-		registerExtElementType(BindingOperationElement.class,
-				SOAPConstants.Q_ELEM_SOAP_MODULE, SOAPModuleImpl.class);
-
-		registerDeserializer(BindingMessageReferenceElement.class,
-				SOAPConstants.Q_ELEM_SOAP_MODULE, soapModuleDeser);
-		registerExtElementType(BindingMessageReferenceElement.class,
-				SOAPConstants.Q_ELEM_SOAP_MODULE, SOAPModuleImpl.class);
-
-		registerDeserializer(BindingFaultReferenceElement.class,
-				SOAPConstants.Q_ELEM_SOAP_MODULE, soapModuleDeser);
-		registerExtElementType(BindingFaultReferenceElement.class,
-				SOAPConstants.Q_ELEM_SOAP_MODULE, SOAPModuleImpl.class);
-
-		// ------------ SOAPHeaderBlock extension elements ------------
-
-		SOAPHeaderBlockDeserializer soapHeaderBlockDeser = new SOAPHeaderBlockDeserializer();
-
-		// registerSerializer(BindingFaultElement.class,
-		// SOAPConstants.Q_ELEM_SOAP_HEADER,
-		// <serializer to be implemented>);
-		registerDeserializer(BindingFaultElement.class,
-				SOAPConstants.Q_ELEM_SOAP_HEADER, soapHeaderBlockDeser);
-		registerExtElementType(BindingFaultElement.class,
-				SOAPConstants.Q_ELEM_SOAP_HEADER, SOAPHeaderBlockImpl.class);
-
-		// registerSerializer(BindingMessageReferenceElement.class,
-		// SOAPConstants.Q_ELEM_SOAP_HEADER,
-		// <serializer to be implemented>);
-		registerDeserializer(BindingMessageReferenceElement.class,
-				SOAPConstants.Q_ELEM_SOAP_HEADER, soapHeaderBlockDeser);
-		registerExtElementType(BindingMessageReferenceElement.class,
-				SOAPConstants.Q_ELEM_SOAP_HEADER, SOAPHeaderBlockImpl.class);
-
-		// ------------ SOAP Component Extensions ------------
-
-		registerComponentExtension(Binding.class,
-				ComponentExtensions.URI_NS_SOAP,
-				SOAPBindingExtensionsImpl.class);
-
-		registerComponentExtension(BindingFault.class,
-				ComponentExtensions.URI_NS_SOAP,
-				SOAPBindingFaultExtensionsImpl.class);
-
-		registerComponentExtension(BindingOperation.class,
-				ComponentExtensions.URI_NS_SOAP,
-				SOAPBindingOperationExtensionsImpl.class);
-
-		registerComponentExtension(BindingMessageReference.class,
-				ComponentExtensions.URI_NS_SOAP,
-				SOAPBindingMessageReferenceExtensionsImpl.class);
-
-		registerComponentExtension(BindingFaultReference.class,
-				ComponentExtensions.URI_NS_SOAP,
-				SOAPBindingFaultReferenceExtensionsImpl.class);
-
-        registerComponentExtension(Endpoint.class,
-                ComponentExtensions.URI_NS_SOAP,
-                SOAPEndpointExtensionsImpl.class);
-
-		// ------------ HTTP extension attributes ------------
-
-		registerExtAttributeType(BindingElement.class,
-				HTTPConstants.Q_ATTR_METHOD_DEFAULT, StringAttrImpl.class);
-
-		registerExtAttributeType(BindingElement.class,
-				HTTPConstants.Q_ATTR_QUERY_PARAMETER_SEPARATOR_DEFAULT,
-				StringAttrImpl.class);
-
-		registerExtAttributeType(BindingElement.class,
-				HTTPConstants.Q_ATTR_COOKIES, BooleanAttrImpl.class);
-
-		registerExtAttributeType(BindingElement.class,
-				HTTPConstants.Q_ATTR_CONTENT_ENCODING_DEFAULT,
-				StringAttrImpl.class);
-
-		registerExtAttributeType(BindingFaultElement.class,
-				HTTPConstants.Q_ATTR_CODE, IntOrTokenAnyAttrImpl.class);
-
-		registerExtAttributeType(BindingFaultElement.class,
-				HTTPConstants.Q_ATTR_CONTENT_ENCODING, StringAttrImpl.class);
-
-		registerExtAttributeType(BindingOperationElement.class,
-				HTTPConstants.Q_ATTR_LOCATION, StringAttrImpl.class);
-
-		registerExtAttributeType(BindingOperationElement.class,
-				HTTPConstants.Q_ATTR_IGNORE_UNCITED, BooleanAttrImpl.class);
-
-		registerExtAttributeType(BindingOperationElement.class,
-				HTTPConstants.Q_ATTR_METHOD, StringAttrImpl.class);
-
-		registerExtAttributeType(BindingOperationElement.class,
-				HTTPConstants.Q_ATTR_INPUT_SERIALIZATION, StringAttrImpl.class);
-
-		registerExtAttributeType(BindingOperationElement.class,
-				HTTPConstants.Q_ATTR_OUTPUT_SERIALIZATION, StringAttrImpl.class);
-
-		registerExtAttributeType(BindingOperationElement.class,
-				HTTPConstants.Q_ATTR_FAULT_SERIALIZATION, StringAttrImpl.class);
-
-		registerExtAttributeType(BindingOperationElement.class,
-				HTTPConstants.Q_ATTR_QUERY_PARAMETER_SEPARATOR,
-				StringAttrImpl.class);
-
-		registerExtAttributeType(BindingOperationElement.class,
-				HTTPConstants.Q_ATTR_CONTENT_ENCODING_DEFAULT,
-				StringAttrImpl.class);
-
-		registerExtAttributeType(BindingMessageReferenceElement.class,
-				HTTPConstants.Q_ATTR_CONTENT_ENCODING, StringAttrImpl.class);
-
-		registerExtAttributeType(EndpointElement.class,
-				HTTPConstants.Q_ATTR_AUTHENTICATION_SCHEME,
-				HTTPAuthenticationSchemeAttrImpl.class);
-
-		registerExtAttributeType(EndpointElement.class,
-				HTTPConstants.Q_ATTR_AUTHENTICATION_REALM, StringAttrImpl.class);
-
-		// ------------ HTTPHeader extension elements ------------
-
-		HTTPHeaderDeserializer httpHeaderDeser = new HTTPHeaderDeserializer();
-
-		// registerSerializer(BindingFaultElement.class,
-		// HTTPConstants.Q_ELEM_HTTP_HEADER,
-		// <serializer to be implemented>);
-		registerDeserializer(BindingFaultElement.class,
-				HTTPConstants.Q_ELEM_HTTP_HEADER, httpHeaderDeser);
-		registerExtElementType(BindingFaultElement.class,
-				HTTPConstants.Q_ELEM_HTTP_HEADER, HTTPHeaderImpl.class);
-
-        // registerSerializer(BindingMessageReferenceElement.class,
-        // HTTPConstants.Q_ELEM_HTTP_HEADER,
-        // <serializer to be implemented>);
-        registerDeserializer(BindingMessageReferenceElement.class,
-                HTTPConstants.Q_ELEM_HTTP_HEADER, httpHeaderDeser);
-        registerExtElementType(BindingMessageReferenceElement.class,
-                HTTPConstants.Q_ELEM_HTTP_HEADER, HTTPHeaderImpl.class);
-
-		// ------------ HTTP Component Extensions ------------
-
-		registerComponentExtension(Binding.class,
-				ComponentExtensions.URI_NS_HTTP,
-				HTTPBindingExtensionsImpl.class);
-
-		registerComponentExtension(BindingFault.class,
-				ComponentExtensions.URI_NS_HTTP,
-				HTTPBindingFaultExtensionsImpl.class);
-
-		registerComponentExtension(BindingOperation.class,
-				ComponentExtensions.URI_NS_HTTP,
-				HTTPBindingOperationExtensionsImpl.class);
-
-		registerComponentExtension(BindingMessageReference.class,
-				ComponentExtensions.URI_NS_HTTP,
-				HTTPBindingMessageReferenceExtensionsImpl.class);
-
-		registerComponentExtension(Endpoint.class,
-				ComponentExtensions.URI_NS_HTTP,
-				HTTPEndpointExtensionsImpl.class);
-
-	}
-    
-    public ErrorReporter getErrorReporter()
-    {
-        return fWsdlContext.errorReporter;
-    }
+ * 
+ *     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.internal.wsdl20.extensions;
+
+import org.apache.woden.ErrorReporter;
+import org.apache.woden.internal.WSDLContext;
+import org.apache.woden.internal.wsdl20.extensions.http.HTTPBindingExtensionsImpl;
+import org.apache.woden.internal.wsdl20.extensions.http.HTTPBindingFaultExtensionsImpl;
+import org.apache.woden.internal.wsdl20.extensions.http.HTTPBindingMessageReferenceExtensionsImpl;
+import org.apache.woden.internal.wsdl20.extensions.http.HTTPBindingOperationExtensionsImpl;
+import org.apache.woden.internal.wsdl20.extensions.http.HTTPConstants;
+import org.apache.woden.internal.wsdl20.extensions.http.HTTPEndpointExtensionsImpl;
+import org.apache.woden.internal.wsdl20.extensions.http.HTTPHeaderDeserializer;
+import org.apache.woden.internal.wsdl20.extensions.http.HTTPHeaderImpl;
+import org.apache.woden.internal.wsdl20.extensions.rpc.RPCConstants;
+import org.apache.woden.internal.wsdl20.extensions.rpc.RPCInterfaceOperationExtensionsImpl;
+import org.apache.woden.internal.wsdl20.extensions.soap.SOAPBindingExtensionsImpl;
+import org.apache.woden.internal.wsdl20.extensions.soap.SOAPBindingFaultExtensionsImpl;
+import org.apache.woden.internal.wsdl20.extensions.soap.SOAPBindingFaultReferenceExtensionsImpl;
+import org.apache.woden.internal.wsdl20.extensions.soap.SOAPBindingMessageReferenceExtensionsImpl;
+import org.apache.woden.internal.wsdl20.extensions.soap.SOAPBindingOperationExtensionsImpl;
+import org.apache.woden.internal.wsdl20.extensions.soap.SOAPConstants;
+import org.apache.woden.internal.wsdl20.extensions.soap.SOAPEndpointExtensionsImpl;
+import org.apache.woden.internal.wsdl20.extensions.soap.SOAPHeaderBlockDeserializer;
+import org.apache.woden.internal.wsdl20.extensions.soap.SOAPHeaderBlockImpl;
+import org.apache.woden.internal.wsdl20.extensions.soap.SOAPModuleDeserializer;
+import org.apache.woden.internal.wsdl20.extensions.soap.SOAPModuleImpl;
+import org.apache.woden.internal.xml.ArgumentArrayAttrImpl;
+import org.apache.woden.internal.xml.BooleanAttrImpl;
+import org.apache.woden.internal.xml.HTTPAuthenticationSchemeAttrImpl;
+import org.apache.woden.internal.xml.IntOrTokenAnyAttrImpl;
+import org.apache.woden.internal.xml.QNameListOrTokenAnyAttrImpl;
+import org.apache.woden.internal.xml.QNameOrTokenAnyAttrImpl;
+import org.apache.woden.internal.xml.StringAttrImpl;
+import org.apache.woden.internal.xml.URIAttrImpl;
+import org.apache.woden.wsdl20.Binding;
+import org.apache.woden.wsdl20.BindingFault;
+import org.apache.woden.wsdl20.BindingFaultReference;
+import org.apache.woden.wsdl20.BindingMessageReference;
+import org.apache.woden.wsdl20.BindingOperation;
+import org.apache.woden.wsdl20.Endpoint;
+import org.apache.woden.wsdl20.InterfaceOperation;
+import org.apache.woden.wsdl20.extensions.ComponentExtensions;
+import org.apache.woden.wsdl20.extensions.ExtensionRegistry;
+import org.apache.woden.wsdl20.xml.BindingElement;
+import org.apache.woden.wsdl20.xml.BindingFaultElement;
+import org.apache.woden.wsdl20.xml.BindingFaultReferenceElement;
+import org.apache.woden.wsdl20.xml.BindingMessageReferenceElement;
+import org.apache.woden.wsdl20.xml.BindingOperationElement;
+import org.apache.woden.wsdl20.xml.EndpointElement;
+import org.apache.woden.wsdl20.xml.InterfaceOperationElement;
+
+/**
+ * This class extends ExtensionRegistry and pre-registers
+ * serializers/deserializers for the SOAP, HTTP and MIME extensions. Java impl
+ * types are also registered for all the SOAP and HTTP extensions defined in the
+ * WSDL 2.0 Spec.
+ * 
+ * This class was copied from WSDL4J and modified for Woden.
+ * 
+ * @author Matthew J. Duftler (duftler@us.ibm.com)
+ * @author John Kaputin (jkaputin@apache.org) - Woden changes
+ * @author Arthur Ryman (ryman@ca.ibm.com, arthur.ryman@gmail.com) - added
+ *         wsdlx:safe and wrpc:signature to Interface Operation, - added
+ *         HTTPAuthenticationSchemeAttrImpl
+ */
+public class PopulatedExtensionRegistry extends ExtensionRegistry {
+
+    final private WSDLContext fWsdlContext;
+    
+	public PopulatedExtensionRegistry(WSDLContext wsdlContext) {
+        
+        super(wsdlContext.errorReporter);
+        fWsdlContext = wsdlContext;
+        
+		// ------------ Default type for unregistered extension attributes
+		// ------------
+
+		/*
+		 * If a default XMLAttr type other than UnknownAttr is to be used for
+		 * unregisterd attributes, uncomment this code and replace <someAttr>
+		 * with the default type. registerExtAttributeType(WSDLElement.class,
+		 * new QName("http://ws.apache.org/woden", "DefaultAttr"),
+		 * <someAttr>Impl.class);
+		 */
+
+		// ------------ WSDL extension attributes ------------
+		registerExtAttributeType(InterfaceOperationElement.class,
+				ExtensionConstants.Q_ATTR_SAFE, BooleanAttrImpl.class);
+
+		// ------------ WSDL Component Extensions ------------
+
+		registerComponentExtension(InterfaceOperation.class,
+				ComponentExtensions.URI_NS_EXTENSIONS,
+				InterfaceOperationExtensionsImpl.class);
+
+		// ------------ RPC extension attributes ------------
+
+		registerExtAttributeType(InterfaceOperationElement.class,
+				RPCConstants.Q_ATTR_RPC_SIGNATURE, ArgumentArrayAttrImpl.class);
+
+		// ------------ RPC Component Extensions ------------
+		registerComponentExtension(InterfaceOperation.class,
+				ComponentExtensions.URI_NS_RPC,
+				RPCInterfaceOperationExtensionsImpl.class);
+
+		// ------------ SOAP extension attributes ------------
+
+		registerExtAttributeType(BindingElement.class,
+				SOAPConstants.Q_ATTR_SOAP_VERSION, StringAttrImpl.class);
+
+		registerExtAttributeType(BindingElement.class,
+				SOAPConstants.Q_ATTR_SOAP_PROTOCOL, URIAttrImpl.class);
+
+		registerExtAttributeType(BindingElement.class,
+				SOAPConstants.Q_ATTR_SOAP_MEPDEFAULT, URIAttrImpl.class);
+
+		registerExtAttributeType(BindingFaultElement.class,
+				SOAPConstants.Q_ATTR_SOAP_CODE, QNameOrTokenAnyAttrImpl.class);
+
+		registerExtAttributeType(BindingFaultElement.class,
+				SOAPConstants.Q_ATTR_SOAP_SUBCODES,
+				QNameListOrTokenAnyAttrImpl.class);
+
+		registerExtAttributeType(BindingOperationElement.class,
+				SOAPConstants.Q_ATTR_SOAP_MEP, URIAttrImpl.class);
+
+		registerExtAttributeType(BindingOperationElement.class,
+				SOAPConstants.Q_ATTR_SOAP_ACTION, URIAttrImpl.class);
+
+		// ------------ SOAPModule extension elements ------------
+
+		SOAPModuleDeserializer soapModuleDeser = new SOAPModuleDeserializer();
+
+		// registerSerializer(BindingElement.class,
+		// SOAPConstants.Q_ELEM_SOAP_MODULE,
+		// <serializer to be implemented>);
+		registerDeserializer(BindingElement.class,
+				SOAPConstants.Q_ELEM_SOAP_MODULE, soapModuleDeser);
+		registerExtElementType(BindingElement.class,
+				SOAPConstants.Q_ELEM_SOAP_MODULE, SOAPModuleImpl.class);
+
+		registerDeserializer(BindingFaultElement.class,
+				SOAPConstants.Q_ELEM_SOAP_MODULE, soapModuleDeser);
+		registerExtElementType(BindingFaultElement.class,
+				SOAPConstants.Q_ELEM_SOAP_MODULE, SOAPModuleImpl.class);
+
+		registerDeserializer(BindingOperationElement.class,
+				SOAPConstants.Q_ELEM_SOAP_MODULE, soapModuleDeser);
+		registerExtElementType(BindingOperationElement.class,
+				SOAPConstants.Q_ELEM_SOAP_MODULE, SOAPModuleImpl.class);
+
+		registerDeserializer(BindingMessageReferenceElement.class,
+				SOAPConstants.Q_ELEM_SOAP_MODULE, soapModuleDeser);
+		registerExtElementType(BindingMessageReferenceElement.class,
+				SOAPConstants.Q_ELEM_SOAP_MODULE, SOAPModuleImpl.class);
+
+		registerDeserializer(BindingFaultReferenceElement.class,
+				SOAPConstants.Q_ELEM_SOAP_MODULE, soapModuleDeser);
+		registerExtElementType(BindingFaultReferenceElement.class,
+				SOAPConstants.Q_ELEM_SOAP_MODULE, SOAPModuleImpl.class);
+
+		// ------------ SOAPHeaderBlock extension elements ------------
+
+		SOAPHeaderBlockDeserializer soapHeaderBlockDeser = new SOAPHeaderBlockDeserializer();
+
+		// registerSerializer(BindingFaultElement.class,
+		// SOAPConstants.Q_ELEM_SOAP_HEADER,
+		// <serializer to be implemented>);
+		registerDeserializer(BindingFaultElement.class,
+				SOAPConstants.Q_ELEM_SOAP_HEADER, soapHeaderBlockDeser);
+		registerExtElementType(BindingFaultElement.class,
+				SOAPConstants.Q_ELEM_SOAP_HEADER, SOAPHeaderBlockImpl.class);
+
+		// registerSerializer(BindingMessageReferenceElement.class,
+		// SOAPConstants.Q_ELEM_SOAP_HEADER,
+		// <serializer to be implemented>);
+		registerDeserializer(BindingMessageReferenceElement.class,
+				SOAPConstants.Q_ELEM_SOAP_HEADER, soapHeaderBlockDeser);
+		registerExtElementType(BindingMessageReferenceElement.class,
+				SOAPConstants.Q_ELEM_SOAP_HEADER, SOAPHeaderBlockImpl.class);
+
+		// ------------ SOAP Component Extensions ------------
+
+		registerComponentExtension(Binding.class,
+				ComponentExtensions.URI_NS_SOAP,
+				SOAPBindingExtensionsImpl.class);
+
+		registerComponentExtension(BindingFault.class,
+				ComponentExtensions.URI_NS_SOAP,
+				SOAPBindingFaultExtensionsImpl.class);
+
+		registerComponentExtension(BindingOperation.class,
+				ComponentExtensions.URI_NS_SOAP,
+				SOAPBindingOperationExtensionsImpl.class);
+
+		registerComponentExtension(BindingMessageReference.class,
+				ComponentExtensions.URI_NS_SOAP,
+				SOAPBindingMessageReferenceExtensionsImpl.class);
+
+		registerComponentExtension(BindingFaultReference.class,
+				ComponentExtensions.URI_NS_SOAP,
+				SOAPBindingFaultReferenceExtensionsImpl.class);
+
+        registerComponentExtension(Endpoint.class,
+                ComponentExtensions.URI_NS_SOAP,
+                SOAPEndpointExtensionsImpl.class);
+
+		// ------------ HTTP extension attributes ------------
+
+		registerExtAttributeType(BindingElement.class,
+				HTTPConstants.Q_ATTR_METHOD_DEFAULT, StringAttrImpl.class);
+
+		registerExtAttributeType(BindingElement.class,
+				HTTPConstants.Q_ATTR_QUERY_PARAMETER_SEPARATOR_DEFAULT,
+				StringAttrImpl.class);
+
+		registerExtAttributeType(BindingElement.class,
+				HTTPConstants.Q_ATTR_COOKIES, BooleanAttrImpl.class);
+
+		registerExtAttributeType(BindingElement.class,
+				HTTPConstants.Q_ATTR_CONTENT_ENCODING_DEFAULT,
+				StringAttrImpl.class);
+
+		registerExtAttributeType(BindingFaultElement.class,
+				HTTPConstants.Q_ATTR_CODE, IntOrTokenAnyAttrImpl.class);
+
+		registerExtAttributeType(BindingFaultElement.class,
+				HTTPConstants.Q_ATTR_CONTENT_ENCODING, StringAttrImpl.class);
+
+		registerExtAttributeType(BindingOperationElement.class,
+				HTTPConstants.Q_ATTR_LOCATION, StringAttrImpl.class);
+
+		registerExtAttributeType(BindingOperationElement.class,
+				HTTPConstants.Q_ATTR_IGNORE_UNCITED, BooleanAttrImpl.class);
+
+		registerExtAttributeType(BindingOperationElement.class,
+				HTTPConstants.Q_ATTR_METHOD, StringAttrImpl.class);
+
+		registerExtAttributeType(BindingOperationElement.class,
+				HTTPConstants.Q_ATTR_INPUT_SERIALIZATION, StringAttrImpl.class);
+
+		registerExtAttributeType(BindingOperationElement.class,
+				HTTPConstants.Q_ATTR_OUTPUT_SERIALIZATION, StringAttrImpl.class);
+
+		registerExtAttributeType(BindingOperationElement.class,
+				HTTPConstants.Q_ATTR_FAULT_SERIALIZATION, StringAttrImpl.class);
+
+		registerExtAttributeType(BindingOperationElement.class,
+				HTTPConstants.Q_ATTR_QUERY_PARAMETER_SEPARATOR,
+				StringAttrImpl.class);
+
+		registerExtAttributeType(BindingOperationElement.class,
+				HTTPConstants.Q_ATTR_CONTENT_ENCODING_DEFAULT,
+				StringAttrImpl.class);
+
+		registerExtAttributeType(BindingMessageReferenceElement.class,
+				HTTPConstants.Q_ATTR_CONTENT_ENCODING, StringAttrImpl.class);
+
+		registerExtAttributeType(EndpointElement.class,
+				HTTPConstants.Q_ATTR_AUTHENTICATION_SCHEME,
+				HTTPAuthenticationSchemeAttrImpl.class);
+
+		registerExtAttributeType(EndpointElement.class,
+				HTTPConstants.Q_ATTR_AUTHENTICATION_REALM, StringAttrImpl.class);
+
+		// ------------ HTTPHeader extension elements ------------
+
+		HTTPHeaderDeserializer httpHeaderDeser = new HTTPHeaderDeserializer();
+
+		// registerSerializer(BindingFaultElement.class,
+		// HTTPConstants.Q_ELEM_HTTP_HEADER,
+		// <serializer to be implemented>);
+		registerDeserializer(BindingFaultElement.class,
+				HTTPConstants.Q_ELEM_HTTP_HEADER, httpHeaderDeser);
+		registerExtElementType(BindingFaultElement.class,
+				HTTPConstants.Q_ELEM_HTTP_HEADER, HTTPHeaderImpl.class);
+
+        // registerSerializer(BindingMessageReferenceElement.class,
+        // HTTPConstants.Q_ELEM_HTTP_HEADER,
+        // <serializer to be implemented>);
+        registerDeserializer(BindingMessageReferenceElement.class,
+                HTTPConstants.Q_ELEM_HTTP_HEADER, httpHeaderDeser);
+        registerExtElementType(BindingMessageReferenceElement.class,
+                HTTPConstants.Q_ELEM_HTTP_HEADER, HTTPHeaderImpl.class);
+
+		// ------------ HTTP Component Extensions ------------
+
+		registerComponentExtension(Binding.class,
+				ComponentExtensions.URI_NS_HTTP,
+				HTTPBindingExtensionsImpl.class);
+
+		registerComponentExtension(BindingFault.class,
+				ComponentExtensions.URI_NS_HTTP,
+				HTTPBindingFaultExtensionsImpl.class);
+
+		registerComponentExtension(BindingOperation.class,
+				ComponentExtensions.URI_NS_HTTP,
+				HTTPBindingOperationExtensionsImpl.class);
+
+		registerComponentExtension(BindingMessageReference.class,
+				ComponentExtensions.URI_NS_HTTP,
+				HTTPBindingMessageReferenceExtensionsImpl.class);
+
+		registerComponentExtension(Endpoint.class,
+				ComponentExtensions.URI_NS_HTTP,
+				HTTPEndpointExtensionsImpl.class);
+
+	}
+    
+    public ErrorReporter getErrorReporter()
+    {
+        return fWsdlContext.errorReporter;
+    }
 }

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

Modified: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/http/HTTPBindingExtensionsImpl.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/http/HTTPBindingExtensionsImpl.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/http/HTTPBindingExtensionsImpl.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/http/HTTPBindingExtensionsImpl.java Thu Aug 23 04:01:23 2007
@@ -1,77 +1,77 @@
-/**
+/**
  * 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.internal.wsdl20.extensions.http;
-
-import org.apache.woden.internal.wsdl20.extensions.ComponentExtensionsImpl;
-import org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensions;
-import org.apache.woden.wsdl20.xml.WSDLElement;
-import org.apache.woden.xml.BooleanAttr;
-import org.apache.woden.xml.StringAttr;
-
-/**
- * This class defines the properties from the HTTP namespace
- * added to the WSDL <code>Binding</code> component as part 
- * of the HTTP binding extension defined by the WSDL 2.0 spec. 
- * 
- * @author John Kaputin (jkaputin@apache.org)
- */
-public class HTTPBindingExtensionsImpl extends ComponentExtensionsImpl
-                                       implements HTTPBindingExtensions 
-{
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensions#getHttpMethodDefault()
-     */
-    public String getHttpMethodDefault() 
-    {
-        StringAttr methodDef = (StringAttr) ((WSDLElement)fParent)
-            .getExtensionAttribute(HTTPConstants.Q_ATTR_METHOD_DEFAULT);
-        return methodDef != null ? methodDef.getString() : null;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensions#getHttpQueryParameterSeparatorDefault()
-     */
-    public String getHttpQueryParameterSeparatorDefault() 
-    {
-        //TODO monitor ws-desc proposal 19May06 on changing handling of defaults in spec Part 2
-        StringAttr qpsDef = (StringAttr) ((WSDLElement)fParent)
-            .getExtensionAttribute(HTTPConstants.Q_ATTR_QUERY_PARAMETER_SEPARATOR_DEFAULT);
-        return qpsDef != null ? qpsDef.getString() : HTTPConstants.QUERY_SEP_AMPERSAND;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensions#isHttpCookies()
-     */
-    public Boolean isHttpCookies() 
-    {
-        BooleanAttr cookiesUsed = (BooleanAttr) ((WSDLElement)fParent)
-            .getExtensionAttribute(HTTPConstants.Q_ATTR_COOKIES);
-        return cookiesUsed != null ? cookiesUsed.getBoolean() : new Boolean(false); //defaults to false if omitted
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensions#getHttpContentEncodingDefault()
-     */
-    public String getHttpContentEncodingDefault() 
-    {
-        StringAttr ceDef = (StringAttr) ((WSDLElement)fParent)
-            .getExtensionAttribute(HTTPConstants.Q_ATTR_CONTENT_ENCODING_DEFAULT);
-        return ceDef != null ? ceDef.getString() : null;
-    }
-
-}
+ * 
+ *     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.internal.wsdl20.extensions.http;
+
+import org.apache.woden.internal.wsdl20.extensions.ComponentExtensionsImpl;
+import org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensions;
+import org.apache.woden.wsdl20.xml.WSDLElement;
+import org.apache.woden.xml.BooleanAttr;
+import org.apache.woden.xml.StringAttr;
+
+/**
+ * This class defines the properties from the HTTP namespace
+ * added to the WSDL <code>Binding</code> component as part 
+ * of the HTTP binding extension defined by the WSDL 2.0 spec. 
+ * 
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public class HTTPBindingExtensionsImpl extends ComponentExtensionsImpl
+                                       implements HTTPBindingExtensions 
+{
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensions#getHttpMethodDefault()
+     */
+    public String getHttpMethodDefault() 
+    {
+        StringAttr methodDef = (StringAttr) ((WSDLElement)fParent)
+            .getExtensionAttribute(HTTPConstants.Q_ATTR_METHOD_DEFAULT);
+        return methodDef != null ? methodDef.getString() : null;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensions#getHttpQueryParameterSeparatorDefault()
+     */
+    public String getHttpQueryParameterSeparatorDefault() 
+    {
+        //TODO monitor ws-desc proposal 19May06 on changing handling of defaults in spec Part 2
+        StringAttr qpsDef = (StringAttr) ((WSDLElement)fParent)
+            .getExtensionAttribute(HTTPConstants.Q_ATTR_QUERY_PARAMETER_SEPARATOR_DEFAULT);
+        return qpsDef != null ? qpsDef.getString() : HTTPConstants.QUERY_SEP_AMPERSAND;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensions#isHttpCookies()
+     */
+    public Boolean isHttpCookies() 
+    {
+        BooleanAttr cookiesUsed = (BooleanAttr) ((WSDLElement)fParent)
+            .getExtensionAttribute(HTTPConstants.Q_ATTR_COOKIES);
+        return cookiesUsed != null ? cookiesUsed.getBoolean() : new Boolean(false); //defaults to false if omitted
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensions#getHttpContentEncodingDefault()
+     */
+    public String getHttpContentEncodingDefault() 
+    {
+        StringAttr ceDef = (StringAttr) ((WSDLElement)fParent)
+            .getExtensionAttribute(HTTPConstants.Q_ATTR_CONTENT_ENCODING_DEFAULT);
+        return ceDef != null ? ceDef.getString() : null;
+    }
+
+}

Propchange: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/http/HTTPBindingExtensionsImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/http/HTTPBindingFaultExtensionsImpl.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/http/HTTPBindingFaultExtensionsImpl.java?rev=568932&r1=568931&r2=568932&view=diff
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/http/HTTPBindingFaultExtensionsImpl.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/http/HTTPBindingFaultExtensionsImpl.java Thu Aug 23 04:01:23 2007
@@ -1,101 +1,101 @@
-/**
+/**
  * 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.internal.wsdl20.extensions.http;
-
-import org.apache.woden.internal.wsdl20.extensions.ComponentExtensionsImpl;
-import org.apache.woden.internal.xml.IntOrTokenAnyAttrImpl;
-import org.apache.woden.wsdl20.extensions.ExtensionElement;
-import org.apache.woden.wsdl20.extensions.http.HTTPBindingFaultExtensions;
-import org.apache.woden.wsdl20.extensions.http.HTTPErrorStatusCode;
-import org.apache.woden.wsdl20.extensions.http.HTTPHeader;
-import org.apache.woden.wsdl20.xml.WSDLElement;
-import org.apache.woden.xml.StringAttr;
-
-/**
- * This class defines the properties from the HTTP namespace
- * added to the WSDL <code>BindingFault</code> component as part 
- * of the HTTP binding extension defined by the WSDL 2.0 spec. 
- * 
- * @author John Kaputin (jkaputin@apache.org)
- */
-public class HTTPBindingFaultExtensionsImpl extends ComponentExtensionsImpl
-                                            implements HTTPBindingFaultExtensions 
-{
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingFaultExtensions#getHttpErrorStatusCode()
-     */
-    public HTTPErrorStatusCode getHttpErrorStatusCode() 
-    {
-        /* IntOrTokenAnyAttrImpl is the class registered for this extension attribute. Use this type 
-         * here, rather than the IntOrTokenAttr interface, to guarantee that if the code contains an 
-         * xs:token it is of type #any.
-         */
-        IntOrTokenAnyAttrImpl code = (IntOrTokenAnyAttrImpl)
-            ((WSDLElement)fParent).getExtensionAttribute(HTTPConstants.Q_ATTR_CODE);
-        
-        if(code == null)
-        {
-            //defaults to xs:token #any if the attribute is omitted from the WSDL.
-            return HTTPErrorStatusCode.ANY;
-        }
-        else if(code.isToken()) 
-        {
-            //if IntOrTokenAnyAttrImpl contains a token then is must be '#any'
-            return HTTPErrorStatusCode.ANY;
-        }
-        else if(code.isInt())
-        {
-            return new HTTPErrorStatusCode(code.getInt());
-        }
-        else
-        {
-            //the whttp:code attribute contains an invalid value (i.e. not an xs:QName or the xs:token #any)
-            //TODO confirm if this should be represented in the Component model as a null
-            return null;
-        }
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingFaultExtensions#getHttpContentEncoding()
-     * 
-     */
-    public String getHttpContentEncoding() 
-    {
-        String ce = null;
-        StringAttr contEncoding = (StringAttr) ((WSDLElement)fParent)
-            .getExtensionAttribute(HTTPConstants.Q_ATTR_CONTENT_ENCODING);
-        if(contEncoding != null) {
-            ce = contEncoding.getString();
-        }
-        return ce; 
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingFaultExtensions#getHttpHeaders()
-     */
-    public HTTPHeader[] getHttpHeaders() 
-    {
-        ExtensionElement[] extEls =  ((WSDLElement)fParent)
-            .getExtensionElementsOfType(HTTPConstants.Q_ELEM_HTTP_HEADER);
-        int len = extEls.length;
-        HTTPHeader[] httpHeaders = new HTTPHeader[len];
-        System.arraycopy(extEls, 0, httpHeaders, 0, len);
-        return httpHeaders;
-    }
-
-}
+ * 
+ *     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.internal.wsdl20.extensions.http;
+
+import org.apache.woden.internal.wsdl20.extensions.ComponentExtensionsImpl;
+import org.apache.woden.internal.xml.IntOrTokenAnyAttrImpl;
+import org.apache.woden.wsdl20.extensions.ExtensionElement;
+import org.apache.woden.wsdl20.extensions.http.HTTPBindingFaultExtensions;
+import org.apache.woden.wsdl20.extensions.http.HTTPErrorStatusCode;
+import org.apache.woden.wsdl20.extensions.http.HTTPHeader;
+import org.apache.woden.wsdl20.xml.WSDLElement;
+import org.apache.woden.xml.StringAttr;
+
+/**
+ * This class defines the properties from the HTTP namespace
+ * added to the WSDL <code>BindingFault</code> component as part 
+ * of the HTTP binding extension defined by the WSDL 2.0 spec. 
+ * 
+ * @author John Kaputin (jkaputin@apache.org)
+ */
+public class HTTPBindingFaultExtensionsImpl extends ComponentExtensionsImpl
+                                            implements HTTPBindingFaultExtensions 
+{
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingFaultExtensions#getHttpErrorStatusCode()
+     */
+    public HTTPErrorStatusCode getHttpErrorStatusCode() 
+    {
+        /* IntOrTokenAnyAttrImpl is the class registered for this extension attribute. Use this type 
+         * here, rather than the IntOrTokenAttr interface, to guarantee that if the code contains an 
+         * xs:token it is of type #any.
+         */
+        IntOrTokenAnyAttrImpl code = (IntOrTokenAnyAttrImpl)
+            ((WSDLElement)fParent).getExtensionAttribute(HTTPConstants.Q_ATTR_CODE);
+        
+        if(code == null)
+        {
+            //defaults to xs:token #any if the attribute is omitted from the WSDL.
+            return HTTPErrorStatusCode.ANY;
+        }
+        else if(code.isToken()) 
+        {
+            //if IntOrTokenAnyAttrImpl contains a token then is must be '#any'
+            return HTTPErrorStatusCode.ANY;
+        }
+        else if(code.isInt())
+        {
+            return new HTTPErrorStatusCode(code.getInt());
+        }
+        else
+        {
+            //the whttp:code attribute contains an invalid value (i.e. not an xs:QName or the xs:token #any)
+            //TODO confirm if this should be represented in the Component model as a null
+            return null;
+        }
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingFaultExtensions#getHttpContentEncoding()
+     * 
+     */
+    public String getHttpContentEncoding() 
+    {
+        String ce = null;
+        StringAttr contEncoding = (StringAttr) ((WSDLElement)fParent)
+            .getExtensionAttribute(HTTPConstants.Q_ATTR_CONTENT_ENCODING);
+        if(contEncoding != null) {
+            ce = contEncoding.getString();
+        }
+        return ce; 
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingFaultExtensions#getHttpHeaders()
+     */
+    public HTTPHeader[] getHttpHeaders() 
+    {
+        ExtensionElement[] extEls =  ((WSDLElement)fParent)
+            .getExtensionElementsOfType(HTTPConstants.Q_ELEM_HTTP_HEADER);
+        int len = extEls.length;
+        HTTPHeader[] httpHeaders = new HTTPHeader[len];
+        System.arraycopy(extEls, 0, httpHeaders, 0, len);
+        return httpHeaders;
+    }
+
+}

Propchange: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/http/HTTPBindingFaultExtensionsImpl.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