com.sun.tools.internal.ws.api.wsdl.TWSDLExtensionHandler Java Examples
The following examples show how to use
com.sun.tools.internal.ws.api.wsdl.TWSDLExtensionHandler.
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: WSDLParser.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public WSDLParser(WsimportOptions options, ErrorReceiverFilter errReceiver, MetadataFinder forest) { this.extensionHandlers = new HashMap(); this.options = options; this.errReceiver = errReceiver; if (forest == null) { forest = new MetadataFinder(new WSDLInternalizationLogic(), options, errReceiver); forest.parseWSDL(); if (forest.isMexMetadata) { errReceiver.reset(); } } this.forest = forest; // register handlers for default extensions register(new SOAPExtensionHandler(extensionHandlers)); register(new HTTPExtensionHandler(extensionHandlers)); register(new MIMEExtensionHandler(extensionHandlers)); register(new JAXWSBindingExtensionHandler(extensionHandlers)); register(new SOAP12ExtensionHandler(extensionHandlers)); // MemberSubmission Addressing not supported by WsImport anymore see JAX_WS-1040 for details //register(new MemberSubmissionAddressingExtensionHandler(extensionHandlers, errReceiver, options.isExtensionMode())); register(new W3CAddressingExtensionHandler(extensionHandlers, errReceiver)); register(new W3CAddressingMetadataExtensionHandler(extensionHandlers, errReceiver)); register(new Policy12ExtensionHandler()); register(new Policy15ExtensionHandler()); for (TWSDLExtensionHandler te : ServiceFinder.find(TWSDLExtensionHandler.class)) { register(te); } }
Example #2
Source File: WSDLParser.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Node n, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(n.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(n.getLocalName(), n.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #3
Source File: WSDLParser.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(e.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(e.getLocalName(), e.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #4
Source File: WSDLParser.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public WSDLParser(WsimportOptions options, ErrorReceiverFilter errReceiver, MetadataFinder forest) { this.extensionHandlers = new HashMap(); this.options = options; this.errReceiver = errReceiver; if (forest == null) { forest = new MetadataFinder(new WSDLInternalizationLogic(), options, errReceiver); forest.parseWSDL(); if (forest.isMexMetadata) { errReceiver.reset(); } } this.forest = forest; // register handlers for default extensions register(new SOAPExtensionHandler(extensionHandlers)); register(new HTTPExtensionHandler(extensionHandlers)); register(new MIMEExtensionHandler(extensionHandlers)); register(new JAXWSBindingExtensionHandler(extensionHandlers)); register(new SOAP12ExtensionHandler(extensionHandlers)); // MemberSubmission Addressing not supported by WsImport anymore see JAX_WS-1040 for details //register(new MemberSubmissionAddressingExtensionHandler(extensionHandlers, errReceiver, options.isExtensionMode())); register(new W3CAddressingExtensionHandler(extensionHandlers, errReceiver)); register(new W3CAddressingMetadataExtensionHandler(extensionHandlers, errReceiver)); register(new Policy12ExtensionHandler()); register(new Policy15ExtensionHandler()); for (TWSDLExtensionHandler te : ServiceFinder.find(TWSDLExtensionHandler.class)) { register(te); } }
Example #5
Source File: WSDLParser.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Node n, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(n.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(n.getLocalName(), n.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #6
Source File: WSDLParser.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(e.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(e.getLocalName(), e.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #7
Source File: WSDLParser.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public WSDLParser(WsimportOptions options, ErrorReceiverFilter errReceiver, MetadataFinder forest) { this.extensionHandlers = new HashMap(); this.options = options; this.errReceiver = errReceiver; if (forest == null) { forest = new MetadataFinder(new WSDLInternalizationLogic(), options, errReceiver); forest.parseWSDL(); if (forest.isMexMetadata) { errReceiver.reset(); } } this.forest = forest; // register handlers for default extensions register(new SOAPExtensionHandler(extensionHandlers)); register(new HTTPExtensionHandler(extensionHandlers)); register(new MIMEExtensionHandler(extensionHandlers)); register(new JAXWSBindingExtensionHandler(extensionHandlers)); register(new SOAP12ExtensionHandler(extensionHandlers)); // MemberSubmission Addressing not supported by WsImport anymore see JAX_WS-1040 for details //register(new MemberSubmissionAddressingExtensionHandler(extensionHandlers, errReceiver, options.isExtensionMode())); register(new W3CAddressingExtensionHandler(extensionHandlers, errReceiver)); register(new W3CAddressingMetadataExtensionHandler(extensionHandlers, errReceiver)); register(new Policy12ExtensionHandler()); register(new Policy15ExtensionHandler()); for (TWSDLExtensionHandler te : ServiceFinder.find(TWSDLExtensionHandler.class)) { register(te); } }
Example #8
Source File: WSDLParser.java From hottub with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Node n, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(n.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(n.getLocalName(), n.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #9
Source File: WSDLParser.java From hottub with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(e.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(e.getLocalName(), e.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #10
Source File: WSDLParser.java From hottub with GNU General Public License v2.0 | 5 votes |
public WSDLParser(WsimportOptions options, ErrorReceiverFilter errReceiver, MetadataFinder forest) { this.extensionHandlers = new HashMap(); this.options = options; this.errReceiver = errReceiver; if (forest == null) { forest = new MetadataFinder(new WSDLInternalizationLogic(), options, errReceiver); forest.parseWSDL(); if (forest.isMexMetadata) { errReceiver.reset(); } } this.forest = forest; // register handlers for default extensions register(new SOAPExtensionHandler(extensionHandlers)); register(new HTTPExtensionHandler(extensionHandlers)); register(new MIMEExtensionHandler(extensionHandlers)); register(new JAXWSBindingExtensionHandler(extensionHandlers)); register(new SOAP12ExtensionHandler(extensionHandlers)); // MemberSubmission Addressing not supported by WsImport anymore see JAX_WS-1040 for details //register(new MemberSubmissionAddressingExtensionHandler(extensionHandlers, errReceiver, options.isExtensionMode())); register(new W3CAddressingExtensionHandler(extensionHandlers, errReceiver)); register(new W3CAddressingMetadataExtensionHandler(extensionHandlers, errReceiver)); register(new Policy12ExtensionHandler()); register(new Policy15ExtensionHandler()); for (TWSDLExtensionHandler te : ServiceFinder.find(TWSDLExtensionHandler.class)) { register(te); } }
Example #11
Source File: WSDLParser.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Node n, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(n.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(n.getLocalName(), n.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #12
Source File: WSDLParser.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(e.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(e.getLocalName(), e.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #13
Source File: WSDLParser.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public WSDLParser(WsimportOptions options, ErrorReceiverFilter errReceiver, MetadataFinder forest) { this.extensionHandlers = new HashMap(); this.options = options; this.errReceiver = errReceiver; if (forest == null) { forest = new MetadataFinder(new WSDLInternalizationLogic(), options, errReceiver); forest.parseWSDL(); if (forest.isMexMetadata) { errReceiver.reset(); } } this.forest = forest; // register handlers for default extensions register(new SOAPExtensionHandler(extensionHandlers)); register(new HTTPExtensionHandler(extensionHandlers)); register(new MIMEExtensionHandler(extensionHandlers)); register(new JAXWSBindingExtensionHandler(extensionHandlers)); register(new SOAP12ExtensionHandler(extensionHandlers)); // MemberSubmission Addressing not supported by WsImport anymore see JAX_WS-1040 for details //register(new MemberSubmissionAddressingExtensionHandler(extensionHandlers, errReceiver, options.isExtensionMode())); register(new W3CAddressingExtensionHandler(extensionHandlers, errReceiver)); register(new W3CAddressingMetadataExtensionHandler(extensionHandlers, errReceiver)); register(new Policy12ExtensionHandler()); register(new Policy15ExtensionHandler()); for (TWSDLExtensionHandler te : ServiceFinder.find(TWSDLExtensionHandler.class)) { register(te); } }
Example #14
Source File: WSDLParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Node n, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(n.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(n.getLocalName(), n.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #15
Source File: WSDLParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(e.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(e.getLocalName(), e.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #16
Source File: WSDLParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public WSDLParser(WsimportOptions options, ErrorReceiverFilter errReceiver, MetadataFinder forest) { this.extensionHandlers = new HashMap(); this.options = options; this.errReceiver = errReceiver; if (forest == null) { forest = new MetadataFinder(new WSDLInternalizationLogic(), options, errReceiver); forest.parseWSDL(); if (forest.isMexMetadata) { errReceiver.reset(); } } this.forest = forest; // register handlers for default extensions register(new SOAPExtensionHandler(extensionHandlers)); register(new HTTPExtensionHandler(extensionHandlers)); register(new MIMEExtensionHandler(extensionHandlers)); register(new JAXWSBindingExtensionHandler(extensionHandlers)); register(new SOAP12ExtensionHandler(extensionHandlers)); // MemberSubmission Addressing not supported by WsImport anymore see JAX_WS-1040 for details //register(new MemberSubmissionAddressingExtensionHandler(extensionHandlers, errReceiver, options.isExtensionMode())); register(new W3CAddressingExtensionHandler(extensionHandlers, errReceiver)); register(new W3CAddressingMetadataExtensionHandler(extensionHandlers, errReceiver)); register(new Policy12ExtensionHandler()); register(new Policy15ExtensionHandler()); for (TWSDLExtensionHandler te : ServiceFinder.find(TWSDLExtensionHandler.class)) { register(te); } }
Example #17
Source File: WSDLParser.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(e.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(e.getLocalName(), e.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #18
Source File: WSDLParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Node n, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(n.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(n.getLocalName(), n.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #19
Source File: WSDLParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(e.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(e.getLocalName(), e.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #20
Source File: WSDLParser.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Node n, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(n.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(n.getLocalName(), n.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #21
Source File: WSDLParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public WSDLParser(WsimportOptions options, ErrorReceiverFilter errReceiver, MetadataFinder forest) { this.extensionHandlers = new HashMap(); this.options = options; this.errReceiver = errReceiver; if (forest == null) { forest = new MetadataFinder(new WSDLInternalizationLogic(), options, errReceiver); forest.parseWSDL(); if (forest.isMexMetadata) { errReceiver.reset(); } } this.forest = forest; // register handlers for default extensions register(new SOAPExtensionHandler(extensionHandlers)); register(new HTTPExtensionHandler(extensionHandlers)); register(new MIMEExtensionHandler(extensionHandlers)); register(new JAXWSBindingExtensionHandler(extensionHandlers)); register(new SOAP12ExtensionHandler(extensionHandlers)); // MemberSubmission Addressing not supported by WsImport anymore see JAX_WS-1040 for details //register(new MemberSubmissionAddressingExtensionHandler(extensionHandlers, errReceiver, options.isExtensionMode())); register(new W3CAddressingExtensionHandler(extensionHandlers, errReceiver)); register(new W3CAddressingMetadataExtensionHandler(extensionHandlers, errReceiver)); register(new Policy12ExtensionHandler()); register(new Policy15ExtensionHandler()); for (TWSDLExtensionHandler te : ServiceFinder.find(TWSDLExtensionHandler.class)) { register(te); } }
Example #22
Source File: WSDLParser.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Node n, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(n.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(n.getLocalName(), n.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #23
Source File: WSDLParser.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private boolean handleExtension( TWSDLParserContextImpl context, TWSDLExtensible entity, Element e) { TWSDLExtensionHandler h = (TWSDLExtensionHandler) extensionHandlers.get(e.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(e.getLocalName(), e.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); } }
Example #24
Source File: WSDLParser.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public WSDLParser(WsimportOptions options, ErrorReceiverFilter errReceiver, MetadataFinder forest) { this.extensionHandlers = new HashMap(); this.options = options; this.errReceiver = errReceiver; if (forest == null) { forest = new MetadataFinder(new WSDLInternalizationLogic(), options, errReceiver); forest.parseWSDL(); if (forest.isMexMetadata) { errReceiver.reset(); } } this.forest = forest; // register handlers for default extensions register(new SOAPExtensionHandler(extensionHandlers)); register(new HTTPExtensionHandler(extensionHandlers)); register(new MIMEExtensionHandler(extensionHandlers)); register(new JAXWSBindingExtensionHandler(extensionHandlers)); register(new SOAP12ExtensionHandler(extensionHandlers)); // MemberSubmission Addressing not supported by WsImport anymore see JAX_WS-1040 for details //register(new MemberSubmissionAddressingExtensionHandler(extensionHandlers, errReceiver, options.isExtensionMode())); register(new W3CAddressingExtensionHandler(extensionHandlers, errReceiver)); register(new W3CAddressingMetadataExtensionHandler(extensionHandlers, errReceiver)); register(new Policy12ExtensionHandler()); register(new Policy15ExtensionHandler()); for (TWSDLExtensionHandler te : ServiceFinder.find(TWSDLExtensionHandler.class)) { register(te); } }
Example #25
Source File: WSDLParser.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
private void register(TWSDLExtensionHandler h) { extensionHandlers.put(h.getNamespaceURI(), h); }
Example #26
Source File: WSDLParser.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
private void register(TWSDLExtensionHandler h) { extensionHandlers.put(h.getNamespaceURI(), h); }
Example #27
Source File: WSDLParser.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private void register(TWSDLExtensionHandler h) { extensionHandlers.put(h.getNamespaceURI(), h); }
Example #28
Source File: WSDLParser.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
private void register(TWSDLExtensionHandler h) { extensionHandlers.put(h.getNamespaceURI(), h); }
Example #29
Source File: WSDLParser.java From hottub with GNU General Public License v2.0 | 4 votes |
private void register(TWSDLExtensionHandler h) { extensionHandlers.put(h.getNamespaceURI(), h); }
Example #30
Source File: WSDLParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
private void register(TWSDLExtensionHandler h) { extensionHandlers.put(h.getNamespaceURI(), h); }