Lines Matching refs:index

84     public boolean isDeclared (int index)
86 if (index < 0 || index >= getLength ())
88 "No attribute at index: " + index);
89 return declared [index];
99 int index = getIndex (uri, localName);
101 if (index < 0)
105 return declared [index];
115 int index = getIndex (qName);
117 if (index < 0)
120 return declared [index];
127 * @param index The attribute index (zero-based).
130 * supplied index does not identify an attribute.
132 public boolean isSpecified (int index)
134 if (index < 0 || index >= getLength ())
136 "No attribute at index: " + index);
137 return specified [index];
153 int index = getIndex (uri, localName);
155 if (index < 0)
159 return specified [index];
173 int index = getIndex (qName);
175 if (index < 0)
178 return specified [index];
269 public void removeAttribute (int index)
273 super.removeAttribute (index);
274 if (index != origMax) {
275 System.arraycopy (declared, index + 1, declared, index,
276 origMax - index);
277 System.arraycopy (specified, index + 1, specified, index,
278 origMax - index);
288 * @param index The index of the attribute (zero-based).
291 * supplied index does not identify an attribute.
294 public void setDeclared (int index, boolean value)
296 if (index < 0 || index >= getLength ())
298 "No attribute at index: " + index);
299 declared [index] = value;
308 * @param index The index of the attribute (zero-based).
311 * supplied index does not identify an attribute.
313 public void setSpecified (int index, boolean value)
315 if (index < 0 || index >= getLength ())
317 "No attribute at index: " + index);
318 specified [index] = value;