com.ricebridge.xmlman.in
Class TextAppender

java.lang.Object
  extended bycom.ricebridge.xmlman.in.TextAppender

public class TextAppender
extends Object

Collects all the text for a TargetPath.


Constructor Summary
TextAppender(TextInfo pTextInfo, PartContext pPartContext, com.ricebridge.xmlman.tp.Context pContext)
          Create a new TextAppender object, with specified text collection type in TextInfo.
 
Method Summary
 void append(String pText, DocContext pDocContext)
          Append the specified text.
 void appendEnd(NameInfo pNameInfo)
          Append end element XML.
 boolean appendsAll()
          Appends all text received by SaxHandler.
 void appendStart(NameInfo pNameInfo, Map pAttrMap)
          Append start element XML.
 void finish()
          Finish appending.
 int getInstanceNum()
          Get the instance number of this object, for debugging.
 String getText()
          Get the text collected so far.
 String toString()
          Debugging description.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextAppender

public TextAppender(TextInfo pTextInfo,
                    PartContext pPartContext,
                    com.ricebridge.xmlman.tp.Context pContext)
Create a new TextAppender object, with specified text collection type in TextInfo.

Method Detail

appendsAll

public boolean appendsAll()
Appends all text received by SaxHandler.


append

public void append(String pText,
                   DocContext pDocContext)
Append the specified text.


appendStart

public void appendStart(NameInfo pNameInfo,
                        Map pAttrMap)
Append start element XML.


appendEnd

public void appendEnd(NameInfo pNameInfo)
Append end element XML.


finish

public void finish()
Finish appending.


getText

public String getText()
Get the text collected so far.


toString

public String toString()
Debugging description.


getInstanceNum

public int getInstanceNum()
Get the instance number of this object, for debugging.



Copyright © 2004-2005 Ricebridge