All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.iodesystems.xml.tools.ResolvedNode Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
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