![JAR search and dependency download from the Maven repository](/logo.png)
com.jukta.jtahoe.gen.model.NamedNode Maven / Gradle / Ivy
package com.jukta.jtahoe.gen.model;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* @since 1.0
*/
public class NamedNode implements Node {
private String namespace;
private String name;
private List children = new ArrayList<>();
private Map attributes;
private NamedNode parent;
private Map prefixes = new HashMap<>();
public NamedNode(String namespace, String name, Map attributes, NamedNode parent) {
this.namespace = namespace;
this.name = name;
this.attributes = attributes;
this.parent = parent;
}
public void setChildren(List children) {
this.children = children;
}
public String getNamespace() {
return namespace;
}
public String getName() {
return name;
}
public List getChildren() {
return children;
}
public Map getAttributes() {
return attributes;
}
public NamedNode getParent() {
return parent;
}
public Map getPrefixes() {
return prefixes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy