private boolean ensureElementDeclCapacity(int chunk) { if (chunk >= fElementDecl.length) { fElementDecl = resize(fElementDecl, fElementDecl.length * 2); } else if (fElementDecl[chunk] != null) { return false; } fElementDecl[chunk] = new XSElementDecl[CHUNK_SIZE]; return true; }
private boolean ensureParticleDeclCapacity(int chunk) { if (chunk >= fParticleDecl.length) { fParticleDecl = resize(fParticleDecl, fParticleDecl.length * 2); } else if (fParticleDecl[chunk] != null) { return false; } fParticleDecl[chunk] = new XSParticleDecl[CHUNK_SIZE]; return true; }
private boolean ensureAttributeUseCapacity(int chunk) { if (chunk >= fAttributeUse.length) { fAttributeUse = resize(fAttributeUse, fAttributeUse.length * 2); } else if (fAttributeUse[chunk] != null) { return false; } fAttributeUse[chunk] = new XSAttributeUseImpl[CHUNK_SIZE]; return true; }
private boolean ensureModelGroupCapacity(int chunk) { if (chunk >= fModelGroup.length) { fModelGroup = resize(fModelGroup, fModelGroup.length * 2); } else if (fModelGroup[chunk] != null) { return false; } fModelGroup[chunk] = new XSModelGroupImpl[CHUNK_SIZE]; return true; }
private boolean ensureAttrDeclCapacity(int chunk) { if (chunk >= fAttrDecl.length) { fAttrDecl = resize(fAttrDecl, fAttrDecl.length * 2); } else if (fAttrDecl[chunk] != null) { return false; } fAttrDecl[chunk] = new XSAttributeDecl[CHUNK_SIZE]; return true; }
private boolean ensureSTDeclCapacity(int chunk) { if (chunk >= fSTDecl.length) { fSTDecl = resize(fSTDecl, fSTDecl.length * 2); } else if (fSTDecl[chunk] != null) { return false; } fSTDecl[chunk] = new XSSimpleTypeDecl[CHUNK_SIZE]; return true; }
private boolean ensureCTDeclCapacity(int chunk) { if (chunk >= fCTDecl.length) { fCTDecl = resize(fCTDecl, fCTDecl.length * 2); } else if (fCTDecl[chunk] != null){ return false; } fCTDecl[chunk] = new XSComplexTypeDecl[CHUNK_SIZE]; return true; }