Lines Matching defs:elementDeclIndex
353 * @param elementDeclIndex The element declaration index.
355 public boolean getElementDeclIsExternal(int elementDeclIndex) {
357 if (elementDeclIndex < 0) {
361 int chunk = elementDeclIndex >> CHUNK_SHIFT;
362 int index = elementDeclIndex & CHUNK_MASK;
383 public int getAttributeDeclIndex(int elementDeclIndex, String attributeDeclName) {
384 if (elementDeclIndex == -1) {
387 int attDefIndex = getFirstAttributeDeclIndex(elementDeclIndex);
1204 * @param elementDeclIndex The element declaration index.
1206 public int getNextElementDeclIndex(int elementDeclIndex) {
1207 return elementDeclIndex < fElementDeclCount - 1
1208 ? elementDeclIndex + 1 : -1;
1255 * @param elementDeclIndex
1260 public boolean getElementDecl(int elementDeclIndex,
1263 if (elementDeclIndex < 0 || elementDeclIndex >= fElementDeclCount) {
1267 int chunk = elementDeclIndex >> CHUNK_SHIFT;
1268 int index = elementDeclIndex & CHUNK_MASK;
1282 elementDecl.contentModelValidator = getElementContentModelValidator(elementDeclIndex);
1293 QName getElementDeclName(int elementDeclIndex) {
1294 if (elementDeclIndex < 0 || elementDeclIndex >= fElementDeclCount) {
1297 int chunk = elementDeclIndex >> CHUNK_SHIFT;
1298 int index = elementDeclIndex & CHUNK_MASK;
1307 * @param elementDeclIndex
1309 * @return index of the first attribute for element declaration elementDeclIndex
1311 public int getFirstAttributeDeclIndex(int elementDeclIndex) {
1312 int chunk = elementDeclIndex >> CHUNK_SHIFT;
1313 int index = elementDeclIndex & CHUNK_MASK;
1497 public int getContentSpecIndex(int elementDeclIndex) {
1498 if (elementDeclIndex < 0 || elementDeclIndex >= fElementDeclCount) {
1501 final int chunk = elementDeclIndex >> CHUNK_SHIFT;
1502 final int index = elementDeclIndex & CHUNK_MASK;
1509 * @param elementDeclIndex
1513 public String getContentSpecAsString(int elementDeclIndex){
1515 if (elementDeclIndex < 0 || elementDeclIndex >= fElementDeclCount) {
1519 int chunk = elementDeclIndex >> CHUNK_SHIFT;
1520 int index = elementDeclIndex & CHUNK_MASK;
1675 int elementDeclIndex = 0;
1677 while (getElementDecl(elementDeclIndex++, elementDecl)) {
1686 public void printAttributes(int elementDeclIndex) {
1687 int attributeDeclIndex = getFirstAttributeDeclIndex(elementDeclIndex);
1688 System.out.print(elementDeclIndex);
1729 * @param elementDeclIndex
1733 protected ContentModelValidator getElementContentModelValidator(int elementDeclIndex) {
1735 int chunk = elementDeclIndex >> CHUNK_SHIFT;
1736 int index = elementDeclIndex & CHUNK_MASK;
1805 protected void setElementDecl(int elementDeclIndex, XMLElementDecl elementDecl) {
1806 if (elementDeclIndex < 0 || elementDeclIndex >= fElementDeclCount) {
1809 int chunk = elementDeclIndex >> CHUNK_SHIFT;
1810 int index = elementDeclIndex & CHUNK_MASK;
1821 fElementIndexMap.put(elementDecl.name.rawname, elementDeclIndex);
1828 int elementDeclIndex) {
1831 protected void setFirstAttributeDeclIndex(int elementDeclIndex, int newFirstAttrIndex){
1833 if (elementDeclIndex < 0 || elementDeclIndex >= fElementDeclCount) {
1837 int chunk = elementDeclIndex >> CHUNK_SHIFT;
1838 int index = elementDeclIndex & CHUNK_MASK;
1843 protected void setContentSpecIndex(int elementDeclIndex, int contentSpecIndex){
1845 if (elementDeclIndex < 0 || elementDeclIndex >= fElementDeclCount) {
1849 int chunk = elementDeclIndex >> CHUNK_SHIFT;
1850 int index = elementDeclIndex & CHUNK_MASK;
1873 protected void setAttributeDecl(int elementDeclIndex, int attributeDeclIndex,
1890 int elemChunk = elementDeclIndex >> CHUNK_SHIFT;
1891 int elemIndex = elementDeclIndex & CHUNK_MASK;