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.
return "";
|
public JDOMNode | getParentNode()This returns the parent of the node, as
a {@link JDOMNode} .
if (parent == null) {
throw new RuntimeException(
"The parent of this String content has not been set!");
}
return new ElementNode(parent);
|
public java.lang.String | getQName()This returns the qualified name of this Node.
// text nodes have no name
return "";
|
public java.util.Iterator | iterator()This always returns an empty Iterator .
return Collections.EMPTY_LIST.iterator();
|
public javaxml2.TextNode | setParent(org.jdom.Element parent) This is a special case function, because a
String can't have a parent.
this.parent = parent;
return this;
|
public java.lang.String | toString()This is the actual textual content of the node.
return decorated;
|