Lines Matching defs:index

106     public boolean isDeclared (int index)
108 if (index < 0 || index >= getLength ())
110 "No attribute at index: " + index);
111 return declared [index];
121 int index = getIndex (uri, localName);
123 if (index < 0)
127 return declared [index];
137 int index = getIndex (qName);
139 if (index < 0)
142 return declared [index];
149 * @param index The attribute index (zero-based).
152 * supplied index does not identify an attribute.
154 public boolean isSpecified (int index)
156 if (index < 0 || index >= getLength ())
158 "No attribute at index: " + index);
159 return specified [index];
175 int index = getIndex (uri, localName);
177 if (index < 0)
181 return specified [index];
195 int index = getIndex (qName);
197 if (index < 0)
200 return specified [index];
281 public void removeAttribute (int index)
285 super.removeAttribute (index);
286 if (index != origMax) {
287 System.arraycopy (declared, index + 1, declared, index,
288 origMax - index);
289 System.arraycopy (specified, index + 1, specified, index,
290 origMax - index);
300 * @param index The index of the attribute (zero-based).
303 * supplied index does not identify an attribute.
306 public void setDeclared (int index, boolean value)
308 if (index < 0 || index >= getLength ())
310 "No attribute at index: " + index);
311 declared [index] = value;
320 * @param index The index of the attribute (zero-based).
323 * supplied index does not identify an attribute.
325 public void setSpecified (int index, boolean value)
327 if (index < 0 || index >= getLength ())
329 "No attribute at index: " + index);
330 specified [index] = value;