|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.xslthl.Highlighter
net.sf.xslthl.highlighters.HeredocHighlighter
public class HeredocHighlighter
Accepts heredoc constructions. Accepted parameters:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.sf.xslthl.Highlighter |
---|
Highlighter.IgnoreCaseComparator |
Field Summary | |
---|---|
protected Set<String> |
flags
|
protected boolean |
indentFlag
|
protected boolean |
looseTerminator
|
protected boolean |
noWhiteSpace
|
protected Set<String> |
quoteChar
quote characters that can be used in the heredoc identifier |
protected String |
start
The token that initiates a heredoc construction |
Fields inherited from class net.sf.xslthl.Highlighter |
---|
styleName, XMLname |
Constructor Summary | |
---|---|
HeredocHighlighter()
|
Method Summary | |
---|---|
String |
getDefaultStyle()
The default style name |
boolean |
highlight(CharIter in,
List<Block> out)
Perform highlighting on the current token stream. |
void |
init(Params params)
Initializer |
boolean |
startsWith(CharIter in)
return true if the current character is a possible match for this highlighter |
Methods inherited from class net.sf.xslthl.Highlighter |
---|
isNewLine, reset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String start
protected Set<String> quoteChar
protected boolean noWhiteSpace
protected boolean looseTerminator
protected boolean indentFlag
protected Set<String> flags
Constructor Detail |
---|
public HeredocHighlighter()
Method Detail |
---|
public void init(Params params) throws HighlighterConfigurationException
Highlighter
init
in class Highlighter
HighlighterConfigurationException
public boolean startsWith(CharIter in)
Highlighter
startsWith
in class Highlighter
public boolean highlight(CharIter in, List<Block> out)
Highlighter
highlight
in class Highlighter
public String getDefaultStyle()
Highlighter
getDefaultStyle
in class Highlighter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |