com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver Java Examples
The following examples show how to use
com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver.
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: RuntimeWSDLParser.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private RuntimeWSDLParser(@NotNull String sourceLocation, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) { this.wsdlDoc = sourceLocation!=null ? new WSDLModelImpl(sourceLocation) : new WSDLModelImpl(); this.resolver = resolver; this.policyResolver = policyResolver; this.extensions = new ArrayList<WSDLParserExtension>(); this.context = new WSDLParserExtensionContextImpl(wsdlDoc, isClientSide, container, policyResolver); boolean isPolicyExtensionFound = false; for (WSDLParserExtension e : extensions) { if (e instanceof com.sun.xml.internal.ws.api.wsdl.parser.PolicyWSDLParserExtension) isPolicyExtensionFound = true; register(e); } // register handlers for default extensions if (!isPolicyExtensionFound) register(new PolicyWSDLParserExtension()); register(new MemberSubmissionAddressingWSDLParserExtension()); register(new W3CAddressingWSDLParserExtension()); register(new W3CAddressingMetadataWSDLParserExtension()); this.extensionFacade = new WSDLParserExtensionFacade(this.extensions.toArray(new WSDLParserExtension[0])); }
Example #2
Source File: RuntimeWSDLParser.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
private RuntimeWSDLParser(@NotNull String sourceLocation, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) { this.wsdlDoc = sourceLocation!=null ? new WSDLModelImpl(sourceLocation) : new WSDLModelImpl(); this.resolver = resolver; this.policyResolver = policyResolver; this.extensions = new ArrayList<WSDLParserExtension>(); this.context = new WSDLParserExtensionContextImpl(wsdlDoc, isClientSide, container, policyResolver); boolean isPolicyExtensionFound = false; for (WSDLParserExtension e : extensions) { if (e instanceof com.sun.xml.internal.ws.api.wsdl.parser.PolicyWSDLParserExtension) isPolicyExtensionFound = true; register(e); } // register handlers for default extensions if (!isPolicyExtensionFound) register(new PolicyWSDLParserExtension()); register(new MemberSubmissionAddressingWSDLParserExtension()); register(new W3CAddressingWSDLParserExtension()); register(new W3CAddressingMetadataWSDLParserExtension()); this.extensionFacade = new WSDLParserExtensionFacade(this.extensions.toArray(new WSDLParserExtension[0])); }
Example #3
Source File: RuntimeWSDLParser.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
private RuntimeWSDLParser(@NotNull String sourceLocation, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) { this.wsdlDoc = sourceLocation!=null ? new WSDLModelImpl(sourceLocation) : new WSDLModelImpl(); this.resolver = resolver; this.policyResolver = policyResolver; this.extensions = new ArrayList<WSDLParserExtension>(); this.context = new WSDLParserExtensionContextImpl(wsdlDoc, isClientSide, container, policyResolver); boolean isPolicyExtensionFound = false; for (WSDLParserExtension e : extensions) { if (e instanceof com.sun.xml.internal.ws.api.wsdl.parser.PolicyWSDLParserExtension) isPolicyExtensionFound = true; register(e); } // register handlers for default extensions if (!isPolicyExtensionFound) register(new PolicyWSDLParserExtension()); register(new MemberSubmissionAddressingWSDLParserExtension()); register(new W3CAddressingWSDLParserExtension()); register(new W3CAddressingMetadataWSDLParserExtension()); this.extensionFacade = new WSDLParserExtensionFacade(this.extensions.toArray(new WSDLParserExtension[0])); }
Example #4
Source File: RuntimeWSDLParser.java From hottub with GNU General Public License v2.0 | 6 votes |
private RuntimeWSDLParser(@NotNull String sourceLocation, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) { this.wsdlDoc = sourceLocation!=null ? new WSDLModelImpl(sourceLocation) : new WSDLModelImpl(); this.resolver = resolver; this.policyResolver = policyResolver; this.extensions = new ArrayList<WSDLParserExtension>(); this.context = new WSDLParserExtensionContextImpl(wsdlDoc, isClientSide, container, policyResolver); boolean isPolicyExtensionFound = false; for (WSDLParserExtension e : extensions) { if (e instanceof com.sun.xml.internal.ws.api.wsdl.parser.PolicyWSDLParserExtension) isPolicyExtensionFound = true; register(e); } // register handlers for default extensions if (!isPolicyExtensionFound) register(new PolicyWSDLParserExtension()); register(new MemberSubmissionAddressingWSDLParserExtension()); register(new W3CAddressingWSDLParserExtension()); register(new W3CAddressingMetadataWSDLParserExtension()); this.extensionFacade = new WSDLParserExtensionFacade(this.extensions.toArray(new WSDLParserExtension[0])); }
Example #5
Source File: RuntimeWSDLParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
private RuntimeWSDLParser(@NotNull String sourceLocation, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) { this.wsdlDoc = sourceLocation!=null ? new WSDLModelImpl(sourceLocation) : new WSDLModelImpl(); this.resolver = resolver; this.policyResolver = policyResolver; this.extensions = new ArrayList<WSDLParserExtension>(); this.context = new WSDLParserExtensionContextImpl(wsdlDoc, isClientSide, container, policyResolver); boolean isPolicyExtensionFound = false; for (WSDLParserExtension e : extensions) { if (e instanceof com.sun.xml.internal.ws.api.wsdl.parser.PolicyWSDLParserExtension) isPolicyExtensionFound = true; register(e); } // register handlers for default extensions if (!isPolicyExtensionFound) register(new PolicyWSDLParserExtension()); register(new MemberSubmissionAddressingWSDLParserExtension()); register(new W3CAddressingWSDLParserExtension()); register(new W3CAddressingMetadataWSDLParserExtension()); this.extensionFacade = new WSDLParserExtensionFacade(this.extensions.toArray(new WSDLParserExtension[0])); }
Example #6
Source File: RuntimeWSDLParser.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
private RuntimeWSDLParser(@NotNull String sourceLocation, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) { this.wsdlDoc = sourceLocation!=null ? new WSDLModelImpl(sourceLocation) : new WSDLModelImpl(); this.resolver = resolver; this.policyResolver = policyResolver; this.extensions = new ArrayList<WSDLParserExtension>(); this.context = new WSDLParserExtensionContextImpl(wsdlDoc, isClientSide, container, policyResolver); boolean isPolicyExtensionFound = false; for (WSDLParserExtension e : extensions) { if (e instanceof com.sun.xml.internal.ws.api.wsdl.parser.PolicyWSDLParserExtension) isPolicyExtensionFound = true; register(e); } // register handlers for default extensions if (!isPolicyExtensionFound) register(new PolicyWSDLParserExtension()); register(new MemberSubmissionAddressingWSDLParserExtension()); register(new W3CAddressingWSDLParserExtension()); register(new W3CAddressingMetadataWSDLParserExtension()); this.extensionFacade = new WSDLParserExtensionFacade(this.extensions.toArray(new WSDLParserExtension[0])); }
Example #7
Source File: RuntimeWSDLParser.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
private RuntimeWSDLParser(@NotNull String sourceLocation, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) { this.wsdlDoc = sourceLocation!=null ? new WSDLModelImpl(sourceLocation) : new WSDLModelImpl(); this.resolver = resolver; this.policyResolver = policyResolver; this.extensions = new ArrayList<WSDLParserExtension>(); this.context = new WSDLParserExtensionContextImpl(wsdlDoc, isClientSide, container, policyResolver); boolean isPolicyExtensionFound = false; for (WSDLParserExtension e : extensions) { if (e instanceof com.sun.xml.internal.ws.api.wsdl.parser.PolicyWSDLParserExtension) isPolicyExtensionFound = true; register(e); } // register handlers for default extensions if (!isPolicyExtensionFound) register(new PolicyWSDLParserExtension()); register(new MemberSubmissionAddressingWSDLParserExtension()); register(new W3CAddressingWSDLParserExtension()); register(new W3CAddressingMetadataWSDLParserExtension()); this.extensionFacade = new WSDLParserExtensionFacade(this.extensions.toArray(new WSDLParserExtension[0])); }
Example #8
Source File: RuntimeWSDLParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
private RuntimeWSDLParser(@NotNull String sourceLocation, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) { this.wsdlDoc = sourceLocation!=null ? new WSDLModelImpl(sourceLocation) : new WSDLModelImpl(); this.resolver = resolver; this.policyResolver = policyResolver; this.extensions = new ArrayList<WSDLParserExtension>(); this.context = new WSDLParserExtensionContextImpl(wsdlDoc, isClientSide, container, policyResolver); boolean isPolicyExtensionFound = false; for (WSDLParserExtension e : extensions) { if (e instanceof com.sun.xml.internal.ws.api.wsdl.parser.PolicyWSDLParserExtension) isPolicyExtensionFound = true; register(e); } // register handlers for default extensions if (!isPolicyExtensionFound) register(new PolicyWSDLParserExtension()); register(new MemberSubmissionAddressingWSDLParserExtension()); register(new W3CAddressingWSDLParserExtension()); register(new W3CAddressingMetadataWSDLParserExtension()); this.extensionFacade = new WSDLParserExtensionFacade(this.extensions.toArray(new WSDLParserExtension[0])); }
Example #9
Source File: RuntimeWSDLParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, PolicyResolverFactory.create(), extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #10
Source File: RuntimeWSDLParser.java From hottub with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, policyResolver, extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #11
Source File: RuntimeWSDLParser.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, PolicyResolverFactory.create(), extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #12
Source File: RuntimeWSDLParser.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, policyResolver, extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #13
Source File: RuntimeWSDLParser.java From hottub with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, PolicyResolverFactory.create(), extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #14
Source File: RuntimeWSDLParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, PolicyResolverFactory.create(), extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #15
Source File: RuntimeWSDLParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, policyResolver, extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #16
Source File: RuntimeWSDLParser.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, policyResolver, extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #17
Source File: RuntimeWSDLParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, policyResolver, extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #18
Source File: RuntimeWSDLParser.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, PolicyResolverFactory.create(), extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #19
Source File: RuntimeWSDLParser.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, PolicyResolverFactory.create(), extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #20
Source File: RuntimeWSDLParser.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, policyResolver, extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #21
Source File: RuntimeWSDLParser.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, policyResolver, extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #22
Source File: RuntimeWSDLParser.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, PolicyResolverFactory.create(), extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #23
Source File: RuntimeWSDLParser.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, policyResolver, extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #24
Source File: RuntimeWSDLParser.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public static WSDLModel parse(XMLEntityResolver.Parser wsdl, XMLEntityResolver resolver, boolean isClientSide, Container container, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { assert resolver != null; RuntimeWSDLParser parser = new RuntimeWSDLParser( wsdl.systemId.toExternalForm(), resolver, isClientSide, container, PolicyResolverFactory.create(), extensions); parser.extensionFacade.start(parser.context); parser.parseWSDL(wsdl, false); parser.wsdlDoc.freeze(); parser.extensionFacade.finished(parser.context); parser.extensionFacade.postFinished(parser.context); return parser.wsdlDoc; }
Example #25
Source File: WSDLModel.java From openjdk-jdk9 with GNU General Public License v2.0 | 2 votes |
/** * Parses WSDL from the given wsdlLoc and gives a {@link WSDLModel} built from it. * * @param wsdlEntityParser Works like an entityResolver to resolve WSDLs * @param resolver {@link XMLEntityResolver}, works at XML infoset level * @param isClientSide true - its invoked on the client, false means its invoked on the server * @param extensions var args of {@link com.sun.xml.internal.ws.api.wsdl.parser.WSDLParserExtension}s * @return A {@link WSDLModel} built from the given wsdlLocation} * @throws java.io.IOException * @throws javax.xml.stream.XMLStreamException * @throws org.xml.sax.SAXException */ public static @NotNull WSDLModel parse(XMLEntityResolver.Parser wsdlEntityParser, XMLEntityResolver resolver, boolean isClientSide, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { return parse(wsdlEntityParser, resolver, isClientSide, Container.NONE, extensions); }
Example #26
Source File: WSDLModel.java From openjdk-8-source with GNU General Public License v2.0 | 2 votes |
/** * Parses WSDL from the given wsdlLoc and gives a {@link WSDLModel} built from it. * * @param wsdlEntityParser Works like an entityResolver to resolve WSDLs * @param resolver {@link XMLEntityResolver}, works at XML infoset level * @param isClientSide true - its invoked on the client, false means its invoked on the server * @param container - container in which the parser is run * @param policyResolver - PolicyResolver for resolving effective Policy * @param extensions var args of {@link com.sun.xml.internal.ws.api.wsdl.parser.WSDLParserExtension}s * @return A {@link WSDLModel} built from the given wsdlLocation} * @throws java.io.IOException * @throws javax.xml.stream.XMLStreamException * @throws org.xml.sax.SAXException */ public static @NotNull WSDLModel parse(XMLEntityResolver.Parser wsdlEntityParser, XMLEntityResolver resolver, boolean isClientSide, @NotNull Container container, PolicyResolver policyResolver, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { return RuntimeWSDLParser.parse(wsdlEntityParser, resolver, isClientSide, container, policyResolver, extensions); }
Example #27
Source File: WSDLModel.java From openjdk-8-source with GNU General Public License v2.0 | 2 votes |
/** * Parses WSDL from the given wsdlLoc and gives a {@link WSDLModel} built from it. * * @param wsdlEntityParser Works like an entityResolver to resolve WSDLs * @param resolver {@link XMLEntityResolver}, works at XML infoset level * @param isClientSide true - its invoked on the client, false means its invoked on the server * @param container - container in which the parser is run * @param extensions var args of {@link com.sun.xml.internal.ws.api.wsdl.parser.WSDLParserExtension}s * @return A {@link WSDLModel} built from the given wsdlLocation} * @throws java.io.IOException * @throws javax.xml.stream.XMLStreamException * @throws org.xml.sax.SAXException */ public static @NotNull WSDLModel parse(XMLEntityResolver.Parser wsdlEntityParser, XMLEntityResolver resolver, boolean isClientSide, @NotNull Container container, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { return parse(wsdlEntityParser, resolver, isClientSide, container, PolicyResolverFactory.create(),extensions); }
Example #28
Source File: WSDLModel.java From openjdk-8 with GNU General Public License v2.0 | 2 votes |
/** * Parses WSDL from the given wsdlLoc and gives a {@link WSDLModel} built from it. * * @param wsdlEntityParser Works like an entityResolver to resolve WSDLs * @param resolver {@link XMLEntityResolver}, works at XML infoset level * @param isClientSide true - its invoked on the client, false means its invoked on the server * @param extensions var args of {@link com.sun.xml.internal.ws.api.wsdl.parser.WSDLParserExtension}s * @return A {@link WSDLModel} built from the given wsdlLocation} * @throws java.io.IOException * @throws javax.xml.stream.XMLStreamException * @throws org.xml.sax.SAXException */ public static @NotNull WSDLModel parse(XMLEntityResolver.Parser wsdlEntityParser, XMLEntityResolver resolver, boolean isClientSide, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { return parse(wsdlEntityParser, resolver, isClientSide, Container.NONE, extensions); }
Example #29
Source File: WSDLModel.java From openjdk-8-source with GNU General Public License v2.0 | 2 votes |
/** * Parses WSDL from the given wsdlLoc and gives a {@link WSDLModel} built from it. * * @param wsdlEntityParser Works like an entityResolver to resolve WSDLs * @param resolver {@link XMLEntityResolver}, works at XML infoset level * @param isClientSide true - its invoked on the client, false means its invoked on the server * @param extensions var args of {@link com.sun.xml.internal.ws.api.wsdl.parser.WSDLParserExtension}s * @return A {@link WSDLModel} built from the given wsdlLocation} * @throws java.io.IOException * @throws javax.xml.stream.XMLStreamException * @throws org.xml.sax.SAXException */ public static @NotNull WSDLModel parse(XMLEntityResolver.Parser wsdlEntityParser, XMLEntityResolver resolver, boolean isClientSide, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { return parse(wsdlEntityParser, resolver, isClientSide, Container.NONE, extensions); }
Example #30
Source File: WSDLModel.java From openjdk-8 with GNU General Public License v2.0 | 2 votes |
/** * Parses WSDL from the given wsdlLoc and gives a {@link WSDLModel} built from it. * * @param wsdlEntityParser Works like an entityResolver to resolve WSDLs * @param resolver {@link XMLEntityResolver}, works at XML infoset level * @param isClientSide true - its invoked on the client, false means its invoked on the server * @param container - container in which the parser is run * @param extensions var args of {@link com.sun.xml.internal.ws.api.wsdl.parser.WSDLParserExtension}s * @return A {@link WSDLModel} built from the given wsdlLocation} * @throws java.io.IOException * @throws javax.xml.stream.XMLStreamException * @throws org.xml.sax.SAXException */ public static @NotNull WSDLModel parse(XMLEntityResolver.Parser wsdlEntityParser, XMLEntityResolver resolver, boolean isClientSide, @NotNull Container container, WSDLParserExtension... extensions) throws IOException, XMLStreamException, SAXException { return parse(wsdlEntityParser, resolver, isClientSide, container, PolicyResolverFactory.create(),extensions); }