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

How to use
getItems
method
in
org.apache.ws.commons.schema.XmlSchemaAll

Best Java code snippets using org.apache.ws.commons.schema.XmlSchemaAll.getItems (Showing top 16 results out of 315)

origin: apache/cxf

private void addCrossImports(XmlSchema schema, XmlSchemaAll all) {
  for (XmlSchemaObjectBase seqMember : all.getItems()) {
    if (seqMember instanceof XmlSchemaElement) {
      addElementCrossImportsElement(schema, (XmlSchemaElement)seqMember);
    }
  }
}
origin: org.apache.cxf/cxf-api

private void addCrossImports(XmlSchema schema, XmlSchemaAll all) {
  for (XmlSchemaObjectBase seqMember : all.getItems()) {
    if (seqMember instanceof XmlSchemaElement) {
      addElementCrossImportsElement(schema, (XmlSchemaElement)seqMember);
    }
  }
}
origin: org.apache.cxf/cxf-bundle-jaxrs

private void addCrossImports(XmlSchema schema, XmlSchemaAll all) {
  for (XmlSchemaObjectBase seqMember : all.getItems()) {
    if (seqMember instanceof XmlSchemaElement) {
      addElementCrossImportsElement(schema, (XmlSchemaElement)seqMember);
    }
  }
}
origin: org.apache.cxf/cxf-core

private void addCrossImports(XmlSchema schema, XmlSchemaAll all) {
  for (XmlSchemaObjectBase seqMember : all.getItems()) {
    if (seqMember instanceof XmlSchemaElement) {
      addElementCrossImportsElement(schema, (XmlSchemaElement)seqMember);
    }
  }
}
origin: org.apache.cxf/cxf-common-utilities

private void addCrossImports(XmlSchema schema, XmlSchemaAll all) {
  for (XmlSchemaObject seqMember : all.getItems()) {
    if (seqMember instanceof XmlSchemaElement) {
      addElementCrossImportsElement(schema, (XmlSchemaElement)seqMember);
    }
  }
}
origin: com.legsem.legstar/legstar-xsd2cob

  processCollectionElements(all.getItems(), level);
} else {
origin: com.legsem.legstar/legstar-jaxbgen

/**
 * A particle is usually all or sequence. It contains a collection of other
 * schema objects that need to be processed.
 * 
 * @param schema the XML Schema
 * @param jaxbNamespace the JAXB namespace
 * @param jaxbNamespacePrefix the JAXB namespace prefix
 * @param parentName the name of the parent schema object for logging
 * @param particle the particle schema object
 */
protected void processParticle(final XmlSchema schema,
    final String jaxbNamespace, final String jaxbNamespacePrefix,
    final QName parentName, final XmlSchemaParticle particle) {
  if (particle == null) {
    return;
  }
  if (particle instanceof XmlSchemaSequence) {
    XmlSchemaSequence sequence = (XmlSchemaSequence) particle;
    processCollectionElements(schema, jaxbNamespace,
        jaxbNamespacePrefix, sequence.getItems());
  } else if (particle instanceof XmlSchemaAll) {
    XmlSchemaAll all = (XmlSchemaAll) particle;
    processCollectionElements(schema, jaxbNamespace,
        jaxbNamespacePrefix, all.getItems());
  }
}
origin: com.legsem.legstar/legstar-base-generator

int fieldIndex = 0;
XmlSchemaAll all = (XmlSchemaAll) particle;
for (XmlSchemaAllMember member : all.getItems()) {
  addField(fieldIndex, member, fields, compositeTypes);
  fieldIndex++;
origin: com.legsem.legstar/legstar.avro.translator

private void visit(XmlSchema xmlSchema, XmlSchemaParticle particle,
    final int level, final ArrayNode avroFields) {
  if (particle.getMaxOccurs() > 1) {
    /* TODO find a way to handle occuring sequences and alls */
    log.warn("Schema object at line " + particle.getLineNumber()
        + " contains a multi-occurence particle that is ignored");
  }
  if (particle instanceof XmlSchemaSequence) {
    XmlSchemaSequence sequence = (XmlSchemaSequence) particle;
    for (XmlSchemaSequenceMember member : sequence.getItems()) {
      visit(xmlSchema, member, level, avroFields);
    }
  } else if (particle instanceof XmlSchemaAll) {
    XmlSchemaAll all = (XmlSchemaAll) particle;
    for (XmlSchemaAllMember member : all.getItems()) {
      visit(xmlSchema, member, level, avroFields);
    }
  } else {
    /* TODO process other particle types of interest */
    /* TODO find a way to handle xsd:attribute */
    log.warn("Schema object does not contain a sequence or all element at line "
        + particle.getLineNumber());
  }
}
origin: apache/axis2-java

for (XmlSchemaAllMember member : xmlSchemaAll.getItems()) {
  XmlSchemaElement innerElement = (XmlSchemaElement) member;
  QName qName = innerElement.getQName();
origin: apache/cxf

} else if (particle instanceof XmlSchemaAll) {
  XmlSchemaAll acontainer = (XmlSchemaAll)particle;
  iterL = acontainer.getItems().iterator();
} else {
  LOG.warning("Unknown particle type " + particle.getClass().getName());
origin: org.wso2.carbon.data/org.wso2.carbon.dataservices.core

sequence.getItems().add(tmpElement);
origin: org.apache.axis2/axis2-kernel

for (XmlSchemaAllMember sequenceMember : sequence.getItems()) {
origin: apache/axis2-java

for (XmlSchemaAllMember sequenceMember : sequence.getItems()) {
origin: apache/axis2-java

  List<XmlSchemaAllMember> items = ((XmlSchemaAll) particle).getItems();
  processSchemaAllItems(parentElementQName, items, metainfHolder, false, parentSchema);
} else if (particle instanceof XmlSchemaChoice) {
origin: org.apache.axis2/axis2-adb-codegen

  List<XmlSchemaAllMember> items = ((XmlSchemaAll) particle).getItems();
  processSchemaAllItems(parentElementQName, items, metainfHolder, false, parentSchema);
} else if (particle instanceof XmlSchemaChoice) {
org.apache.ws.commons.schemaXmlSchemaAllgetItems

Popular methods of XmlSchemaAll

  • <init>
    Creates new XmlSchemaAll
  • setAnnotation
  • setMinOccurs

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSharedPreferences (Context)
  • getContentResolver (Context)
  • getExternalFilesDir (Context)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JButton (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top Vim 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