Details
-
Type: Wish
-
Status: Closed
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
In conjuction with addElement on the HierarchicalStreamWriter - we would like to add a getElement method on the Reader interface:
Object getElement();
Proposed (dom4j) implementation would be:
public Object getElement() {
return currentElement.selectObject("*");
}
Again, this is more dom specifxic code, and the implementation would fall under the com.thoughtworks.xstream.io.xml packages...
Randy Secrist
I'm closing this as I plan to add a more general solution to the problem. This can be tracked on
XSTR-166.