Codota Logo
OperationInfo.hasInput
Code IndexAdd Codota to your IDE (free)

How to use
hasInput
method
in
org.apache.cxf.service.model.OperationInfo

Best Java code snippets using org.apache.cxf.service.model.OperationInfo.hasInput (Showing top 8 results out of 315)

  • Common ways to obtain OperationInfo
private void myMethod () {
OperationInfo o =
  • Codota IconBindingOperationInfo bop;bop.getOperationInfo()
  • Smart code suggestions by Codota
}
origin: apache/cxf

  protected Collection<JavaClass> generateBeanClasses(final ServiceInfo serviceInfo) {
    Collection<JavaClass> wrapperClasses = new HashSet<>();

    for (OperationInfo op : serviceInfo.getInterface().getOperations()) {
      if (op.getUnwrappedOperation() != null) {
        if (op.hasInput()) {
          RequestWrapper requestWrapper = new RequestWrapper();
          requestWrapper.setOperationInfo(op);
          JavaClass jClass = requestWrapper.buildWrapperBeanClass();

          if (requestWrapper.isWrapperBeanClassNotExist()) {
            wrapperClasses.add(jClass);
          }
        }
        if (op.hasOutput()) {
          ResponseWrapper responseWrapper = new ResponseWrapper();
          responseWrapper.setOperationInfo(op);
          JavaClass jClass = responseWrapper.buildWrapperBeanClass();

          if (responseWrapper.isWrapperBeanClassNotExist()) {
            wrapperClasses.add(jClass);
          }
        }
      }
    }
    return wrapperClasses;
  }
}
origin: org.apache.cxf/cxf-tools-java2ws

  protected Collection<JavaClass> generateBeanClasses(final ServiceInfo serviceInfo) {
    Collection<JavaClass> wrapperClasses = new HashSet<>();

    for (OperationInfo op : serviceInfo.getInterface().getOperations()) {
      if (op.getUnwrappedOperation() != null) {
        if (op.hasInput()) {
          RequestWrapper requestWrapper = new RequestWrapper();
          requestWrapper.setOperationInfo(op);
          JavaClass jClass = requestWrapper.buildWrapperBeanClass();

          if (requestWrapper.isWrapperBeanClassNotExist()) {
            wrapperClasses.add(jClass);
          }
        }
        if (op.hasOutput()) {
          ResponseWrapper responseWrapper = new ResponseWrapper();
          responseWrapper.setOperationInfo(op);
          JavaClass jClass = responseWrapper.buildWrapperBeanClass();

          if (responseWrapper.isWrapperBeanClassNotExist()) {
            wrapperClasses.add(jClass);
          }
        }
      }
    }
    return wrapperClasses;
  }
}
origin: org.apache.cxf/cxf-bundle-jaxrs

if (o.hasInput()) {
  MessageInfo input = o.getInput();
  MessagePartInfo part = input.getMessageParts().get(0);
origin: org.apache.cxf/cxf-rt-core

if (o.hasInput()) {
  MessageInfo input = o.getInput();
  MessagePartInfo part = input.getMessageParts().get(0);
origin: org.apache.cxf/cxf-rt-core

protected void initializeWrappedSchema(ServiceInfo serviceInfo) {
  for (OperationInfo op : serviceInfo.getInterface().getOperations()) {
    if (op.getUnwrappedOperation() != null) {
      if (op.hasInput()) {
        if (op.getInput().getMessageParts().get(0).getTypeClass() == null) {
origin: org.apache.cxf/cxf-bundle-jaxrs

protected void initializeWrappedSchema(ServiceInfo serviceInfo) {
  for (OperationInfo op : serviceInfo.getInterface().getOperations()) {
    if (op.getUnwrappedOperation() != null) {
      if (op.hasInput()) {
        if (op.getInput().getMessageParts().get(0).getTypeClass() == null) {
origin: apache/cxf

if (o.hasInput()) {
  MessageInfo input = o.getInput();
  MessagePartInfo part = input.getFirstMessagePart();
origin: apache/cxf

protected void initializeWrappedSchema(ServiceInfo serviceInfo) {
  for (OperationInfo op : serviceInfo.getInterface().getOperations()) {
    if (op.getUnwrappedOperation() != null) {
      if (op.hasInput()) {
        MessagePartInfo fmpi = op.getInput().getFirstMessagePart();
        if (fmpi.getTypeClass() == null) {
org.apache.cxf.service.modelOperationInfohasInput

Popular methods of OperationInfo

  • getName
    Returns the name of the Operation.
  • getInput
  • getOutput
  • getInterface
  • getInputName
  • getProperty
  • getUnwrappedOperation
  • isOneWay
  • getFaults
    Returns all faults for this operation.
  • getOutputName
  • isUnwrapped
  • isUnwrappedCapable
  • isUnwrapped,
  • isUnwrappedCapable,
  • setProperty,
  • setInput,
  • setOutput,
  • createMessage,
  • hasOutput,
  • addFault,
  • hasFaults,
  • equals

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • putExtra (Intent)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
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