congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ModelerUtils.createJAXBStructureType
Code IndexAdd Tabnine to your IDE (free)

How to use
createJAXBStructureType
method
in
com.sun.tools.ws.processor.modeler.wsdl.ModelerUtils

Best Java code snippets using com.sun.tools.ws.processor.modeler.wsdl.ModelerUtils.createJAXBStructureType (Showing top 12 results out of 315)

origin: javaee/metro-jax-ws

/**
 * This method uses JAXBStructured type (wrapper style operations) and
 * unwraps it to create list of parameters.
 *
 *
 * @param jaxbType instance of JAXBType, could be JAXBStructured type.
 * @param block The Block (body/Header/Attachment) to which the created Parameter belong.
 * @return list of Parameters
 */
public static List<Parameter> createUnwrappedParameters(JAXBType jaxbType,
    Block block) {
  List<Parameter> paramList = new ArrayList<Parameter>();
  JAXBStructuredType type = null;
  if (!(jaxbType instanceof JAXBStructuredType))
    type = createJAXBStructureType(jaxbType);
  else
    type = (JAXBStructuredType) jaxbType;
  JavaStructureType jst = new JavaStructureType(jaxbType.getJavaType()
      .getRealName(), true, type);
  type.setJavaType(jst);
  block.setType(type);
  List memberList = jaxbType.getWrapperChildren();
  Iterator props = memberList.iterator();
  while (props.hasNext()) {
    JAXBProperty prop = (JAXBProperty) props.next();
    paramList.add(createUnwrappedParameter(prop, jaxbType, block, type,
        jst));
  }
  return paramList;
}
origin: com.sun.xml.ws/jaxws-tools

/**
 * This method uses JAXBStructured type (wrapper style operations) and
 * unwraps it to create list of parameters.
 *
 *
 * @param jaxbType instance of JAXBType, could be JAXBStructured type.
 * @param block The Block (body/Header/Attachment) to which the created Parameter belong.
 * @return list of Parameters
 */
public static List<Parameter> createUnwrappedParameters(JAXBType jaxbType,
    Block block) {
  List<Parameter> paramList = new ArrayList<Parameter>();
  JAXBStructuredType type = null;
  if (!(jaxbType instanceof JAXBStructuredType))
    type = createJAXBStructureType(jaxbType);
  else
    type = (JAXBStructuredType) jaxbType;
  JavaStructureType jst = new JavaStructureType(jaxbType.getJavaType()
      .getRealName(), true, type);
  type.setJavaType(jst);
  block.setType(type);
  List memberList = jaxbType.getWrapperChildren();
  Iterator props = memberList.iterator();
  while (props.hasNext()) {
    JAXBProperty prop = (JAXBProperty) props.next();
    paramList.add(createUnwrappedParameter(prop, jaxbType, block, type,
        jst));
  }
  return paramList;
}
origin: javaee/metro-jax-ws

/**
 * This method uses JAXBStructured type (wrapper style operations) and
 * unwraps it to create list of parameters.
 *
 *
 * @param jaxbType instance of JAXBType, could be JAXBStructured type.
 * @param block The Block (body/Header/Attachment) to which the created Parameter belong.
 * @return list of Parameters
 */
public static List<Parameter> createUnwrappedParameters(JAXBType jaxbType,
    Block block) {
  List<Parameter> paramList = new ArrayList<Parameter>();
  JAXBStructuredType type = null;
  if (!(jaxbType instanceof JAXBStructuredType))
    type = createJAXBStructureType(jaxbType);
  else
    type = (JAXBStructuredType) jaxbType;
  JavaStructureType jst = new JavaStructureType(jaxbType.getJavaType()
      .getRealName(), true, type);
  type.setJavaType(jst);
  block.setType(type);
  List memberList = jaxbType.getWrapperChildren();
  Iterator props = memberList.iterator();
  while (props.hasNext()) {
    JAXBProperty prop = (JAXBProperty) props.next();
    paramList.add(createUnwrappedParameter(prop, jaxbType, block, type,
        jst));
  }
  return paramList;
}
origin: org.glassfish.metro/webservices-tools

/**
 * This method uses JAXBStructured type (wrapper style operations) and
 * unwraps it to create list of parameters.
 *
 *
 * @param jaxbType instance of JAXBType, could be JAXBStructured type.
 * @param block The Block (body/Header/Attachment) to which the created Parameter belong.
 * @return list of Parameters
 */
