Tabnine Logo
XmlSchemaAll.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.ws.commons.schema.XmlSchemaAll
constructor

Best Java code snippets using org.apache.ws.commons.schema.XmlSchemaAll.<init> (Showing top 4 results out of 315)

origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

private XmlSchemaAll handleAll(XmlSchema schema, Element allEl,
                Element schemaEl) {
  XmlSchemaAll all = new XmlSchemaAll();
   //handle min and max occurences
  all.minOccurs = getMinOccurs(allEl);
  all.maxOccurs = getMaxOccurs(allEl);
  for (Element el = XDOMUtil.getFirstChildElementNS(allEl, XmlSchema.SCHEMA_NS);
     el != null; el = XDOMUtil.getNextSiblingElementNS(el, XmlSchema.SCHEMA_NS)) {
    if (el.getLocalName().equals("element")) {
      XmlSchemaElement element = handleElement(schema, el, schemaEl, false);
      all.items.add(element);
    } else if (el.getLocalName().equals("annotation")) {
      XmlSchemaAnnotation annotation = handleAnnotation(el);
      all.setAnnotation(annotation);
    }
  }
  return all;
}
origin: org.apache.ws.schema/XmlSchema

private XmlSchemaAll handleAll(XmlSchema schema, Element allEl,
    Element schemaEl) {
  XmlSchemaAll all = new XmlSchemaAll();
  //handle min and max occurences
  all.minOccurs = getMinOccurs(allEl);
  all.maxOccurs = getMaxOccurs(allEl);
  for (Element el = XDOMUtil.getFirstChildElementNS(allEl,
      XmlSchema.SCHEMA_NS); el != null; el = XDOMUtil
      .getNextSiblingElementNS(el, XmlSchema.SCHEMA_NS)) {
    if (el.getLocalName().equals("element")) {
      XmlSchemaElement element = handleElement(schema, el, schemaEl,
          false);
      all.items.add(element);
    } else if (el.getLocalName().equals("annotation")) {
      XmlSchemaAnnotation annotation = handleAnnotation(el);
      all.setAnnotation(annotation);
    }
  }
  return all;
}
origin: org.apache.ws.commons.schema/XmlSchema

private XmlSchemaAll handleAll(XmlSchema schema, Element allEl,
    Element schemaEl) {
  XmlSchemaAll all = new XmlSchemaAll();
  //handle min and max occurences
  all.minOccurs = getMinOccurs(allEl);
  all.maxOccurs = getMaxOccurs(allEl);
  for (Element el = XDOMUtil.getFirstChildElementNS(allEl,
      XmlSchema.SCHEMA_NS); el != null; el = XDOMUtil
      .getNextSiblingElementNS(el, XmlSchema.SCHEMA_NS)) {
    if (el.getLocalName().equals("element")) {
      XmlSchemaElement element = handleElement(schema, el, schemaEl,
          false);
      all.items.add(element);
    } else if (el.getLocalName().equals("annotation")) {
      XmlSchemaAnnotation annotation = handleAnnotation(el);
      all.setAnnotation(annotation);
    }
  }
  return all;
}
origin: org.wso2.carbon.data/org.wso2.carbon.dataservices.core

  sequence = (XmlSchemaAll) particle;
} else {
  sequence = new XmlSchemaAll();
  complexType.setParticle(sequence);
org.apache.ws.commons.schemaXmlSchemaAll<init>

Javadoc

Creates new XmlSchemaAll

Popular methods of XmlSchemaAll

  • getItems
  • setAnnotation
  • setMinOccurs

Popular in Java

  • Updating database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • findViewById (Activity)
  • setScale (BigDecimal)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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