1.1 --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLExtensible.java Thu Sep 26 10:43:28 2013 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLExtensible.java Fri Oct 04 16:21:34 2013 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -25,6 +25,12 @@ 1.11 1.12 package com.sun.xml.internal.ws.api.model.wsdl; 1.13 1.14 +import java.util.List; 1.15 + 1.16 +import javax.xml.namespace.QName; 1.17 + 1.18 +import org.xml.sax.Locator; 1.19 + 1.20 /** 1.21 * Interface that represents WSDL concepts that 1.22 * can have extensions. 1.23 @@ -82,4 +88,23 @@ 1.24 * must not be null. 1.25 */ 1.26 void addExtension(WSDLExtension extension); 1.27 + 1.28 + /** 1.29 + * True if all required WSDL extensions on Port and Binding are understood 1.30 + * @return true if all wsdl required extensions on Port and Binding are understood 1.31 + */ 1.32 + public boolean areRequiredExtensionsUnderstood(); 1.33 + 1.34 + /** 1.35 + * Marks extension as not understood 1.36 + * @param extnEl QName of extension 1.37 + * @param locator Locator 1.38 + */ 1.39 + public void addNotUnderstoodExtension(QName extnEl, Locator locator); 1.40 + 1.41 + /** 1.42 + * Lists extensions marked as not understood 1.43 + * @return List of not understood extensions 1.44 + */ 1.45 + public List<? extends WSDLExtension> getNotUnderstoodExtensions(); 1.46 }