public class NodeImpl extends AbstractPropertyHolder implements Node, org.springframework.beans.factory.BeanNameAware
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()
Get the parent node
|
void |
setBeanName(String name)
Set the the id of this node to be the id attribute.
|
void |
setId(String id) |
void |
setLocalId(String id) |
void |
setParent(Node parent)
Set the parent node.
|
clearProperties, getKeys, getProperty, removeProperty, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearProperties, getKeys, getProperty, removeProperty, setProperty
public NodeImpl()
public NodeImpl(String defaultId)
public void setBeanName(String name)
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
public void setId(String id)
public String getLocalId()
public void setLocalId(String id)
public String getId()
getId
in interface PropertyHolder
public void setParent(Node parent)
Node
protected 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 © 2013. All Rights Reserved.