All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ind.jaxb-osgi.4.0.4.source-code.include.rng Maven / Gradle / Ivy

There is a newer version: 4.0.5
Show newest version




	


  
  
  
  
  
  
    
      
      
        
      
      
      
        (null,AnnotationContext.SCHEMA);
      
    
    
   	$runtime.includeSchema( schemaLocation );
  
  
  
  
  
    
      
      
        
          
        
      
      
        
          
        
      
      
      
        (null,AnnotationContext.SCHEMA);
      
    
    
		
			if(ns==null)    ns="";
    	$runtime.importSchema( ns,schemaLocation );
		
  
  
  
  
  
    
      
      
        schemaLocation = 
		   	$runtime.includeSchema( schemaLocation );
      

      
      
        
          (null,AnnotationContext.SCHEMA);
          
          	newSt = 
          	XSSimpleType oldSt = $runtime.currentSchema.getSimpleType(newSt.getName());
            if(oldSt==null) {
              $runtime.reportError( Messages.format(Messages.ERR_UNDEFINED_SIMPLETYPE,newSt.getName()) );
            } else {
              newSt.redefine((SimpleTypeImpl)oldSt);
              $runtime.currentSchema.addSimpleType(newSt,true);
            }
         	
         	
	          newCt = 
	          XSComplexType oldCt = $runtime.currentSchema.getComplexType(newCt.getName());
            if(oldCt==null) {
              $runtime.reportError( Messages.format(Messages.ERR_UNDEFINED_COMPLEXTYPE,newCt.getName()) );
            } else {
              newCt.redefine((ComplexTypeImpl)oldCt);
              $runtime.currentSchema.addComplexType(newCt,true);
            }
         	
         	
	          newGrp = 
	          XSModelGroupDecl oldGrp = $runtime.currentSchema.getModelGroupDecl(newGrp.getName());
            if(oldGrp==null) {
              $runtime.reportError( Messages.format(Messages.ERR_UNDEFINED_MODELGROUP,newGrp.getName()) );
            } else {
              newGrp.redefine((ModelGroupDeclImpl)oldGrp);
              $runtime.currentSchema.addModelGroupDecl(newGrp,true);
            }
         	
          
          	newAg = 
          	XSAttGroupDecl oldAg = $runtime.currentSchema.getAttGroupDecl(newAg.getName());
            if(oldAg==null) {
              $runtime.reportError( Messages.format(Messages.ERR_UNDEFINED_ATTRIBUTEGROUP,newAg.getName()) );
            } else {
              newAg.redefine((AttGroupDeclImpl)oldAg);
              $runtime.currentSchema.addAttGroupDecl(newAg,true);
            }
          
        
      
    
  







© 2015 - 2024 Weber Informatics LLC | Privacy Policy