public class NodeImpl extends AbstractPropertyHolder implements Node
| Modifier and Type | Method and Description |
|---|---|
protected static void |
assignParent(Node parent,
Collection<Object> objects)
Sets the parent to the provided objects if they are of type Node
|
protected static void |
assignParent(Node parent,
Object object)
Sets the parent to the provided object if the object is type Node
|
protected static void |
assignParents(Node parent,
Collection<Element> objects)
Sets the parent to the provided objects if they are of type Node
|
String |
getId()
Unique id of the element.
|
String |
getLocalId() |
Node |
getParent() |
void |
setId(String id) |
void |
setLocalId(String id) |
void |
setParent(Node parent) |
clearProperties, getKeys, getProperty, removeProperty, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, getKeys, getProperty, removeProperty, setPropertypublic NodeImpl()
public NodeImpl(String defaultId)
public void setId(String id)
public String getLocalId()
public void setLocalId(String id)
public String getId()
getId in interface PropertyHolderprotected static void assignParent(Node parent, Object object)
protected static void assignParent(Node parent, Collection<Object> objects)
protected static void assignParents(Node parent, Collection<Element> objects)
Copyright © 2012. All Rights Reserved.