@Override public boolean handleOutputExtension(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("")) { return warnEmptyAction(parent, context.getLocation(e)); } ((Output) parent).setAction(actionValue); return true; } else { return fail(context.getLocation(e)); } }
@Override public boolean handleOutputExtension(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("")) { return warnEmptyAction(parent, context.getLocation(e)); } ((Output) parent).setAction(actionValue); return true; } else { return fail(context.getLocation(e)); } }
@Override public boolean handleInputExtension(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("")) { return warnEmptyAction(parent, context.getLocation(e)); } ((Input) parent).setAction(actionValue); return true; } else { return fail(context.getLocation(e)); } }
@Override public boolean handleInputExtension(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("")) { return warnEmptyAction(parent, context.getLocation(e)); } ((Input) parent).setAction(actionValue); return true; } else { return fail(context.getLocation(e)); } }
@Override public boolean handleInputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { return warnEmptyAction(parent, context.getLocation(e)); } ((Input)parent).setAction(actionValue); return true; }
@Override public boolean handleOutputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { return warnEmptyAction(parent,context.getLocation(e)); } ((Output)parent).setAction(actionValue); return true; }
@Override public boolean handleOutputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { return warnEmptyAction(parent,context.getLocation(e)); } ((Output)parent).setAction(actionValue); return true; }
@Override public boolean handleInputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { return warnEmptyAction(parent, context.getLocation(e)); } ((Input)parent).setAction(actionValue); return true; }
@Override public boolean handleOutputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { return warnEmptyAction(parent,context.getLocation(e)); } ((Output)parent).setAction(actionValue); return true; }
@Override public boolean handleInputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { return warnEmptyAction(parent, context.getLocation(e)); } ((Input)parent).setAction(actionValue); return true; }
@Override public boolean handleInputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { return warnEmptyAction(parent, context.getLocation(e)); } ((Input)parent).setAction(actionValue); return true; }
@Override public boolean handleOutputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { return warnEmptyAction(parent,context.getLocation(e)); } ((Output)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) { 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; }
protected MIMEXml parseMIMEXml(TWSDLParserContext context, Element e) { context.push(); context.registerNamespaces(e); MIMEXml mimeXml = new MIMEXml(context.getLocation(e)); String part = XmlUtil.getAttributeOrNull(e, Constants.ATTR_PART); if (part != null) { mimeXml.setPart(part); } context.pop(); // context.fireDoneParsingEntity(MIMEConstants.QNAME_MIME_XML, mimeXml); return mimeXml; } }
protected MIMEXml parseMIMEXml(TWSDLParserContext context, Element e) { context.push(); context.registerNamespaces(e); MIMEXml mimeXml = new MIMEXml(context.getLocation(e)); String part = XmlUtil.getAttributeOrNull(e, Constants.ATTR_PART); if (part != null) { mimeXml.setPart(part); } context.pop(); // context.fireDoneParsingEntity(MIMEConstants.QNAME_MIME_XML, mimeXml); return mimeXml; } }
protected MIMEXml parseMIMEXml(TWSDLParserContext context, Element e) { context.push(); context.registerNamespaces(e); MIMEXml mimeXml = new MIMEXml(context.getLocation(e)); String part = XmlUtil.getAttributeOrNull(e, Constants.ATTR_PART); if (part != null) { mimeXml.setPart(part); } context.pop(); // context.fireDoneParsingEntity(MIMEConstants.QNAME_MIME_XML, mimeXml); return mimeXml; } }
protected MIMEXml parseMIMEXml(TWSDLParserContext context, Element e) { context.push(); context.registerNamespaces(e); MIMEXml mimeXml = new MIMEXml(context.getLocation(e)); String part = XmlUtil.getAttributeOrNull(e, Constants.ATTR_PART); if (part != null) { mimeXml.setPart(part); } context.pop(); // context.fireDoneParsingEntity(MIMEConstants.QNAME_MIME_XML, mimeXml); return mimeXml; } }