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
 void discard()
          Delete the comment node
 Factory getFactory()
          The Abdera Factory
<T extends Base>
T
getParentElement()
          The parent node
 String getText()
          The text of this comment node
 Comment setText(String text)
          The text of this comment node
 

Method Detail

discard

void discard()
Delete the comment node


getText

String getText()
The text of this comment node


setText

Comment setText(String text)
The text of this comment node


getFactory

Factory getFactory()
The Abdera Factory


getParentElement

<T extends Base> T getParentElement()
The parent node



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.