}
return descriptor;
}
public Descriptor marshall(Node node) {
Descriptor parent;
if((node.getNodeType() != Node.ELEMENT_NODE) || (node.getUserData(DEXTER_TAINT) != null)) {
parent = marshallNode(node);
NodeList children = node.getChildNodes();
int nc = children.getLength();
for (int i = 0; i < nc; ++i)
{
Node child = children.item(i);
if(child != null && child.getParentNode() != null)
{
parent.appendChild(marshall(child));
}
}
} else {
parent = new PassthroughDescriptor(node);