Lines Matching refs:elementIndex
884 int elementIndex = grammar.getElementDeclIndex( elementName);
885 if (grammar.getAttributeDeclIndex(elementIndex, attributeName) != -1) {
1353 int elementIndex = grammar.getElementDeclIndex(elementName);
1354 if (grammar.getContentSpecType(elementIndex) == XMLElementDecl.TYPE_EMPTY) {
1703 int elementIndex = grammar.getFirstElementDeclIndex();
1705 while (elementIndex >= 0) {
1706 int type = grammar.getContentSpecType(elementIndex);
1709 elementIndex,
1710 grammar.getContentSpecIndex(elementIndex),
1713 elementIndex = grammar.getNextElementDeclIndex(elementIndex);
1722 private void checkDeclaredElements(DTDGrammar grammar, int elementIndex,
1730 new Object[]{grammar.getElementDeclName(elementIndex).rawname, value},
1741 checkDeclaredElements(grammar, elementIndex, leftNode, contentSpec);
1742 checkDeclaredElements(grammar, elementIndex, rightNode, contentSpec);
1748 checkDeclaredElements(grammar, elementIndex, leftNode, contentSpec);