com.iodesystems.xml.tools.ResolvedNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xmltools Show documentation
Show all versions of xmltools Show documentation
Xmltools contains a flexible jaxb xml loader
package com.iodesystems.xml.tools;
import java.util.ArrayList;
import java.util.List;
import org.w3c.dom.Node;
public class ResolvedNode {
private final Node node;
private final T resolvedAs;
private final List> children = new ArrayList<>();
public ResolvedNode(Node node, T resolvedAs) {
this.node = node;
this.resolvedAs = resolvedAs;
}
public void addChild(ResolvedNode> resolvedNode) {
children.add(resolvedNode);
}
public List> getChildren() {
return children;
}
public Node getNode() {
return node;
}
public T getResolvedAs() {
return resolvedAs;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy