Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accepted(Element) - Method in interface net.sf.xslthl.FilteredElementIterator.Acceptor
-
Accept or reject an element
- accepted(Element) - Method in class net.sf.xslthl.FilteredElementIterator.TagNameAcceptor
- add(Highlighter) - Method in class net.sf.xslthl.MainHighlighter
- addWhole(WholeHighlighter) - Method in class net.sf.xslthl.MainHighlighter
-
Deprecated.
- AnnotationHighlighter - Class in net.sf.xslthl.highlighters
-
Recognizes annotations.
- AnnotationHighlighter() - Constructor for class net.sf.xslthl.highlighters.AnnotationHighlighter
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_PROPERTY - Static variable in class net.sf.xslthl.Config
-
System property that defines the path to the configuration file
- ConnectorSaxonEE - Class in net.sf.xslthl
-
A new saxon connector to be used with saxon 8.5 and later.
- ConnectorSaxonEE() - Constructor for class net.sf.xslthl.ConnectorSaxonEE
- ConnectorXalan - Class in net.sf.xslthl
-
XalanConnector for XsltHL.
- ConnectorXalan() - Constructor for class net.sf.xslthl.ConnectorXalan
- createMatcher(Pattern) - Method in class net.sf.xslthl.CharIter
-
Create a pattern matcher
- current() - Method in class net.sf.xslthl.CharIter
E
- ElementPrefix - Class in net.sf.xslthl.highlighters.xml
-
Style override based on XML prefix
- ElementPrefix(Params) - Constructor for class net.sf.xslthl.highlighters.xml.ElementPrefix
- ElementSet - Class in net.sf.xslthl.highlighters.xml
-
Style overrides for various elements
- ElementSet(Params) - Constructor for class net.sf.xslthl.highlighters.xml.ElementSet
- empty() - Method in class net.sf.xslthl.Block
-
Deprecated.
F
- FilteredElementIterator - Class in net.sf.xslthl
-
An iterator over the child elements of a given element, filtered by a set of element names.
- FilteredElementIterator(Element, Set<String>) - Constructor for class net.sf.xslthl.FilteredElementIterator
-
Creates a filtered element iterator that accepts elements with a given tag name
- FilteredElementIterator(Element, FilteredElementIterator.Acceptor) - Constructor for class net.sf.xslthl.FilteredElementIterator
- FilteredElementIterator.Acceptor - Interface in net.sf.xslthl
-
Defines a filter used by this iterator
- FilteredElementIterator.TagNameAcceptor - Class in net.sf.xslthl
-
Acceptor that accepts elements based on the tag name
- finished() - Method in class net.sf.xslthl.CharIter
G
- getDefaultStyle() - Method in class net.sf.xslthl.Highlighter
-
The default style name
- getDefaultStyle() - Method in class net.sf.xslthl.highlighters.AnnotationHighlighter
- getDefaultStyle() - Method in class net.sf.xslthl.highlighters.HeredocHighlighter
- getDefaultStyle() - Method in class net.sf.xslthl.highlighters.HTMLHighlighter
- getDefaultStyle() - Method in class net.sf.xslthl.highlighters.KeywordsHighlighter
- getDefaultStyle() - Method in class net.sf.xslthl.highlighters.MultilineCommentHighlighter
- getDefaultStyle() - Method in class net.sf.xslthl.highlighters.NumberHighlighter
- getDefaultStyle() - Method in class net.sf.xslthl.highlighters.OnelineCommentHighlighter
- getDefaultStyle() - Method in class net.sf.xslthl.highlighters.RegexHighlighterEx
- getDefaultStyle() - Method in class net.sf.xslthl.highlighters.StringHighlighter
- getDefaultStyle() - Method in class net.sf.xslthl.highlighters.WordHighlighter
- getDefaultStyle() - Method in class net.sf.xslthl.highlighters.XMLHighlighter
- getFilename() - Method in class net.sf.xslthl.MainHighlighter
-
The configuration filename, can be null
- getId() - Method in class net.sf.xslthl.MainHighlighter
-
The highlighter identifier
- 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, URI or filename.
- getMark() - Method in class net.sf.xslthl.CharIter
- getMarked() - Method in class net.sf.xslthl.CharIter
- 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
- getStyle() - Method in class net.sf.xslthl.highlighters.xml.ElementSet
- getStyle() - Method in class net.sf.xslthl.StyledBlock
- getText() - Method in class net.sf.xslthl.Block
- getText() - Method in class net.sf.xslthl.StyledBlock
- 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
- hasNext() - Method in class net.sf.xslthl.FilteredElementIterator
- HeredocHighlighter - Class in net.sf.xslthl.highlighters
-
Accepts heredoc constructions.
- HeredocHighlighter() - Constructor for class net.sf.xslthl.highlighters.HeredocHighlighter
- HexaDecimalHighlighter - Class in net.sf.xslthl.highlighters
-
Number highlighter for hexadecimal numbers
- HexaDecimalHighlighter() - Constructor for class net.sf.xslthl.highlighters.HexaDecimalHighlighter
- HIDDEN_STYLE - Static variable in class net.sf.xslthl.StyledBlock
-
Remove this part from the result
- highlight(String) - Method in class net.sf.xslthl.MainHighlighter
-
Convert the input string into a collection of text blocks
- highlight(XPathContext, String, SequenceIterator) - Static method in class net.sf.xslthl.ConnectorSaxonEE
-
Highlight the nodes using the standard configuration file
- highlight(XPathContext, String, SequenceIterator, String) - Static method in class net.sf.xslthl.ConnectorSaxonEE
-
highlight the nodes using a specific interface
- highlight(CharIter, List<Block>) - Method in class net.sf.xslthl.Highlighter
-
Perform highlighting on the current token stream.
- highlight(CharIter, List<Block>) - Method in class net.sf.xslthl.highlighters.AnnotationHighlighter
- highlight(CharIter, List<Block>) - Method in class net.sf.xslthl.highlighters.HeredocHighlighter
- highlight(CharIter, List<Block>) - Method in class net.sf.xslthl.highlighters.HTMLHighlighter
- highlight(CharIter, List<Block>) - Method in class net.sf.xslthl.highlighters.KeywordsHighlighter
- highlight(CharIter, List<Block>) - Method in class net.sf.xslthl.highlighters.MultilineCommentHighlighter
- highlight(CharIter, List<Block>) - Method in class net.sf.xslthl.highlighters.NestedMultilineCommentHighlighter
- highlight(CharIter, List<Block>) - Method in class net.sf.xslthl.highlighters.NumberHighlighter
- highlight(CharIter, List<Block>) - Method in class net.sf.xslthl.highlighters.OnelineCommentHighlighter
- highlight(CharIter, List<Block>) - Method in class net.sf.xslthl.highlighters.RegexHighlighterEx
- highlight(CharIter, List<Block>) - Method in class net.sf.xslthl.highlighters.StringHighlighter
- highlight(CharIter, List<Block>) - Method in class net.sf.xslthl.highlighters.WordHighlighter
- highlight(CharIter, List<Block>) - Method in class net.sf.xslthl.highlighters.XMLHighlighter
- 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
- Highlighter - Class in net.sf.xslthl
-
Base highlighter.
- Highlighter() - Constructor for class net.sf.xslthl.Highlighter
- Highlighter.IgnoreCaseComparator - Class in net.sf.xslthl
- highlighterClasses - Static variable in class net.sf.xslthl.Config
-
Registered highlighter classes
- HighlighterConfigurationException - Exception Class in net.sf.xslthl
-
Exception thrown on construction of a highlighter when the configuration is incomplete
- HighlighterConfigurationException(String) - Constructor for exception class net.sf.xslthl.HighlighterConfigurationException
- HighlighterConfigurationException(String, Throwable) - Constructor for exception class net.sf.xslthl.HighlighterConfigurationException
- HTMLHighlighter - Class in net.sf.xslthl.highlighters
-
XML/SGML highlighter.
- HTMLHighlighter() - Constructor for class net.sf.xslthl.highlighters.HTMLHighlighter
I
- IgnoreCaseComparator() - Constructor for class net.sf.xslthl.Highlighter.IgnoreCaseComparator
- 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.highlighters.AnnotationHighlighter
- init(Params) - Method in class net.sf.xslthl.highlighters.HeredocHighlighter
- init(Params) - Method in class net.sf.xslthl.highlighters.HTMLHighlighter
- init(Params) - Method in class net.sf.xslthl.highlighters.KeywordsHighlighter
- init(Params) - Method in class net.sf.xslthl.highlighters.MultilineCommentHighlighter
- init(Params) - Method in class net.sf.xslthl.highlighters.NestedMultilineCommentHighlighter
- init(Params) - Method in class net.sf.xslthl.highlighters.NumberHighlighter
- init(Params) - Method in class net.sf.xslthl.highlighters.OnelineCommentHighlighter
- init(Params) - Method in class net.sf.xslthl.highlighters.RegexHighlighterEx
- init(Params) - Method in class net.sf.xslthl.highlighters.StringHighlighter
- init(Params) - Method in class net.sf.xslthl.highlighters.WordHighlighter
- init(Params) - Method in class net.sf.xslthl.highlighters.XMLHighlighter
- 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
K
- KeywordsHighlighter - Class in net.sf.xslthl.highlighters
-
Scans for registered keywords Accepted parameters: keywords Keywords this highlighter recognizes.
- KeywordsHighlighter() - Constructor for class net.sf.xslthl.highlighters.KeywordsHighlighter
L
- load(Params) - Method in interface net.sf.xslthl.Params.ParamsLoader
- LOGLEVEL_PROPERTY - Static variable in class net.sf.xslthl.Config
-
The log level for the xslthl logger
M
- MainHighlighter - Class in net.sf.xslthl
-
Main source highlighter.
- MainHighlighter(String, String) - 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 "none"
- matches(String) - Method in class net.sf.xslthl.highlighters.xml.ElementPrefix
- matches(String) - Method in class net.sf.xslthl.highlighters.xml.ElementSet
- matches(String) - Method in class net.sf.xslthl.highlighters.xml.RealElementSet
- 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
- MultilineCommentHighlighter - Class in net.sf.xslthl.highlighters
-
Performs highlighting for multi-line comments Accepted parameters: start How the multiline comment starts.
- MultilineCommentHighlighter() - Constructor for class net.sf.xslthl.highlighters.MultilineCommentHighlighter
N
- NestedMultilineCommentHighlighter - Class in net.sf.xslthl.highlighters
-
Just like the multiline comment highlighter, but accepts nesting of comments.
- NestedMultilineCommentHighlighter() - Constructor for class net.sf.xslthl.highlighters.NestedMultilineCommentHighlighter
- net.sf.xslthl - package net.sf.xslthl
- net.sf.xslthl.highlighters - package net.sf.xslthl.highlighters
- net.sf.xslthl.highlighters.xml - package net.sf.xslthl.highlighters.xml
- next() - Method in class net.sf.xslthl.CharIter
- next() - Method in class net.sf.xslthl.FilteredElementIterator
- 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
- NumberHighlighter - Class in net.sf.xslthl.highlighters
-
Recognizes numbers.
- NumberHighlighter() - Constructor for class net.sf.xslthl.highlighters.NumberHighlighter
O
- OnelineCommentHighlighter - Class in net.sf.xslthl.highlighters
-
Single line comments.
- OnelineCommentHighlighter() - Constructor for class net.sf.xslthl.highlighters.OnelineCommentHighlighter
P
- 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
- PLUGIN_PREFIX - Static variable in class net.sf.xslthl.Config
-
Prefix used for plug-able highlighters
- prev() - Method in class net.sf.xslthl.CharIter
- prev(int) - Method in class net.sf.xslthl.CharIter
R
- RealElementSet - Class in net.sf.xslthl.highlighters.xml
-
Override the style for given elements (whole name)
- RealElementSet(Params) - Constructor for class net.sf.xslthl.highlighters.xml.RealElementSet
- RegexHighlighterEx - Class in net.sf.xslthl.highlighters
-
Regular expression highlighter.
- RegexHighlighterEx() - Constructor for class net.sf.xslthl.highlighters.RegexHighlighterEx
- remaining() - Method in class net.sf.xslthl.CharIter
- remove() - Method in class net.sf.xslthl.CharIter
- remove() - Method in class net.sf.xslthl.FilteredElementIterator
- reset() - Method in class net.sf.xslthl.Highlighter
-
Reset this highlighter to it's initially configured state
- reset() - Method in class net.sf.xslthl.highlighters.RegexHighlighterEx
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
- startsWith(CharIter) - Method in class net.sf.xslthl.highlighters.AnnotationHighlighter
- startsWith(CharIter) - Method in class net.sf.xslthl.highlighters.HeredocHighlighter
- startsWith(CharIter) - Method in class net.sf.xslthl.highlighters.KeywordsHighlighter
- startsWith(CharIter) - Method in class net.sf.xslthl.highlighters.MultilineCommentHighlighter
- startsWith(CharIter) - Method in class net.sf.xslthl.highlighters.NumberHighlighter
- startsWith(CharIter) - Method in class net.sf.xslthl.highlighters.OnelineCommentHighlighter
- startsWith(CharIter) - Method in class net.sf.xslthl.highlighters.RegexHighlighterEx
- startsWith(CharIter) - Method in class net.sf.xslthl.highlighters.StringHighlighter
- startsWith(CharIter) - Method in class net.sf.xslthl.highlighters.WordHighlighter
- StringHighlighter - Class in net.sf.xslthl.highlighters
-
Recognizes strings.
- StringHighlighter() - Constructor for class net.sf.xslthl.highlighters.StringHighlighter
- StyledBlock - Class in net.sf.xslthl
-
A block with a style
- StyledBlock(String, String) - Constructor for class net.sf.xslthl.StyledBlock
T
- TagNameAcceptor(Set<String>) - Constructor for class net.sf.xslthl.FilteredElementIterator.TagNameAcceptor
- toString() - Method in class net.sf.xslthl.Block
- toString() - Method in class net.sf.xslthl.StyledBlock
V
- VERBOSE_LOADING_PROPERTY - Static variable in class net.sf.xslthl.Config
-
Deprecated.since 2.1 XSLTHL uses the Java logging facility
- 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
- WordHighlighter - Class in net.sf.xslthl.highlighters
-
Highlights the list of elements as they are encounterd.
- WordHighlighter() - Constructor for class net.sf.xslthl.highlighters.WordHighlighter
X
- XMLHighlighter - Class in net.sf.xslthl.highlighters
-
XML/SGML highlighter.
- XMLHighlighter() - Constructor for class net.sf.xslthl.highlighters.XMLHighlighter
- XMLname - Static variable in class net.sf.xslthl.Highlighter
-
validates a valid XML name (note: ':' is not allowed) http://www.w3.org/TR/2000/REC-xml-20001006#NT-Letter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Block.isEmpty()
instead