public class XmlCodeHighlighter extends Object implements NCodeHighlighter
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
XmlCodeHighlighter(NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
NText |
formatNodeName(String text,
NTexts txt) |
NText |
formatNodeSeparator(String text,
NTexts txt) |
NText |
formatNodeString(String text,
NTexts txt) |
String |
getId() |
int |
getScore(NScorableContext context) |
NText |
stringToText(String text,
NTexts txt) |
NText |
tokenToText(String text,
String nodeType,
NTexts txt) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisValidScore, query, querypublic XmlCodeHighlighter(NWorkspace workspace)
public String getId()
getId in interface NCodeHighlighterpublic int getScore(NScorableContext context)
getScore in interface NCodeHighlightergetScore in interface NComponentgetScore in interface NScorablepublic NText stringToText(String text, NTexts txt)
stringToText in interface NCodeHighlighterpublic NText tokenToText(String text, String nodeType, NTexts txt)
tokenToText in interface NCodeHighlighterCopyright © 2025 vpc open source initiative. All rights reserved.