src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Definitions.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -26,10 +26,11 @@
 package com.sun.tools.internal.ws.wsdl.document;
 
 import com.sun.tools.internal.ws.api.wsdl.TWSDLExtensible;
 import com.sun.tools.internal.ws.api.wsdl.TWSDLExtension;
 import com.sun.tools.internal.ws.wsdl.framework.*;
+
 import org.xml.sax.Locator;
 
 import javax.xml.namespace.QName;
 import java.util.*;
 

@@ -211,10 +212,14 @@
     }
 
     public void validateThis() {
     }
 
+    public Map resolveBindings() {
+        return _document.getMap(Kinds.BINDING);
+    }
+
     private AbstractDocument _document;
     private ExtensibilityHelper _helper;
     private Documentation _documentation;
     private String _name;
     private String _targetNsURI;