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

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

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

origin: msv/msv

protected State createChildState( StartTagInfo tag ) {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  // TODO: group reference is prohibited under group element.
  return reader.createModelGroupState(this,tag);
}
origin: com.sun.xml.bind/jaxb1-impl

protected State createChildState( StartTagInfo tag ) {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  // TODO: group reference is prohibited under group element.
  return reader.createModelGroupState(this,tag);
}
origin: com.sun.xml.bind/jaxb-extra-osgi

protected State createChildState( StartTagInfo tag ) {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  // TODO: group reference is prohibited under group element.
  return reader.createModelGroupState(this,tag);
}
origin: kohsuke/msv

protected State createChildState( StartTagInfo tag ) {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  // TODO: group reference is prohibited under group element.
  return reader.createModelGroupState(this,tag);
}
origin: msv/msv

protected State createChildState( StartTagInfo tag ) {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  State s;
  if( super.exp==Expression.epsilon ) {
    // model group must be the first expression child.
    s = reader.createModelGroupState(this,tag);
    if(s!=null )    return s;
  }
  
  // attribute, attributeGroup, and anyAttribtue can be specified
  // after content model is given.
  return reader.createAttributeState(this,tag);
}
origin: com.sun.xml.bind/jaxb1-impl

protected State createChildState( StartTagInfo tag ) {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  State s;
  if( super.exp==Expression.epsilon ) {
    // model group must be the first expression child.
    s = reader.createModelGroupState(this,tag);
    if(s!=null )    return s;
  }
  
  // attribute, attributeGroup, and anyAttribtue can be specified
  // after content model is given.
  return reader.createAttributeState(this,tag);
}
origin: com.sun.xml.bind/jaxb-extra-osgi

protected State createChildState( StartTagInfo tag ) {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  State s;
  if( super.exp==Expression.epsilon ) {
    // model group must be the first expression child.
    s = reader.createModelGroupState(this,tag);
    if(s!=null )    return s;
  }
  
  // attribute, attributeGroup, and anyAttribtue can be specified
  // after content model is given.
  return reader.createAttributeState(this,tag);
}
origin: kohsuke/msv

protected State createChildState( StartTagInfo tag ) {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  State s;
  if( super.exp==Expression.epsilon ) {
    // model group must be the first expression child.
    s = reader.createModelGroupState(this,tag);
    if(s!=null )    return s;
  }
  
  // attribute, attributeGroup, and anyAttribtue can be specified
  // after content model is given.
  return reader.createAttributeState(this,tag);
}
origin: com.sun.xml.bind/jaxb-extra-osgi

public State createExpressionChildState( State parent, StartTagInfo tag ) {
  if(tag.localName.equals("element")) {
    if(tag.containsAttribute("ref"))    return sfactory.elementRef(parent,tag);
    else                                return sfactory.elementDecl(parent,tag);
  }
  if(tag.localName.equals("any"))            return sfactory.any(parent,tag);
  
  return createModelGroupState(parent,tag);
}

origin: msv/msv

public State createExpressionChildState( State parent, StartTagInfo tag ) {
  if(tag.localName.equals("element")) {
    if(tag.containsAttribute("ref"))    return sfactory.elementRef(parent,tag);
    else                                return sfactory.elementDecl(parent,tag);
  }
  if(tag.localName.equals("any"))            return sfactory.any(parent,tag);
  
  return createModelGroupState(parent,tag);
}

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

public State createExpressionChildState( State parent, StartTagInfo tag ) {
  if(tag.localName.equals("element")) {
    if(tag.containsAttribute("ref"))    return sfactory.elementRef(parent,tag);
    else                                return sfactory.elementDecl(parent,tag);
  }
  if(tag.localName.equals("any"))            return sfactory.any(parent,tag);
  
  return createModelGroupState(parent,tag);
}

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

protected State createChildState( StartTagInfo tag ) {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  // simpleContent, ComplexContent, group, all, choice, and sequence
  // are allowed only when we haven't seen type definition.
  if(tag.localName.equals("simpleContent") )    return reader.sfactory.simpleContent(this,tag,decl);
  if(tag.localName.equals("complexContent") )    return reader.sfactory.complexContent(this,tag,decl);
  State s = reader.createModelGroupState(this,tag);
  if(s!=null)        return s;
  
  if( super.exp==null ) {
    // no content model was given.
    // I couldn't "decipher" what should we do in this case.
    // I assume "empty" just because it's most likely.
    exp = Expression.epsilon;
  }
  
  // TODO: attributes are prohibited after simpleContent/complexContent.
  
  // attribute, attributeGroup, and anyAttribtue can be specified
  // after content model is given.
  return reader.createAttributeState(this,tag);
}

