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

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

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

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

new Locator[]{
  getLocation(),
  reader.getDeclaredLocationOf(idc) },
XMLSchemaReader.ERR_KEY_FIELD_NUMBER_MISMATCH,
new Object[]{
origin: msv/msv

new Locator[]{
  getLocation(),
  reader.getDeclaredLocationOf(idc) },
XMLSchemaReader.ERR_KEY_FIELD_NUMBER_MISMATCH,
new Object[]{
origin: kohsuke/msv

new Locator[]{
  getLocation(),
  reader.getDeclaredLocationOf(idc) },
XMLSchemaReader.ERR_KEY_FIELD_NUMBER_MISMATCH,
new Object[]{
origin: com.sun.xml.bind/jaxb-extra-osgi

new Locator[]{
  getLocation(),
  reader.getDeclaredLocationOf(idc) },
XMLSchemaReader.ERR_KEY_FIELD_NUMBER_MISMATCH,
new Object[]{
origin: msv/msv

  protected Expression annealExpression(Expression contentType) {
    final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
    
    if( !isGlobal() )        return contentType;
    
    // if this is a global declaration register it.
    String name = startTag.getAttribute("name");
    if( name==null ) {
      reader.reportError( XMLSchemaReader.ERR_MISSING_ATTRIBUTE, "attributeGroup", "name" );
      return Expression.epsilon;
      // recover by returning something meaningless.
      // the parent state will ignore this.
    }
    AttributeGroupExp exp;
    if( isRedefine() )
      exp = (AttributeGroupExp)super.oldDecl;
    else {
      exp = reader.currentSchema.attributeGroups.getOrCreate(name);
      if( exp.exp!=null )
        reader.reportError( 
          new Locator[]{this.location,reader.getDeclaredLocationOf(exp)},
          XMLSchemaReader.ERR_DUPLICATE_ATTRIBUTE_GROUP_DEFINITION,
          new Object[]{name} );
    }
    reader.setDeclaredLocationOf(exp);
    exp.exp = contentType;
    exp.wildcard = this.wildcard;
    return exp;
  }
}
origin: com.sun.xml.bind/jaxb-extra-osgi

  protected Expression annealExpression(Expression contentType) {
    final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
    
    if( !isGlobal() )        return contentType;
    
    // if this is a global declaration register it.
    String name = startTag.getAttribute("name");
    if( name==null ) {
      reader.reportError( XMLSchemaReader.ERR_MISSING_ATTRIBUTE, "attributeGroup", "name" );
      return Expression.epsilon;
      // recover by returning something meaningless.
      // the parent state will ignore this.
    }
    AttributeGroupExp exp;
    if( isRedefine() )
      exp = (AttributeGroupExp)super.oldDecl;
    else {
      exp = reader.currentSchema.attributeGroups.getOrCreate(name);
      if( exp.exp!=null )
        reader.reportError( 
          new Locator[]{this.location,reader.getDeclaredLocationOf(exp)},
          XMLSchemaReader.ERR_DUPLICATE_ATTRIBUTE_GROUP_DEFINITION,
          new Object[]{name} );
    }
    reader.setDeclaredLocationOf(exp);
    exp.exp = contentType;
    exp.wildcard = this.wildcard;
    return exp;
  }
}
origin: kohsuke/msv

  protected Expression annealExpression(Expression contentType) {
    final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
    
    if( !isGlobal() )        return contentType;
    
    // if this is a global declaration register it.
    String name = startTag.getAttribute("name");
    if( name==null ) {
      reader.reportError( XMLSchemaReader.ERR_MISSING_ATTRIBUTE, "attributeGroup", "name" );
      return Expression.epsilon;
      // recover by returning something meaningless.
      // the parent state will ignore this.
    }
    AttributeGroupExp exp;
    if( isRedefine() )
      exp = (AttributeGroupExp)super.oldDecl;
    else {
      exp = reader.currentSchema.attributeGroups.getOrCreate(name);
      if( exp.exp!=null )
        reader.reportError( 
          new Locator[]{this.location,reader.getDeclaredLocationOf(exp)},
          XMLSchemaReader.ERR_DUPLICATE_ATTRIBUTE_GROUP_DEFINITION,
          new Object[]{name} );
    }
    reader.setDeclaredLocationOf(exp);
    exp.exp = contentType;
    exp.wildcard = this.wildcard;
    return exp;
  }
}
origin: com.sun.xml.bind/jaxb1-impl

  protected Expression annealExpression(Expression contentType) {
    final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
    
    if( !isGlobal() )        return contentType;
    
    // if this is a global declaration register it.
    String name = startTag.getAttribute("name");
    if( name==null ) {
      reader.reportError( XMLSchemaReader.ERR_MISSING_ATTRIBUTE, "attributeGroup", "name" );
      return Expression.epsilon;
      // recover by returning something meaningless.
      // the parent state will ignore this.
    }
    AttributeGroupExp exp;
    if( isRedefine() )
      exp = (AttributeGroupExp)super.oldDecl;
    else {
      exp = reader.currentSchema.attributeGroups.getOrCreate(name);
      if( exp.exp!=null )
        reader.reportError( 
          new Locator[]{this.location,reader.getDeclaredLocationOf(exp)},
          XMLSchemaReader.ERR_DUPLICATE_ATTRIBUTE_GROUP_DEFINITION,
          new Object[]{name} );
    }
    reader.setDeclaredLocationOf(exp);
    exp.exp = contentType;
    exp.wildcard = this.wildcard;
    return exp;
  }
}
origin: msv/msv

