A B C E F G H I L M N P R S T U V W

A

add(Highlighter) - Method in class net.sf.xslthl.MainHighlighter
 
addWhole(WholeHighlighter) - Method in class net.sf.xslthl.MainHighlighter
Deprecated. 

B

Block - Class in net.sf.xslthl
A block of text
Block(String) - Constructor for class net.sf.xslthl.Block
 

C

CharIter - Class in net.sf.xslthl
A special character iterator
CharIter(String) - Constructor for class net.sf.xslthl.CharIter
 
compare(String, String) - Method in class net.sf.xslthl.Highlighter.IgnoreCaseComparator
 
Config - Class in net.sf.xslthl
Contains the Xslthl configuration
Config() - Constructor for class net.sf.xslthl.Config
 
Config(String) - Constructor for class net.sf.xslthl.Config
 
CONFIG_PROPERTY - Static variable in class net.sf.xslthl.Config
System property that defines the path to the configuration file
ConnectorSaxon6 - Class in net.sf.xslthl
Connector for Saxon 6.
ConnectorSaxon6() - Constructor for class net.sf.xslthl.ConnectorSaxon6
 
ConnectorSaxonB - Class in net.sf.xslthl
A new saxon connector to be used with saxon 8.5 and later.
ConnectorSaxonB() - Constructor for class net.sf.xslthl.ConnectorSaxonB
 
ConnectorXalan - Class in net.sf.xslthl
XalanConnector for XsltHL.
ConnectorXalan() - Constructor for class net.sf.xslthl.ConnectorXalan
 
createHighlighters(MainHighlighter, NodeList) - Method in class net.sf.xslthl.Config
Creates the defined highlighters
createMatcher(Pattern) - Method in class net.sf.xslthl.CharIter
Create a pattern matcher
current() - Method in class net.sf.xslthl.CharIter
 

E

empty() - Method in class net.sf.xslthl.Block
Deprecated. Use Block.isEmpty() instead

F

finished() - Method in class net.sf.xslthl.CharIter
 

G

getDefaultStyle() - Method in class net.sf.xslthl.Highlighter
The default style name
getInstance() - Static method in class net.sf.xslthl.Config
Get the default config
getInstance(String) - Static method in class net.sf.xslthl.Config
Get the config from a given file
getLength() - Method in class net.sf.xslthl.CharIter
 
getMainHighlighter(String) - Method in class net.sf.xslthl.Config
Get the highlighter for a given language id
getMajor() - Static method in class net.sf.xslthl.Version
 
getMark() - Method in class net.sf.xslthl.CharIter
 
getMarked() - Method in class net.sf.xslthl.CharIter
 
getMinor() - Static method in class net.sf.xslthl.Version
 
getMultiParams(String, Collection<T>, Params.ParamsLoader<? extends T>) - Method in class net.sf.xslthl.Params
Get the parameters using a specialized loader
getMutliParams(String, Collection<String>) - Method in class net.sf.xslthl.Params
Load multiple parameters into a list
getParam() - Method in class net.sf.xslthl.Params
Get the current element as value
getParam(String) - Method in class net.sf.xslthl.Params
Get a single parameter.
getParam(String, String) - Method in class net.sf.xslthl.Params
Get a single parameter with a default value.
getParams(String) - Method in class net.sf.xslthl.Params
 
getPosition() - Method in class net.sf.xslthl.CharIter
 
getPrefix() - Method in class net.sf.xslthl.Config
 
getReleaseType() - Static method in class net.sf.xslthl.Version
 
getRevision() - Static method in class net.sf.xslthl.Version
 
getStyle() - Method in class net.sf.xslthl.StyledBlock
 
getText() - Method in class net.sf.xslthl.Block
 
getText() - Method in class net.sf.xslthl.StyledBlock
 
getTextContent(Node) - Method in class net.sf.xslthl.Params
Return the text content for the given element.
getUri() - Method in class net.sf.xslthl.Config
 
getVersion() - Static method in class net.sf.xslthl.Version
 

H

hasNext() - Method in class net.sf.xslthl.CharIter
 
HIDDEN_STYLE - Static variable in class net.sf.xslthl.StyledBlock
Remove this part from the result
highlight(Context, String, NodeEnumeration) - Static method in class net.sf.xslthl.ConnectorSaxon6
Highlight the nodes using the standard configuration file
highlight(Context, String, NodeEnumeration, String) - Static method in class net.sf.xslthl.ConnectorSaxon6
highlight the nodes using a specific interface
highlight(XPathContext, String, SequenceIterator) - Static method in class net.sf.xslthl.ConnectorSaxonB
Highlight the nodes using the standard configuration file
highlight(XPathContext, String, SequenceIterator, String) - Static method in class net.sf.xslthl.ConnectorSaxonB
highlight the nodes using a specific interface
highlight(ExpressionContext, String, MainHighlighter, Config) - Static method in class net.sf.xslthl.ConnectorXalan
 
highlight(ExpressionContext, String, NodeList) - Static method in class net.sf.xslthl.ConnectorXalan
highlight the given nodes using the standard configuration
highlight(ExpressionContext, String, NodeList, String) - Static method in class net.sf.xslthl.ConnectorXalan
highlight the given nodes
highlight(CharIter, List<Block>) - Method in class net.sf.xslthl.Highlighter
Perform highlighting on the current token stream.
highlight(String) - Method in class net.sf.xslthl.MainHighlighter
Convert the input string into a collection of text blocks
Highlighter - Class in net.sf.xslthl
Base highlighter.
Highlighter() - Constructor for class net.sf.xslthl.Highlighter
 