origin: kohsuke/msv

public State createExpressionChildState( State parent, StartTagInfo tag ) {
  if(tag.localName.equals("element")) {
    if(tag.containsAttribute("ref"))    return sfactory.elementRef(parent,tag);
    else                                return sfactory.elementDecl(parent,tag);
  }
  if(tag.localName.equals("any"))            return sfactory.any(parent,tag);
  
  return createModelGroupState(parent,tag);
}

origin: msv/msv

protected State createChildState( StartTagInfo tag ) {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  // simpleContent, ComplexContent, group, all, choice, and sequence
  // are allowed only when we haven't seen type definition.
  if(tag.localName.equals("simpleContent") )    return reader.sfactory.simpleContent(this,tag,decl);
  if(tag.localName.equals("complexContent") )    return reader.sfactory.complexContent(this,tag,decl);
  State s = reader.createModelGroupState(this,tag);
  if(s!=null)        return s;
  
  if( super.exp==null ) {
    // no content model was given.
    // I couldn't "decipher" what should we do in this case.
    // I assume "empty" just because it's most likely.
    exp = Expression.epsilon;
  }
  
  // TODO: attributes are prohibited after simpleContent/complexContent.
  
  // attribute, attributeGroup, and anyAttribtue can be specified
  // after content model is given.
  return reader.createAttributeState(this,tag);
}

origin: kohsuke/msv

protected State createChildState( StartTagInfo tag ) {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  // simpleContent, ComplexContent, group, all, choice, and sequence
  // are allowed only when we haven't seen type definition.
  if(tag.localName.equals("simpleContent") )    return reader.sfactory.simpleContent(this,tag,decl);
  if(tag.localName.equals("complexContent") )    return reader.sfactory.complexContent(this,tag,decl);
  State s = reader.createModelGroupState(this,tag);
  if(s!=null)        return s;
  
  if( super.exp==null ) {
    // no content model was given.
    // I couldn't "decipher" what should we do in this case.
    // I assume "empty" just because it's most likely.
    exp = Expression.epsilon;
  }
  
  // TODO: attributes are prohibited after simpleContent/complexContent.
  
  // attribute, attributeGroup, and anyAttribtue can be specified
  // after content model is given.
  return reader.createAttributeState(this,tag);
}

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

protected State createChildState( StartTagInfo tag ) {
  final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
  
  // simpleContent, ComplexContent, group, all, choice, and sequence
  // are allowed only when we haven't seen type definition.
  if(tag.localName.equals("simpleContent") )    return reader.sfactory.simpleContent(this,tag,decl);
  if(tag.localName.equals("complexContent") )    return reader.sfactory.complexContent(this,tag,decl);
  State s = reader.createModelGroupState(this,tag);
  if(s!=null)        return s;
  
  if( super.exp==null ) {
    // no content model was given.
    // I couldn't "decipher" what should we do in this case.
    // I assume "empty" just because it's most likely.
    exp = Expression.epsilon;
  }
  
  // TODO: attributes are prohibited after simpleContent/complexContent.
  
  // attribute, attributeGroup, and anyAttribtue can be specified
  // after content model is given.
  return reader.createAttributeState(this,tag);
}

com.sun.msv.reader.xmlschemaXMLSchemaReadercreateModelGroupState

Javadoc

creates a state object that parses "all"/"group ref"/"choice" and "sequence".

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
  • createParserFactory
  • detectUndefinedOnes
  • getCurrentState
  • getDeclaredLocationOf
  • getCurrentState,
  • getDeclaredLocationOf,
  • getOrCreateSchema,
  • getResult,
  • getType,
  • isSchemaDefined,
  • isSchemaNamespace,
  • isSubstitutable,
  • markSchemaAsDefined

Popular in Java

  • Start an intent from android
  • setContentView (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • addToBackStack (FragmentTransaction)
  • String (java.lang)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Path (java.nio.file)
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • JLabel (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top 12 Jupyter Notebook extensions
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