|
|
@@ -461,6 +461,7 @@ public final class UIDL extends JavaScriptObject { |
|
|
|
/** |
|
|
|
* @deprecated should not be used anymore |
|
|
|
*/ |
|
|
|
@Deprecated |
|
|
|
public final static class XML extends JavaScriptObject { |
|
|
|
protected XML() { |
|
|
|
} |
|
|
@@ -532,4 +533,18 @@ public final class UIDL extends JavaScriptObject { |
|
|
|
return connection.getPaintable(getStringVariable(name)); |
|
|
|
} |
|
|
|
|
|
|
|
public UIDL getChildByTagName(String tagName) { |
|
|
|
Iterator<Object> childIterator = getChildIterator(); |
|
|
|
while (childIterator.hasNext()) { |
|
|
|
Object next = childIterator.next(); |
|
|
|
if (next instanceof UIDL) { |
|
|
|
UIDL childUIDL = (UIDL) next; |
|
|
|
if (childUIDL.getTag().equals(tagName)) { |
|
|
|
return childUIDL; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|
} |