new Locator[]{getDeclaredLocationOf(c),getDeclaredLocationOf(d)},
ERR_UNRELATED_TYPES_IN_SUBSTITUTIONGROUP,
new Object[]{c.name, d.name} );
origin: com.sun.xml.bind/jaxb1-impl

new Locator[]{getDeclaredLocationOf(c),getDeclaredLocationOf(d)},
ERR_UNRELATED_TYPES_IN_SUBSTITUTIONGROUP,
new Object[]{c.name, d.name} );
origin: com.sun.xml.bind/jaxb-extra-osgi

new Locator[]{getDeclaredLocationOf(c),getDeclaredLocationOf(d)},
ERR_UNRELATED_TYPES_IN_SUBSTITUTIONGROUP,
new Object[]{c.name, d.name} );
origin: com.sun.xml.bind/jaxb1-impl

if( decl.exp!=null )
  reader.reportError( 
    new Locator[]{this.location,reader.getDeclaredLocationOf(decl)},
    XMLSchemaReader.ERR_DUPLICATE_GROUP_DEFINITION,
    new Object[]{name} );
origin: com.sun.xml.bind/jaxb-extra-osgi

if( decl.exp!=null )
  reader.reportError( 
    new Locator[]{this.location,reader.getDeclaredLocationOf(decl)},
    XMLSchemaReader.ERR_DUPLICATE_GROUP_DEFINITION,
    new Object[]{name} );
origin: kohsuke/msv

new Locator[]{getDeclaredLocationOf(c),getDeclaredLocationOf(d)},
ERR_UNRELATED_TYPES_IN_SUBSTITUTIONGROUP,
new Object[]{c.name, d.name} );
origin: msv/msv

if( decl.exp!=null )
  reader.reportError( 
    new Locator[]{this.location,reader.getDeclaredLocationOf(decl)},
    XMLSchemaReader.ERR_DUPLICATE_GROUP_DEFINITION,
    new Object[]{name} );
origin: kohsuke/msv

if( decl.exp!=null )
  reader.reportError( 
    new Locator[]{this.location,reader.getDeclaredLocationOf(decl)},
    XMLSchemaReader.ERR_DUPLICATE_GROUP_DEFINITION,
    new Object[]{name} );
origin: com.sun.xml.bind/jaxb1-impl

new Locator[]{this.location,reader.getDeclaredLocationOf(decl)},
XMLSchemaReader.ERR_DUPLICATE_COMPLEXTYPE_DEFINITION,
new Object[]{name} );
origin: msv/msv

new Locator[]{this.location,reader.getDeclaredLocationOf(decl)},
XMLSchemaReader.ERR_DUPLICATE_COMPLEXTYPE_DEFINITION,
new Object[]{name} );
origin: com.sun.xml.bind/jaxb-extra-osgi

new Locator[]{this.location,reader.getDeclaredLocationOf(decl)},
XMLSchemaReader.ERR_DUPLICATE_COMPLEXTYPE_DEFINITION,
new Object[]{name} );
origin: kohsuke/msv

new Locator[]{this.location,reader.getDeclaredLocationOf(decl)},
XMLSchemaReader.ERR_DUPLICATE_COMPLEXTYPE_DEFINITION,
new Object[]{name} );
com.sun.msv.reader.xmlschemaXMLSchemaReadergetDeclaredLocationOf

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

Popular in Java

  • Running tasks concurrently on multiple threads
  • getResourceAsStream (ClassLoader)
  • requestLocationUpdates (LocationManager)
  • getApplicationContext (Context)
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Option (scala)
  • Top plugins for WebStorm
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