public class DefaultNTreeFormat extends DefaultFormatBase<NTreeFormat> implements NTreeFormat
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
DefaultNTreeFormat() |
DefaultNTreeFormat(NTreeNode tree) |
DefaultNTreeFormat(NTreeNode tree,
NTreeNodeFormat formatter,
NTreeLinkFormat linkFormatter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configureFirst(NCmdLine cmdLine) |
NTreeNode |
getModel() |
int |
getScore(NScorableContext context) |
Object |
getValue() |
void |
print(NPrintStream out) |
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, waitconfigure, of, of, setNtfformat, formatPlain, isNtf, of, of, print, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnconfigure, configure, configureLastisValidScore, query, querypublic DefaultNTreeFormat()
public DefaultNTreeFormat(NTreeNode tree)
public DefaultNTreeFormat(NTreeNode tree, NTreeNodeFormat formatter, NTreeLinkFormat linkFormatter)
public NTreeNode getModel()
getModel in interface NTreeFormatpublic DefaultNTreeFormat setValue(Object value)
setValue in interface NContentTypeFormatsetValue in interface NTreeFormatpublic String toString()
toString in interface NFormattoString in class DefaultFormatBase<NTreeFormat>public void print(NPrintStream out)
print in interface NFormatprint in class DefaultFormatBase<NTreeFormat>public boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurablepublic Object getValue()
getValue in interface NContentTypeFormatpublic int getScore(NScorableContext context)
getScore in interface NComponentgetScore in interface NScorableCopyright © 2025 vpc open source initiative. All rights reserved.