Package org.apache.abdera.model
Interface Comment
-
public interface Comment
A comment. Returned by the Abdera XPath implementation when querying for comment nodes (e.g. xpath.selectNodes("//comment()"); ...). Most applications should never have much of a reason to use this interface. It is provided primarily to avoid application from having to deal directly with the underlying parser implementation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
discard()
Delete the comment nodeFactory
getFactory()
The Abdera Factory<T extends Base>
TgetParentElement()
The parent nodejava.lang.String
getText()
The text of this comment nodeComment
setText(java.lang.String text)
The text of this comment node
-
-
-
Method Detail
-
discard
void discard()
Delete the comment node
-
getText
java.lang.String getText()
The text of this comment node
-
setText
Comment setText(java.lang.String text)
The text of this comment node
-
getFactory
Factory getFactory()
The Abdera Factory
-
getParentElement
<T extends Base> T getParentElement()
The parent node
-
-