Java Code Examples for com.sun.tools.internal.ws.wsdl.parser.MetadataFinder#getExternalReferences()
The following examples show how to use
com.sun.tools.internal.ws.wsdl.parser.MetadataFinder#getExternalReferences() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WSDLFetcher.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Fetches the wsdls in the DOMForest to the options.destDir * @param forest * @return location of fetched root WSDL document * @throws IOException * @throws XMLStreamException * @throws FileNotFoundException */ public String fetchWsdls(MetadataFinder forest) throws IOException, XMLStreamException { String rootWsdl = null; for(String root: forest.getRootDocuments()) { rootWsdl = root; } Set<String> externalRefs = forest.getExternalReferences(); Map<String,String> documentMap = createDocumentMap(forest, getWSDLDownloadDir(), rootWsdl, externalRefs); String rootWsdlName = fetchFile(rootWsdl,forest, documentMap,getWSDLDownloadDir()); for(String reference: forest.getExternalReferences()) { fetchFile(reference,forest,documentMap,getWSDLDownloadDir()); } return WSDL_PATH +"/" + rootWsdlName; }
Example 2
Source File: WSDLFetcher.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Fetches the wsdls in the DOMForest to the options.destDir * @param forest * @return location of fetched root WSDL document * @throws IOException * @throws XMLStreamException * @throws FileNotFoundException */ public String fetchWsdls(MetadataFinder forest) throws IOException, XMLStreamException { String rootWsdl = null; for(String root: forest.getRootDocuments()) { rootWsdl = root; } Set<String> externalRefs = forest.getExternalReferences(); Map<String,String> documentMap = createDocumentMap(forest, getWSDLDownloadDir(), rootWsdl, externalRefs); String rootWsdlName = fetchFile(rootWsdl,forest, documentMap,getWSDLDownloadDir()); for(String reference: forest.getExternalReferences()) { fetchFile(reference,forest,documentMap,getWSDLDownloadDir()); } return WSDL_PATH +"/" + rootWsdlName; }
Example 3
Source File: WSDLFetcher.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Fetches the wsdls in the DOMForest to the options.destDir * @param forest * @return location of fetched root WSDL document * @throws IOException * @throws XMLStreamException * @throws FileNotFoundException */ public String fetchWsdls(MetadataFinder forest) throws IOException, XMLStreamException { String rootWsdl = null; for(String root: forest.getRootDocuments()) { rootWsdl = root; } Set<String> externalRefs = forest.getExternalReferences(); Map<String,String> documentMap = createDocumentMap(forest, getWSDLDownloadDir(), rootWsdl, externalRefs); String rootWsdlName = fetchFile(rootWsdl,forest, documentMap,getWSDLDownloadDir()); for(String reference: forest.getExternalReferences()) { fetchFile(reference,forest,documentMap,getWSDLDownloadDir()); } return WSDL_PATH +"/" + rootWsdlName; }
Example 4
Source File: WSDLFetcher.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Fetches the wsdls in the DOMForest to the options.destDir * @param forest * @return location of fetched root WSDL document * @throws IOException * @throws XMLStreamException * @throws FileNotFoundException */ public String fetchWsdls(MetadataFinder forest) throws IOException, XMLStreamException { String rootWsdl = null; for(String root: forest.getRootDocuments()) { rootWsdl = root; } Set<String> externalRefs = forest.getExternalReferences(); Map<String,String> documentMap = createDocumentMap(forest, getWSDLDownloadDir(), rootWsdl, externalRefs); String rootWsdlName = fetchFile(rootWsdl,forest, documentMap,getWSDLDownloadDir()); for(String reference: forest.getExternalReferences()) { fetchFile(reference,forest,documentMap,getWSDLDownloadDir()); } return WSDL_PATH +"/" + rootWsdlName; }
Example 5
Source File: WSDLFetcher.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Fetches the wsdls in the DOMForest to the options.destDir * @param forest * @return location of fetched root WSDL document * @throws IOException * @throws XMLStreamException * @throws FileNotFoundException */ public String fetchWsdls(MetadataFinder forest) throws IOException, XMLStreamException { String rootWsdl = null; for(String root: forest.getRootDocuments()) { rootWsdl = root; } Set<String> externalRefs = forest.getExternalReferences(); Map<String,String> documentMap = createDocumentMap(forest, getWSDLDownloadDir(), rootWsdl, externalRefs); String rootWsdlName = fetchFile(rootWsdl,forest, documentMap,getWSDLDownloadDir()); for(String reference: forest.getExternalReferences()) { fetchFile(reference,forest,documentMap,getWSDLDownloadDir()); } return WSDL_PATH +"/" + rootWsdlName; }
Example 6
Source File: WSDLFetcher.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Fetches the wsdls in the DOMForest to the options.destDir * @param forest * @return location of fetched root WSDL document * @throws IOException * @throws XMLStreamException * @throws FileNotFoundException */ public String fetchWsdls(MetadataFinder forest) throws IOException, XMLStreamException { String rootWsdl = null; for(String root: forest.getRootDocuments()) { rootWsdl = root; } Set<String> externalRefs = forest.getExternalReferences(); Map<String,String> documentMap = createDocumentMap(forest, getWSDLDownloadDir(), rootWsdl, externalRefs); String rootWsdlName = fetchFile(rootWsdl,forest, documentMap,getWSDLDownloadDir()); for(String reference: forest.getExternalReferences()) { fetchFile(reference,forest,documentMap,getWSDLDownloadDir()); } return WSDL_PATH +"/" + rootWsdlName; }
Example 7
Source File: WSDLFetcher.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Fetches the wsdls in the DOMForest to the options.destDir * @param forest * @return location of fetched root WSDL document * @throws IOException * @throws XMLStreamException * @throws FileNotFoundException */ public String fetchWsdls(MetadataFinder forest) throws IOException, XMLStreamException { String rootWsdl = null; for(String root: forest.getRootDocuments()) { rootWsdl = root; } Set<String> externalRefs = forest.getExternalReferences(); Map<String,String> documentMap = createDocumentMap(forest, getWSDLDownloadDir(), rootWsdl, externalRefs); String rootWsdlName = fetchFile(rootWsdl,forest, documentMap,getWSDLDownloadDir()); for(String reference: forest.getExternalReferences()) { fetchFile(reference,forest,documentMap,getWSDLDownloadDir()); } return WSDL_PATH +"/" + rootWsdlName; }
Example 8
Source File: WSDLFetcher.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Fetches the wsdls in the DOMForest to the options.destDir * @param forest * @return location of fetched root WSDL document * @throws IOException * @throws XMLStreamException * @throws FileNotFoundException */ public String fetchWsdls(MetadataFinder forest) throws IOException, XMLStreamException { String rootWsdl = null; for(String root: forest.getRootDocuments()) { rootWsdl = root; } Set<String> externalRefs = forest.getExternalReferences(); Map<String,String> documentMap = createDocumentMap(forest, getWSDLDownloadDir(), rootWsdl, externalRefs); String rootWsdlName = fetchFile(rootWsdl,forest, documentMap,getWSDLDownloadDir()); for(String reference: forest.getExternalReferences()) { fetchFile(reference,forest,documentMap,getWSDLDownloadDir()); } return WSDL_PATH +"/" + rootWsdlName; }