306 |
return attrs[i+1]; |
return attrs[i+1]; |
307 |
} |
} |
308 |
|
|
309 |
Object p = getResolveParent(); |
// Check the resolve parent, unless we're looking for the |
310 |
if (p != null && p instanceof AttributeSet) |
// ResolveAttribute, which would cause an infinite loop |
311 |
return (((AttributeSet)p).getAttribute(key)); |
if (!(key.equals(ResolveAttribute))) |
312 |
|
{ |
313 |
|
Object p = getResolveParent(); |
314 |
|
if (p != null && p instanceof AttributeSet) |
315 |
|
return (((AttributeSet)p).getAttribute(key)); |
316 |
|
} |
317 |
|
|
318 |
return null; |
return null; |
319 |
} |
} |