private void register(TWSDLExtensionHandler h) { extensionHandlers.put(h.getNamespaceURI(), h); }
return handleDefinitionsExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_TYPES)) { return handleTypesExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_PORT_TYPE)) { return handlePortTypeExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_BINDING)) { return handleBindingExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_OPERATION)) { return handleOperationExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_INPUT)) { return handleInputExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_OUTPUT)) { return handleOutputExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_FAULT)) { return handleFaultExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_SERVICE)) { return handleServiceExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_PORT)) { return handlePortExtension(context, parent, e); } else { return false;
/** * Callback that gets called by the WSDL parser or any other extension handler on finding an extensibility element * that it can't understand. * * @param parent The Parent element within which the extensibility element is defined * @param e The extensibility elemenet * @return false if there was some error during the extension handling otherwise returns true. If returned false * then the WSDL parser can abort if the wsdl extensibility element had <code>required</code> attribute set to true */ public boolean doHandleExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { if (parent.getWSDLElementName().equals(MIMEConstants.QNAME_PART)) { return handleMIMEPartExtension(context, parent, e); } else { return super.doHandleExtension(context, parent, e); } }
return handleDefinitionsExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_TYPES)) { return handleTypesExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_PORT_TYPE)) { return handlePortTypeExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_BINDING)) { return handleBindingExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_OPERATION)) { return handleOperationExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_INPUT)) { return handleInputExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_OUTPUT)) { return handleOutputExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_FAULT)) { return handleFaultExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_SERVICE)) { return handleServiceExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_PORT)) { return handlePortExtension(context, parent, e); } else { return false;
/** * Callback that gets called by the WSDL parser or any other extension handler on finding an extensibility element * that it can't understand. * * @param parent The Parent element within which the extensibility element is defined * @param e The extensibility elemenet * @return false if there was some error during the extension handling otherwise returns true. If returned false * then the WSDL parser can abort if the wsdl extensibility element had <code>required</code> attribute set to true */ public boolean doHandleExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { if (parent.getWSDLElementName().equals(MIMEConstants.QNAME_PART)) { return handleMIMEPartExtension(context, parent, e); } else { return super.doHandleExtension(context, parent, e); } }
return handleDefinitionsExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_TYPES)) { return handleTypesExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_PORT_TYPE)) { return handlePortTypeExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_BINDING)) { return handleBindingExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_OPERATION)) { return handleOperationExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_INPUT)) { return handleInputExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_OUTPUT)) { return handleOutputExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_FAULT)) { return handleFaultExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_SERVICE)) { return handleServiceExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_PORT)) { return handlePortExtension(context, parent, e); } else { return false;
/** * Callback that gets called by the WSDL parser or any other extension handler on finding an extensibility element * that it can't understand. * * @param parent The Parent element within which the extensibility element is defined * @param e The extensibility elemenet * @return false if there was some error during the extension handling otherwise returns true. If returned false * then the WSDL parser can abort if the wsdl extensibility element had <code>required</code> attribute set to true */ public boolean doHandleExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { if (parent.getWSDLElementName().equals(MIMEConstants.QNAME_PART)) { return handleMIMEPartExtension(context, parent, e); } else { return super.doHandleExtension(context, parent, e); } }
private void register(TWSDLExtensionHandler h) { extensionHandlers.put(h.getNamespaceURI(), h); }
return handleDefinitionsExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_TYPES)) { return handleTypesExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_PORT_TYPE)) { return handlePortTypeExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_BINDING)) { return handleBindingExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_OPERATION)) { return handleOperationExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_INPUT)) { return handleInputExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_OUTPUT)) { return handleOutputExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_FAULT)) { return handleFaultExtension(context, parent, e); } else if ( parent.getWSDLElementName().equals(WSDLConstants.QNAME_SERVICE)) { return handleServiceExtension(context, parent, e); } else if (parent.getWSDLElementName().equals(WSDLConstants.QNAME_PORT)) { return handlePortExtension(context, parent, e); } else { return false;
/** * Callback that gets called by the WSDL parser or any other extension handler on finding an extensibility element * that it can't understand. * * @param parent The Parent element within which the extensibility element is defined * @param e The extensibility elemenet * @return false if there was some error during the extension handling otherwise returns true. If returned false * then the WSDL parser can abort if the wsdl extensibility element had <code>required</code> attribute set to true */ public boolean doHandleExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { if (parent.getWSDLElementName().equals(MIMEConstants.QNAME_PART)) { return handleMIMEPartExtension(context, parent, e); } else { return super.doHandleExtension(context, parent, e); } }
private void register(TWSDLExtensionHandler h) { extensionHandlers.put(h.getNamespaceURI(), h); }
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); } }
private void register(TWSDLExtensionHandler h) { extensionHandlers.put(h.getNamespaceURI(), h); }
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); } }
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); } }
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); } }
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); } }
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); } }
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); } }
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); } }