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 returns an Iterator over this element's
content.
List list = decorated.getAttributes();
ArrayList content = new ArrayList(list);
// put the element's content in the list in order
Iterator i = decorated.getMixedContent().iterator();
while (i.hasNext()) {
content.add(i.next());
}
return content.iterator();
|
public java.lang.String | toString()This is the base attribute's
{@link Attribute#toString()} call.
return decorated.toString();
|