public class DefaultNTextRPI extends Object implements NTextRPI
| Constructor and Description |
|---|
DefaultNTextRPI() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitof, strip, strip, stripLeft, stripLeft, stripRight, stripRightpublic NTextBuilder createBuilder()
createBuilder in interface NTextRPIpublic NTableCellBuilder createCellSpecBuilder()
createCellSpecBuilder in interface NTextRPIpublic NTreeNode createTreeNode(NText text, NTreeNode[] children)
createTreeNode in interface NTextRPIpublic NText createBlank()
createBlank in interface NTextRPIpublic NText createText(NMsg t)
createText in interface NTextRPIpublic NText createText(Object t)
createText in interface NTextRPIpublic NTextPlain createPlain(String t)
createPlain in interface NTextRPIpublic NTextList createList(NText... nodes)
createList in interface NTextRPIpublic NTextList createList(Collection<NText> nodes)
createList in interface NTextRPIpublic NText createStyled(String other, NTextStyles styles)
createStyled in interface NTextRPIpublic NText createStyled(NText other, NTextStyles styles)
createStyled in interface NTextRPIpublic NText createStyled(String plainText, NTextStyle style)
createStyled in interface NTextRPIpublic NText createStyled(NMsg other, NTextStyles styles)
createStyled in interface NTextRPIpublic NText createStyled(NMsg other, NTextStyle style)
createStyled in interface NTextRPIpublic NText createStyled(NText other, NTextStyle style)
createStyled in interface NTextRPIother - otherstyle - textNodeStylepublic NTextCmd createCommand(NTerminalCmd command)
createCommand in interface NTextRPIpublic NText createCodeOrCommand(String lang, String text)
createCodeOrCommand in interface NTextRPIpublic NText createCodeOrCommand(String text)
createCodeOrCommand in interface NTextRPIpublic NText createCodeOrCommand(String name, String text, String sep)
createCodeOrCommand in interface NTextRPIpublic NTextCode createCode(String lang, String text)
createCode in interface NTextRPIpublic NTextCode createCode(String text, String lang, String sep)
createCode in interface NTextRPIpublic NTitleSequence createNumbering()
createNumbering in interface NTextRPIpublic NTitleSequence createNumbering(String pattern)
createNumbering in interface NTextRPIpublic NTextAnchor createAnchor(String anchorName)
createAnchor in interface NTextRPIpublic NTextAnchor createAnchor(String anchorName, String sep)
createAnchor in interface NTextRPIpublic NTextLink createLink(String value)
createLink in interface NTextRPIpublic NTextLink createLink(String value, String sep)
createLink in interface NTextRPIpublic NTextInclude createInclude(String value)
createInclude in interface NTextRPIpublic NTextInclude createInclude(String value, String sep)
createInclude in interface NTextRPIpublic NOptional<NTextTheme> getTheme(String name)
public NTextTheme currentTheme()
currentTheme in interface NTextRPIpublic NTextRPI setTheme(NTextTheme theme)
public NCodeHighlighter codeHighlighter(String kind)
codeHighlighter in interface NTextRPIpublic NTextRPI registerCodeHighlighter(NCodeHighlighter format)
registerCodeHighlighter in interface NTextRPIpublic NTextRPI unregisterCodeHighlighter(String id)
unregisterCodeHighlighter in interface NTextRPIpublic List<NCodeHighlighter> codeHighlighters()
codeHighlighters in interface NTextRPIpublic NText createText(String t)
createText in interface NTextRPIpublic NTextParser createParser()
createParser in interface NTextRPIpublic NCodeHighlighter resolveCodeHighlighter(String kind)
public NTextTitle createTitle(NText other, int level)
createTitle in interface NTextRPIpublic NTextTitle createTitle(String other, int level)
createTitle in interface NTextRPIpublic NTextCode createCode(String start, String kind, String separator, String end, String text)
public NTextCmd createCommand(String start, NTerminalCmd command, String separator, String end)
public NTextAnchor createAnchor(String start, String separator, String end, String value)
public String escapeText(String str)
escapeText in interface NTextRPIpublic String filterText(String text)
filterText in interface NTextRPIpublic NOptional<NObjectWriter> createWriter(Object format)
createWriter in interface NTextRPIpublic <T> NOptional<NStringFormat<T>> createStringFormat(String type, String pattern, Class<T> expectedType)
createStringFormat in interface NTextRPIpublic <T> NOptional<NTextFormat<T>> createTextFormat(String type, String pattern, Class<T> expectedType)
createTextFormat in interface NTextRPIpublic NOptional<NTextTheme> createThemeByName(String name)
createThemeByName in interface NTextRPIpublic NOptional<NTextTheme> createThemeByPath(NPath path)
createThemeByPath in interface NTextRPICopyright © 2026 vpc open source initiative. All rights reserved.