com.sun.xml.internal.ws.policy.jaxws.PolicyWSDLParserExtension Java Examples
The following examples show how to use
com.sun.xml.internal.ws.policy.jaxws.PolicyWSDLParserExtension.
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 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 #2
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 #3
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 #4
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 #5
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 #6
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 #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-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])); }