public static List<Parameter> createUnwrappedParameters(JAXBType jaxbType,
    Block block) {
  List<Parameter> paramList = new ArrayList<Parameter>();
  JAXBStructuredType type = null;
  if (!(jaxbType instanceof JAXBStructuredType))
    type = createJAXBStructureType(jaxbType);
  else
    type = (JAXBStructuredType) jaxbType;
  JavaStructureType jst = new JavaStructureType(jaxbType.getJavaType()
      .getRealName(), true, type);
  type.setJavaType(jst);
  block.setType(type);
  List memberList = jaxbType.getWrapperChildren();
  Iterator props = memberList.iterator();
  while (props.hasNext()) {
    JAXBProperty prop = (JAXBProperty) props.next();
    paramList.add(createUnwrappedParameter(prop, jaxbType, block, type,
        jst));
  }
  return paramList;
}
origin: com.sun.xml.ws/jaxws-tools

if (unwrappable) {
  JAXBStructuredType jaxbRequestType = ModelerUtils.createJAXBStructureType(jaxbReqType);
  reqBlock = new Block(reqBodyName, jaxbRequestType, part);
  if (ModelerUtils.isBoundToSOAPBody(part)) {
origin: javaee/metro-jax-ws

if (unwrappable) {
  JAXBStructuredType jaxbRequestType = ModelerUtils.createJAXBStructureType(jaxbReqType);
  reqBlock = new Block(reqBodyName, jaxbRequestType, part);
  if (ModelerUtils.isBoundToSOAPBody(part)) {
origin: org.glassfish.metro/webservices-tools

if (unwrappable) {
  JAXBStructuredType jaxbRequestType = ModelerUtils.createJAXBStructureType(jaxbReqType);
  reqBlock = new Block(reqBodyName, jaxbRequestType, part);
  if (ModelerUtils.isBoundToSOAPBody(part)) {
origin: javaee/metro-jax-ws

if (unwrappable) {
  JAXBStructuredType jaxbRequestType = ModelerUtils.createJAXBStructureType(jaxbReqType);
  reqBlock = new Block(reqBodyName, jaxbRequestType, part);
  if (ModelerUtils.isBoundToSOAPBody(part)) {
origin: org.glassfish.metro/webservices-tools

if (unwrappable) {
  JAXBStructuredType jaxbStructType = ModelerUtils.createJAXBStructureType(jaxbType);
  block = new Block(reqBodyName, jaxbStructType, part);
  if (ModelerUtils.isBoundToSOAPBody(part)) {
origin: javaee/metro-jax-ws

if (unwrappable) {
  JAXBStructuredType jaxbStructType = ModelerUtils.createJAXBStructureType(jaxbType);
  block = new Block(reqBodyName, jaxbStructType, part);
  if (ModelerUtils.isBoundToSOAPBody(part)) {
origin: com.sun.xml.ws/jaxws-tools

if (unwrappable) {
  JAXBStructuredType jaxbStructType = ModelerUtils.createJAXBStructureType(jaxbType);
  block = new Block(reqBodyName, jaxbStructType, part);
  if (ModelerUtils.isBoundToSOAPBody(part)) {
origin: javaee/metro-jax-ws

if (unwrappable) {
  JAXBStructuredType jaxbStructType = ModelerUtils.createJAXBStructureType(jaxbType);
  block = new Block(reqBodyName, jaxbStructType, part);
  if (ModelerUtils.isBoundToSOAPBody(part)) {
com.sun.tools.ws.processor.modeler.wsdlModelerUtilscreateJAXBStructureType

Javadoc

This method should be called incase of wrapper style operations. This is equivalent to wrapper style schema component or JAXB Mapping object.

Popular methods of ModelerUtils

  • createParameter
    Called for non-wrapper style operations. It returns a Parameter constructed using the JAXBType and t
  • createRpcLitParameters
  • createUnwrappedParameter
  • createUnwrappedParameters
    This method uses JAXBStructured type (wrapper style operations) and unwraps it to create list of par
  • getParameter
    Get Parameter from the list of parameters.
  • getRawTypeName
  • isBoundToMimeContent
  • isBoundToSOAPBody
  • isBoundToSOAPHeader
  • isEquivalentLiteralStructures
    Compares two JAXBStructures.
  • isUnbound
  • isUnbound

Popular in Java

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getApplicationContext (Context)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Permission (java.security)
    Legacy security code; do not use.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now