Package com.sun.xml.ws.util
Class MetadataUtil
- java.lang.Object
-
- com.sun.xml.ws.util.MetadataUtil
-
public class MetadataUtil extends Object
WSDL, schema document metadata utility class.- Author:
- Jitendra Kotamraju
-
-
Constructor Summary
Constructors Constructor Description MetadataUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,SDDocument>getMetadataClosure(String systemId, SDDocumentResolver resolver, boolean onlyTopLevelSchemas)Gets closure of all the referenced documents from the primary document(typically the service WSDL).
-
-
-
Method Detail
-
getMetadataClosure
public static Map<String,SDDocument> getMetadataClosure(@NotNull 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 documentresolver- used to get SDDocumentImpl for a documentonlyTopLevelSchemas- if true, the imported schemas from a schema would be ignored- Returns:
- all the documents
-
-