public class DefaultNTreeFormat extends DefaultFormatBase<net.thevpc.nuts.format.NTreeFormat> implements net.thevpc.nuts.format.NTreeFormat
| Modifier and Type | Field and Description |
|---|---|
static net.thevpc.nuts.format.NTreeLinkFormat |
LINK_ASCII_FORMATTER |
static net.thevpc.nuts.format.NTreeLinkFormat |
LINK_SPACE_FORMATTER |
static net.thevpc.nuts.format.NTreeLinkFormat |
LINK_UNICODE_FORMATTER |
net.thevpc.nuts.format.NTreeNodeFormat |
TO_STRING_FORMATTER |
| Constructor and Description |
|---|
DefaultNTreeFormat(net.thevpc.nuts.NWorkspace workspace) |
DefaultNTreeFormat(net.thevpc.nuts.NWorkspace workspace,
net.thevpc.nuts.format.NTreeModel tree) |
DefaultNTreeFormat(net.thevpc.nuts.NWorkspace workspace,
net.thevpc.nuts.format.NTreeModel tree,
net.thevpc.nuts.format.NTreeNodeFormat formatter,
net.thevpc.nuts.format.NTreeLinkFormat linkFormatter) |
| Modifier and Type | Method and Description |
|---|---|
DefaultNTreeFormat |
addMultilineProperty(String property,
String separator) |
boolean |
configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
net.thevpc.nuts.format.NTreeLinkFormat |
getLinkFormat() |
net.thevpc.nuts.format.NTreeModel |
getModel() |
net.thevpc.nuts.format.NTreeNodeFormat |
getNodeFormat() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
Object |
getValue() |
boolean |
isEffectiveOmitRoot() |
boolean |
isOmitRoot() |
void |
print(net.thevpc.nuts.io.NPrintStream out) |
DefaultNTreeFormat |
setLinkFormat(net.thevpc.nuts.format.NTreeLinkFormat linkFormatter) |
DefaultNTreeFormat |
setNodeFormat(net.thevpc.nuts.format.NTreeNodeFormat formatter) |
void |
setOmitRoot(boolean hideRoot) |
DefaultNTreeFormat |
setValue(Object value) |
String |
toString() |
format, formatPlain, getValidPrintStream, getValidPrintStream, print, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnconfigure, getName, isNtf, setNtfclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final net.thevpc.nuts.format.NTreeLinkFormat LINK_ASCII_FORMATTER
public static final net.thevpc.nuts.format.NTreeLinkFormat LINK_SPACE_FORMATTER
public static final net.thevpc.nuts.format.NTreeLinkFormat LINK_UNICODE_FORMATTER
public final net.thevpc.nuts.format.NTreeNodeFormat TO_STRING_FORMATTER
public DefaultNTreeFormat(net.thevpc.nuts.NWorkspace workspace)
public DefaultNTreeFormat(net.thevpc.nuts.NWorkspace workspace,
net.thevpc.nuts.format.NTreeModel tree)
public DefaultNTreeFormat(net.thevpc.nuts.NWorkspace workspace,
net.thevpc.nuts.format.NTreeModel tree,
net.thevpc.nuts.format.NTreeNodeFormat formatter,
net.thevpc.nuts.format.NTreeLinkFormat linkFormatter)
public net.thevpc.nuts.format.NTreeNodeFormat getNodeFormat()
getNodeFormat in interface net.thevpc.nuts.format.NTreeFormatpublic DefaultNTreeFormat setNodeFormat(net.thevpc.nuts.format.NTreeNodeFormat formatter)
setNodeFormat in interface net.thevpc.nuts.format.NTreeFormatpublic net.thevpc.nuts.format.NTreeLinkFormat getLinkFormat()
getLinkFormat in interface net.thevpc.nuts.format.NTreeFormatpublic DefaultNTreeFormat setLinkFormat(net.thevpc.nuts.format.NTreeLinkFormat linkFormatter)
setLinkFormat in interface net.thevpc.nuts.format.NTreeFormatpublic net.thevpc.nuts.format.NTreeModel getModel()
getModel in interface net.thevpc.nuts.format.NTreeFormatpublic DefaultNTreeFormat setValue(Object value)
setValue in interface net.thevpc.nuts.format.NContentTypeFormatsetValue in interface net.thevpc.nuts.format.NTreeFormatpublic boolean isEffectiveOmitRoot()
public boolean isOmitRoot()
public void setOmitRoot(boolean hideRoot)
public String toString()
toString in interface net.thevpc.nuts.format.NFormattoString in class DefaultFormatBase<net.thevpc.nuts.format.NTreeFormat>public void print(net.thevpc.nuts.io.NPrintStream out)
print in interface net.thevpc.nuts.format.NFormatprint in class DefaultFormatBase<net.thevpc.nuts.format.NTreeFormat>public boolean configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
configureFirst in interface net.thevpc.nuts.cmdline.NCmdLineConfigurablepublic Object getValue()
getValue in interface net.thevpc.nuts.format.NContentTypeFormatpublic DefaultNTreeFormat addMultilineProperty(String property, String separator)
public int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentCopyright © 2025 vpc open source initiative. All rights reserved.