Highlighter.IgnoreCaseComparator - Class in net.sf.xslthl
 
Highlighter.IgnoreCaseComparator() - Constructor for class net.sf.xslthl.Highlighter.IgnoreCaseComparator
 
highlighterClasses - Static variable in class net.sf.xslthl.Config
Registered highlighter classes
HighlighterConfigurationException - Exception in net.sf.xslthl
Exception thrown on construction of a highlighter when the configuration is incomplete
HighlighterConfigurationException(String, Throwable) - Constructor for exception net.sf.xslthl.HighlighterConfigurationException
 
HighlighterConfigurationException(String) - Constructor for exception net.sf.xslthl.HighlighterConfigurationException
 
highlighters - Variable in class net.sf.xslthl.Config
Registered highlighters
highlighters - Variable in class net.sf.xslthl.MainHighlighter
Normal highlighter

I

indexOf(String) - Method in class net.sf.xslthl.CharIter
 
init(Params) - Method in class net.sf.xslthl.Highlighter
Initializer
init(Params) - Method in class net.sf.xslthl.WholeHighlighter
 
isEmpty() - Method in class net.sf.xslthl.Block
 
isMarked() - Method in class net.sf.xslthl.CharIter
 
isNewLine(Character) - Static method in class net.sf.xslthl.Highlighter
 
isSet(String) - Method in class net.sf.xslthl.Params
Return true if a parameter with the given name exists.
isStyled() - Method in class net.sf.xslthl.Block
 
isStyled() - Method in class net.sf.xslthl.StyledBlock
 
iterator() - Method in class net.sf.xslthl.CharIter
 

L

load(Params) - Method in interface net.sf.xslthl.Params.ParamsLoader
 
loadHl(String) - Method in class net.sf.xslthl.Config
Load a highlighter

M

MainHighlighter - Class in net.sf.xslthl
Main source highlighter.
MainHighlighter() - Constructor for class net.sf.xslthl.MainHighlighter
 
markedToBlock() - Method in class net.sf.xslthl.CharIter
 
markedToStyledBlock(String) - Method in class net.sf.xslthl.CharIter
Create a style block, unless the stylename is equale to
moveNext() - Method in class net.sf.xslthl.CharIter
Increase the pointer
moveNext(int) - Method in class net.sf.xslthl.CharIter
Increase the point with the given offset
moveNextAndMark() - Method in class net.sf.xslthl.CharIter
Increase the pointer and mark the position after it
moveToEnd() - Method in class net.sf.xslthl.CharIter
Move to the end of the string

N

net.sf.xslthl - package net.sf.xslthl
 
next() - Method in class net.sf.xslthl.CharIter
 
next(int) - Method in class net.sf.xslthl.CharIter
 
NO_EXTERNAL_PROPERTY - Static variable in class net.sf.xslthl.Config
Property set to disable external configuration loading
NO_STYLE - Static variable in class net.sf.xslthl.StyledBlock
Do not add a style, just "block" it

P

paramElem - Variable in class net.sf.xslthl.Params
 
Params - Class in net.sf.xslthl
Syntax highlighter parameters
Params(Element) - Constructor for class net.sf.xslthl.Params
 
Params.ParamsLoader<T> - Interface in net.sf.xslthl
 
prefix - Variable in class net.sf.xslthl.Config
Prefix to use on created XML elements
prev() - Method in class net.sf.xslthl.CharIter
 
prev(int) - Method in class net.sf.xslthl.CharIter
 

R

remaining() - Method in class net.sf.xslthl.CharIter
 
remove() - Method in class net.sf.xslthl.CharIter
 
reset() - Method in class net.sf.xslthl.Highlighter
Reset this highlighter to it's initially configured state

S

setMark() - Method in class net.sf.xslthl.CharIter
Set the current position as the mark
setMark(int) - Method in class net.sf.xslthl.CharIter
Set the mark to the given location
startsWith(String) - Method in class net.sf.xslthl.CharIter
 
startsWith(String, boolean) - Method in class net.sf.xslthl.CharIter
 
startsWith(String, int) - Method in class net.sf.xslthl.CharIter
 
startsWith(String, int, boolean) - Method in class net.sf.xslthl.CharIter
 
startsWith(CharIter) - Method in class net.sf.xslthl.Highlighter
return true if the current character is a possible match for this highlighter
style - Variable in class net.sf.xslthl.StyledBlock
The style name
StyledBlock - Class in net.sf.xslthl
A block with a style
StyledBlock(String, String) - Constructor for class net.sf.xslthl.StyledBlock
 
styleName - Variable in class net.sf.xslthl.Highlighter
The name of the style to use

T

text - Variable in class net.sf.xslthl.Block
The content of this block
toString() - Method in class net.sf.xslthl.Block
 
toString() - Method in class net.sf.xslthl.StyledBlock
 

U

uri - Variable in class net.sf.xslthl.Config
The namespace uri

V

verbose - Variable in class net.sf.xslthl.Config
 
VERBOSE_LOADING_PROPERTY - Static variable in class net.sf.xslthl.Config
If set to true be verbose during loading of the configuration
Version - Class in net.sf.xslthl
Version information for xslthl
Version() - Constructor for class net.sf.xslthl.Version
 

W

WholeHighlighter - Class in net.sf.xslthl
 
WholeHighlighter() - Constructor for class net.sf.xslthl.WholeHighlighter
 
wholehighlighters - Variable in class net.sf.xslthl.MainHighlighter
 

A B C E F G H I L M N P R S T U V W