Lines Matching refs:elementDeclIndex
166 public int getAttributeDeclIndex(int elementDeclIndex, String attributeDeclName) {
167 if (elementDeclIndex == -1) {
170 int attDefIndex = getFirstAttributeDeclIndex(elementDeclIndex);
419 * @param elementDeclIndex The element declaration index.
421 public int getNextElementDeclIndex(int elementDeclIndex) {
422 return elementDeclIndex < fElementDeclCount - 1
423 ? elementDeclIndex + 1 : -1;
469 * @param elementDeclIndex
474 public boolean getElementDecl(int elementDeclIndex,
477 if (elementDeclIndex < 0 || elementDeclIndex >= fElementDeclCount) {
481 int chunk = elementDeclIndex >> CHUNK_SHIFT;
482 int index = elementDeclIndex & CHUNK_MASK;
505 * @param elementDeclIndex
507 * @return index of the first attribute for element declaration elementDeclIndex
509 public int getFirstAttributeDeclIndex(int elementDeclIndex) {
510 int chunk = elementDeclIndex >> CHUNK_SHIFT;
511 int index = elementDeclIndex & CHUNK_MASK;
588 int elementDeclIndex = 0;
590 while (getElementDecl(elementDeclIndex++, elementDecl)) {
598 public void printAttributes(int elementDeclIndex) {
599 int attributeDeclIndex = getFirstAttributeDeclIndex(elementDeclIndex);
600 System.out.print(elementDeclIndex);
626 protected void setElementDecl(int elementDeclIndex, XMLElementDecl elementDecl) {
627 if (elementDeclIndex < 0 || elementDeclIndex >= fElementDeclCount) {
630 int chunk = elementDeclIndex >> CHUNK_SHIFT;
631 int index = elementDeclIndex & CHUNK_MASK;
645 fElementIndexMap.put(elementDecl.name.rawname, elementDeclIndex);
651 protected void setFirstAttributeDeclIndex(int elementDeclIndex, int newFirstAttrIndex){
653 if (elementDeclIndex < 0 || elementDeclIndex >= fElementDeclCount) {
657 int chunk = elementDeclIndex >> CHUNK_SHIFT;
658 int index = elementDeclIndex & CHUNK_MASK;
680 protected void setAttributeDecl(int elementDeclIndex, int attributeDeclIndex,
696 int elemChunk = elementDeclIndex >> CHUNK_SHIFT;
697 int elemIndex = elementDeclIndex & CHUNK_MASK;