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

  • Making http requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setContentView (Activity)
  • getResourceAsStream (ClassLoader)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top Sublime Text plugins
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