Package org.apache.xerces.impl.dv.xs

Examples of org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl


    public final XSSimpleTypeDecl getSimpleTypeDecl(){
        int     chunk       = fSTDeclIndex >> CHUNK_SHIFT;
        int     index       = fSTDeclIndex &  CHUNK_MASK;
        ensureSTDeclCapacity(chunk);
        if (fSTDecl[chunk][index] == null) {
            fSTDecl[chunk][index] = new XSSimpleTypeDecl();
        } else {
            fSTDecl[chunk][index].reset();
        }
        fSTDeclIndex++;
        return fSTDecl[chunk][index];
View Full Code Here


        fSTDecl[chunk] = new XSSimpleTypeDecl[CHUNK_SIZE];
        return true;
    }

    private static XSSimpleTypeDecl[][] resize(XSSimpleTypeDecl array[][], int newsize) {
        XSSimpleTypeDecl newarray[][] = new XSSimpleTypeDecl[newsize][];
        System.arraycopy(array, 0, newarray, 0, array.length);
        return newarray;
    }
View Full Code Here

  {
    int i = this.fSTDeclIndex >> 8;
    int j = this.fSTDeclIndex & 0xFF;
    ensureSTDeclCapacity(i);
    if (this.fSTDecl[i][j] == null)
      this.fSTDecl[i][j] = new XSSimpleTypeDecl();
    else
      this.fSTDecl[i][j].reset();
    this.fSTDeclIndex += 1;
    return this.fSTDecl[i][j];
  }
View Full Code Here

TOP

Related Classes of org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.