org.writersforge.catalan.transform.xml
Class JavaToHtml

java.lang.Object
  extended byorg.writersforge.catalan.transform.BaseNodeProcessor
      extended byorg.writersforge.catalan.transform.text.TextProcessor
          extended byorg.writersforge.catalan.transform.xml.JavaToHtml
All Implemented Interfaces:
org.writersforge.bellows.traverse.NodeProcessor

public class JavaToHtml
extends TextProcessor

Text processor for marking up Java source code with HTML formatting.

Author:
jsheets

Constructor Summary
JavaToHtml()
          Creates a new instance of JavaToHtml.
 
Method Summary
protected  java.util.List processText(java.lang.String text)
          Processes the text node.
 
Methods inherited from class org.writersforge.catalan.transform.text.TextProcessor
processNode
 
Methods inherited from class org.writersforge.catalan.transform.BaseNodeProcessor
addLeftover, end, getLeftovers, getNodes, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaToHtml

public JavaToHtml()
Creates a new instance of JavaToHtml.

Method Detail

processText

protected java.util.List processText(java.lang.String text)
Processes the text node. Not called for non-String nodes.

Specified by:
processText in class TextProcessor
Parameters:
text - the text to process
Returns:
the processed text