info.bliki.wiki.tags.code
Class XMLCodeFilter
java.lang.Object
info.bliki.wiki.tags.code.AbstractCodeFormatter
info.bliki.wiki.tags.code.AbstractCPPBasedCodeFilter
info.bliki.wiki.tags.code.XMLCodeFilter
- All Implemented Interfaces:
- SourceCodeFormatter
public class XMLCodeFilter
- extends AbstractCPPBasedCodeFilter
- implements SourceCodeFormatter
Syntax highlighting support for XML/HTML source code
Method Summary |
java.lang.String |
filter(java.lang.String input)
Convert the given content string to HTML synatx highlighted
string. |
java.util.HashMap<java.lang.String,java.lang.String> |
getKeywordSet()
|
java.util.HashMap<java.lang.String,java.lang.String> |
getObjectSet()
|
boolean |
isKeywordCaseSensitive()
Test if the keywords are case sensitive. |
boolean |
isPHPTag()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLCodeFilter
public XMLCodeFilter()
getKeywordSet
public java.util.HashMap<java.lang.String,java.lang.String> getKeywordSet()
- Specified by:
getKeywordSet
in class AbstractCodeFormatter
- Returns:
- Returns the KEYWORD_SET.
getObjectSet
public java.util.HashMap<java.lang.String,java.lang.String> getObjectSet()
- Specified by:
getObjectSet
in class AbstractCodeFormatter
- Returns:
- Returns the OBJECT_SET.
filter
public java.lang.String filter(java.lang.String input)
- Description copied from interface:
SourceCodeFormatter
- Convert the given
content
string to HTML synatx highlighted
string.
- Specified by:
filter
in interface SourceCodeFormatter
- Overrides:
filter
in class AbstractCPPBasedCodeFilter
- Returns:
isKeywordCaseSensitive
public boolean isKeywordCaseSensitive()
- Description copied from class:
AbstractCPPBasedCodeFilter
- Test if the keywords are case sensitive. Returns
true
by
default.
- Overrides:
isKeywordCaseSensitive
in class AbstractCPPBasedCodeFilter
- Returns:
true
if the keywords are case sensitive
isPHPTag
public boolean isPHPTag()
- Overrides:
isPHPTag
in class AbstractCPPBasedCodeFilter
Copyright © 2012 Java Wikipedia API (Bliki engine). All Rights Reserved.