Codota Logo
Fault.setAction
Code IndexAdd Codota to your IDE (free)

How to use
setAction
method
in
com.sun.tools.ws.wsdl.document.Fault

Best Java code snippets using com.sun.tools.ws.wsdl.document.Fault.setAction (Showing top 8 results out of 315)

  • Common ways to obtain Fault
private void myMethod () {
Fault f =
  • Codota IconLocatorTable locatorTable;Element e;new Fault(locatorTable.getStartLocation(e))
  • Smart code suggestions by Codota
}
origin: javaee/metro-jax-ws

@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;
}
origin: com.sun.xml.ws/jaxws-tools

@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;
}
origin: org.glassfish.metro/webservices-tools

@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;
}
origin: javaee/metro-jax-ws

@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;
}
origin: com.sun.xml.ws/jaxws-tools

@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));
  }
}
origin: javaee/metro-jax-ws

@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));
  }
}
origin: org.glassfish.metro/webservices-tools

@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));
  }
}
origin: javaee/metro-jax-ws

@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));
  }
}
com.sun.tools.ws.wsdl.documentFaultsetAction

Popular methods of Fault

  • <init>
  • accept
  • failValidation
  • getAction
  • getDocumentation
  • getElementName
  • getMessage
  • getName
  • resolveMessage
  • setDocumentation
  • setMessage
  • setName
  • setMessage,
  • setName,
  • setParent

Popular in Java

  • Reading from database using SQL prepared statement
  • getContentResolver (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getApplicationContext (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Notification (javax.management)
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • BoxLayout (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now