Codota Logo
XMLSchemaReader.processOccurs
Code IndexAdd Codota 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)

  • Common ways to obtain XMLSchemaReader
private void myMethod () {
XMLSchemaReader x =
  • Codota IconSimpleContentRestrictionState simpleContentRestrictionState;(XMLSchemaReader) simpleContentRestrictionState.reader
  • Codota IconRedefineState redefineState;(XMLSchemaReader) redefineState.reader
  • Codota IconElementDeclState elementDeclState;(XMLSchemaReader) elementDeclState.reader
  • Smart code suggestions by Codota
}
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

  • Finding current android device location
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • requestLocationUpdates (LocationManager)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now