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 4 results out of 315)

origin: msv/msv

/**
 * Adds maxOccurs/minOccurs semantics to a given expression.
 * 
 * @param   maxOccurs
 *      -1 to represent "unbounded".
 */
public Expression processOccurs( Expression item, int minOccurs, int maxOccurs ) {
  Expression precise = _processOccurs(item,minOccurs,maxOccurs);
  if(maxOccurs==1)                    return precise;
  if(maxOccurs==-1 && minOccurs<=1 )  return precise;
  return new OccurrenceExp(precise,maxOccurs,minOccurs,item);
}

origin: kohsuke/msv

/**
 * Adds maxOccurs/minOccurs semantics to a given expression.
 * 
 * @param   maxOccurs
 *      -1 to represent "unbounded".
 */
public Expression processOccurs( Expression item, int minOccurs, int maxOccurs ) {
  Expression precise = _processOccurs(item,minOccurs,maxOccurs);
  if(maxOccurs==1)                    return precise;
  if(maxOccurs==-1 && minOccurs<=1 )  return precise;
  return new OccurrenceExp(precise,maxOccurs,minOccurs,item);
}

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

/**
 * Adds maxOccurs/minOccurs semantics to a given expression.
 * 
 * @param   maxOccurs
 *      -1 to represent "unbounded".
 */
public Expression processOccurs( Expression item, int minOccurs, int maxOccurs ) {
  Expression precise = _processOccurs(item,minOccurs,maxOccurs);
  if(maxOccurs==1)                    return precise;
  if(maxOccurs==-1 && minOccurs<=1 )  return precise;
  return new OccurrenceExp(precise,maxOccurs,minOccurs,item);
}

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

/**
 * Adds maxOccurs/minOccurs semantics to a given expression.
 * 
 * @param   maxOccurs
 *      -1 to represent "unbounded".
 */
public Expression processOccurs( Expression item, int minOccurs, int maxOccurs ) {
  Expression precise = _processOccurs(item,minOccurs,maxOccurs);
  if(maxOccurs==1)                    return precise;
  if(maxOccurs==-1 && minOccurs<=1 )  return precise;
  return new OccurrenceExp(precise,maxOccurs,minOccurs,item);
}

com.sun.msv.reader.xmlschemaXMLSchemaReader_processOccurs

Popular methods of XMLSchemaReader

  • parse
    loads XML Schema
  • switchSource
  • <init>
  • getXmlSchemaForXmlSchema
  • 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
  • getDeclaredLocationOf
  • getCurrentState,
  • getDeclaredLocationOf,
  • getOrCreateSchema,
  • getResult,
  • getType,
  • isSchemaDefined,
  • isSchemaNamespace,
  • isSubstitutable,
  • markSchemaAsDefined

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • requestLocationUpdates (LocationManager)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Kernel (java.awt.image)
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • JCheckBox (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Best plugins for Eclipse
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