Tabnine Logo
XMLSchemaReader.processOccurs
Code IndexAdd Tabnine to your IDE (free)

How to use
processOccurs
method
in
com.sun.msv.reader.xmlschema.XMLSchemaReader

Best Java code snippets using com.sun.msv.reader.xmlschema.XMLSchemaReader.processOccurs (Showing top 8 results out of 315)

origin: kohsuke/msv

protected Expression interceptExpression( State state, Expression exp ) {
  // process minOccurs/maxOccurs
  if( state instanceof SequenceState
  ||  state instanceof ChoiceState
  ||  state instanceof InterleaveState
  ||  state instanceof AnyElementState
  ||  state instanceof ElementDeclState
  ||  state instanceof ElementRefState
  ||  state instanceof GroupState )
    // TODO: <all/> is limited upto 1
    return processOccurs(state.getStartTag(),exp);
  
  return exp;
}

origin: msv/msv

protected Expression interceptExpression( State state, Expression exp ) {
  // process minOccurs/maxOccurs
  if( state instanceof SequenceState
  ||  state instanceof ChoiceState
  ||  state instanceof InterleaveState
  ||  state instanceof AnyElementState
  ||  state instanceof ElementDeclState
  ||  state instanceof ElementRefState
  ||  state instanceof GroupState )
    // TODO: <all/> is limited upto 1
    return processOccurs(state.getStartTag(),exp);
  
  return exp;
}

origin: com.sun.xml.bind/jaxb1-impl

protected Expression interceptExpression( State state, Expression exp ) {
  // process minOccurs/maxOccurs
  if( state instanceof SequenceState
  ||  state instanceof ChoiceState
  ||  state instanceof InterleaveState
  ||  state instanceof AnyElementState
  ||  state instanceof ElementDeclState
  ||  state instanceof ElementRefState
  ||  state instanceof GroupState )
    // TODO: <all/> is limited upto 1
    return processOccurs(state.getStartTag(),exp);
  
  return exp;
}

origin: com.sun.xml.bind/jaxb-extra-osgi

protected Expression interceptExpression( State state, Expression exp ) {
  // process minOccurs/maxOccurs
  if( state instanceof SequenceState
  ||  state instanceof ChoiceState
  ||  state instanceof InterleaveState
  ||  state instanceof AnyElementState
  ||  state instanceof ElementDeclState
  ||  state instanceof ElementRefState
  ||  state instanceof GroupState )
    // TODO: <all/> is limited upto 1
    return processOccurs(state.getStartTag(),exp);
  
  return exp;
}

origin: com.sun.xml.bind/jaxb1-impl

return processOccurs( item, minOccursValue, maxOccursValue );
origin: msv/msv

return processOccurs( item, minOccursValue, maxOccursValue );
origin: com.sun.xml.bind/jaxb-extra-osgi

return processOccurs( item, minOccursValue, maxOccursValue );
origin: kohsuke/msv

return processOccurs( item, minOccursValue, maxOccursValue );
com.sun.msv.reader.xmlschemaXMLSchemaReaderprocessOccurs

Javadoc

Adds maxOccurs/minOccurs semantics to a given expression.

Popular methods of XMLSchemaReader

  • parse
    loads XML Schema
  • switchSource
  • <init>
  • getXmlSchemaForXmlSchema
  • _processOccurs
  • addBackPatchJob
  • createAttributeState
    creates a state object that parses "attribute","attributeGroup ref", and "anyAttribute".
  • createFacetState
  • createModelGroupState
    creates a state object that parses "all"/"group ref"/"choice" and "sequence".
  • createParserFactory
  • detectUndefinedOnes
  • getCurrentState
  • detectUndefinedOnes,
  • getCurrentState,
  • getDeclaredLocationOf,
  • getOrCreateSchema,
  • getResult,
  • getType,
  • isSchemaDefined,
  • isSchemaNamespace,
  • isSubstitutable,
  • markSchemaAsDefined

Popular in Java

  • Making http requests using okhttp
  • getApplicationContext (Context)
  • getResourceAsStream (ClassLoader)
  • onRequestPermissionsResult (Fragment)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • JFileChooser (javax.swing)
  • JOptionPane (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • 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