net.sf.xslthl
Class MainHighlighter

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

public class MainHighlighter
extends Object

Main source highlighter. It will call all registered highlighters.


Field Summary
protected  String filename
           
protected  List<Highlighter> highlighters
          Normal highlighter
protected  String id
           
protected  List<WholeHighlighter> wholehighlighters
           
 
Constructor Summary
MainHighlighter(String highlighterId, String configFilename)
           
 
Method Summary
 void add(Highlighter h)
           
 void addWhole(WholeHighlighter h)
          Deprecated. 
 String getFilename()
          The configuration filename, can be null
 String getId()
          The highlighter identifier
 List<Block> highlight(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

id

protected String id

filename

protected String filename

highlighters

protected List<Highlighter> highlighters
Normal highlighter


wholehighlighters

protected List<WholeHighlighter> wholehighlighters
Constructor Detail

MainHighlighter

public MainHighlighter(String highlighterId,
                       String configFilename)
Method Detail

getId

public String getId()
The highlighter identifier

Returns:

getFilename

public String getFilename()
The configuration filename, can be null

Returns:

add

public void add(Highlighter h)

addWhole

@Deprecated
public void addWhole(WholeHighlighter h)
Deprecated. 


highlight

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

Parameters:
source -
Returns:


Copyright © 2005-2014. All Rights Reserved.