com.leafdigital.highlighter.api
Interface Highlighter
- All Superinterfaces:
- Singleton
public interface Highlighter
- extends Singleton
Highlighter singleton handles text highlights.
Method Summary |
java.lang.String |
highlight(java.lang.String currentNickname,
java.lang.String xml)
Applies highlights to XML data. |
highlight
java.lang.String highlight(java.lang.String currentNickname,
java.lang.String xml)
throws util.xml.XMLException
- Applies highlights to XML data.
- Parameters:
currentNickname
- Current nickname (may be highlighted); null if nonexml
- Well-formed XML input (may not have outer tag)
- Returns:
- Well-formed XML output (may not have outer tag)
- Throws:
util.xml.XMLException
- If XML is not well-formed
Copyright © 2011 Samuel Marshall. All rights reserved.