/** * 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); } }
/** * 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); } }
/** * 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); } }
/** * 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 boolean warnEmptyAction(TWSDLExtensible parent, Locator pos) { errReceiver.warning(pos, WsdlMessages.WARNING_INPUT_OUTPUT_EMPTY_ACTION(parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; } }
private boolean warnEmptyAction(TWSDLExtensible parent, Locator pos) { errReceiver.warning(pos, WsdlMessages.WARNING_INPUT_OUTPUT_EMPTY_ACTION(parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; } }
private boolean warnEmptyAction(TWSDLExtensible parent, Locator pos) { errReceiver.warning(pos, WsdlMessages.WARNING_INPUT_OUTPUT_EMPTY_ACTION(parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; } }
private boolean warnEmptyAction(TWSDLExtensible parent, Locator pos) { errReceiver.warning(pos, WsdlMessages.WARNING_INPUT_OUTPUT_EMPTY_ACTION(parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; } }
private boolean warnEmptyAction(TWSDLExtensible parent, Locator pos) { errReceiver.warning(pos, WsdlMessages.WARNING_INPUT_OUTPUT_EMPTY_ACTION(parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; } }
private boolean warnEmptyAction(TWSDLExtensible parent, Locator pos) { errReceiver.warning(pos, WsdlMessages.WARNING_INPUT_OUTPUT_EMPTY_ACTION(parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; } }
private boolean warnEmptyAction(TWSDLExtensible parent, Locator pos) { errReceiver.warning(pos, WsdlMessages.WARNING_INPUT_OUTPUT_EMPTY_ACTION(parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; } }
private boolean warnEmptyAction(TWSDLExtensible parent, Locator pos) { errReceiver.warning(pos, WsdlMessages.WARNING_INPUT_OUTPUT_EMPTY_ACTION(parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; } }
@Override public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; // keep compiler happy } ((Fault)parent).setAction(actionValue); return true; }
@Override public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; // keep compiler happy } ((Fault)parent).setAction(actionValue); return true; }
@Override public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; // keep compiler happy } ((Fault)parent).setAction(actionValue); return true; }
@Override public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; // keep compiler happy } ((Fault)parent).setAction(actionValue); return true; }
@Override public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { if (extensionModeOn) { warn(context.getLocation(e)); String actionValue = XmlUtil.getAttributeNSOrNull(e, WSA_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; // keep compiler happy } ((Fault) parent).setAction(actionValue); return true; } else { return fail(context.getLocation(e)); } }
@Override public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { if (extensionModeOn) { warn(context.getLocation(e)); String actionValue = XmlUtil.getAttributeNSOrNull(e, WSA_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; // keep compiler happy } ((Fault) parent).setAction(actionValue); return true; } else { return fail(context.getLocation(e)); } }
@Override public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { if (extensionModeOn) { warn(context.getLocation(e)); String actionValue = XmlUtil.getAttributeNSOrNull(e, WSA_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; // keep compiler happy } ((Fault) parent).setAction(actionValue); return true; } else { return fail(context.getLocation(e)); } }
@Override public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { if (extensionModeOn) { warn(context.getLocation(e)); String actionValue = XmlUtil.getAttributeNSOrNull(e, WSA_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); return false; // keep compiler happy } ((Fault) parent).setAction(actionValue); return true; } else { return fail(context.getLocation(e)); } }