net.sf.xslthl
Class MainHighlighter

java.lang.Object
  extended by net.sf.xslthl.MainHighlighter

public class MainHighlighter
extends java.lang.Object

Main source highlighter. It will call all registered highlighters.


Field Summary
protected  java.util.List<Highlighter> highlighters
          Normal highlighter
protected  java.util.List<WholeHighlighter> wholehighlighters
           
 
Constructor Summary
MainHighlighter()
           
 
Method Summary
 void add(Highlighter h)
           
 void addWhole(WholeHighlighter h)
          Deprecated. 
 java.util.List<Block> highlight(java.lang.String source)
          Convert the input string into a collection of text blocks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

highlighters

protected java.util.List<Highlighter> highlighters
Normal highlighter


wholehighlighters

protected java.util.List<WholeHighlighter> wholehighlighters
Constructor Detail

MainHighlighter

public MainHighlighter()
Method Detail

add

public void add(Highlighter h)

addWhole

@Deprecated
public void addWhole(WholeHighlighter h)
Deprecated. 


highlight

public java.util.List<Block> highlight(java.lang.String source)
Convert the input string into a collection of text blocks

Parameters:
source -
Returns: