com.sun.xml.ws.util
Class MetadataUtil

java.lang.Object
  extended by com.sun.xml.ws.util.MetadataUtil

public class MetadataUtil
extends java.lang.Object

WSDL, schema document metadata utility class.


Constructor Summary
MetadataUtil()
           
 
Method Summary
static java.util.Map<java.lang.String,SDDocument> getMetadataClosure(java.lang.String systemId, SDDocumentResolver resolver, boolean onlyTopLevelSchemas)
          Gets closure of all the referenced documents from the primary document(typically the service WSDL).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataUtil

public MetadataUtil()
Method Detail

getMetadataClosure

public static java.util.Map<java.lang.String,SDDocument> getMetadataClosure(@NotNull
                                                                            java.lang.String systemId,
                                                                            @NotNull
                                                                            SDDocumentResolver resolver,
                                                                            boolean onlyTopLevelSchemas)
Gets closure of all the referenced documents from the primary document(typically the service WSDL). It traverses the WSDL and schema imports and builds a closure set of documents.

Parameters:
systemId - primary wsdl or the any root document
resolver - used to get SDDocumentImpl for a document
onlyTopLevelSchemas - if true, the imported schemas from a schema would be ignored
Returns:
all the documents


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.