org.dom4j

Interface CharacterData

public interface CharacterData extends Node

CharacterData is a marker interface for character based nodes such as the CDATA,Comment and Text nodes.

Version: $Revision: 1.9 $

Author: James Strachan

Method Summary
voidappendText(String text)
Appends the given text to this nodes text value.

Method Detail

appendText

public void appendText(String text)
Appends the given text to this nodes text value. Calling this method is equivalent of the code node.setText(node.getText() + text) but allows for possible implementation optimisations (such as a text based node storing a StringBuffer internally

Parameters: text the text to append

Copyright B) 2005 MetaStuff Ltd. All Rights Reserved. Hosted by

SourceForge