org.amberarcher.xml.tool.highlight
Class SourceHighlighter
java.lang.Object
|
+--org.amberarcher.xml.tool.highlight.SourceHighlighter
- All Implemented Interfaces:
- Highlighter
- public class SourceHighlighter
- extends java.lang.Object
- implements Highlighter
A highlighter that uses the GNU Src-Highlight
package to render Java, C/C++, Prolog, Perl, PHP3, Python, Flex, ChangeLog or Ruby source code as
XHTML.
- Version:
- $Revision: 1.4 $
- Author:
- Kyle F. Downey
Method Summary |
org.w3c.dom.Node |
highlight(org.w3c.dom.Node replaceNode)
|
void |
setHighlightContext(org.amberarcher.xml.tool.highlight.HighlightContext ctx)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceHighlighter
public SourceHighlighter()
highlight
public org.w3c.dom.Node highlight(org.w3c.dom.Node replaceNode)
throws HighlightException
- Specified by:
highlight
in interface Highlighter
HighlightException
setHighlightContext
public void setHighlightContext(org.amberarcher.xml.tool.highlight.HighlightContext ctx)
- Specified by:
setHighlightContext
in interface Highlighter
Copyright © 2003 Amber Archer Consulting, Inc.. All Rights Reserved.