Methods Summary |
---|
public java.lang.Object | getNode()This returns the decorated attribute.
return decorated;
|
public java.lang.String | getNodeName()This returns the name of the node.
if (decorated != null) {
return decorated.getName();
}
return "";
|
public JDOMNode | getParentNode()This returns the parent of the node, as
a {@link JDOMNode} .
if (decorated.getParent() != null) {
return new ElementNode(decorated.getParent());
}
return null;
|
public java.lang.String | getQName()This returns the qualified name of this Node.
if (decorated.getNamespacePrefix().equals("")) {
return decorated.getName();
} else {
return new StringBuffer(decorated.getNamespacePrefix())
.append(":")
.append(decorated.getName()).toString();
}
|
public java.util.Iterator | iterator()This always returns an empty Iterator .
return Collections.EMPTY_LIST.iterator();
|
public java.lang.String | toString()This is the base attribute's
{@link Attribute#toString()} call.
return decorated.toString();
|