public class DefaultNElementWriter extends Object implements NElementWriter
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
DefaultNElementWriter() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitof, ofJson, ofNtfJson, ofNtfProps, ofNtfTable, ofNtfTree, ofNtfTson, ofNtfXml, ofNtfYaml, ofPlain, ofProps, ofTable, ofTree, ofTson, ofXml, ofYamlisValidScore, query, queryconfigure, configure, configureLastpublic NElementMapperStore mapperStore()
mapperStore in interface NElementWriterpublic NElementWriter doWithMapperStore(Consumer<NElementMapperStore> doWith)
doWithMapperStore in interface NElementWriterpublic boolean isNtf()
isNtf in interface NElementWriterpublic NElementWriter setNtf(boolean nft)
setNtf in interface NElementWriterpublic boolean isLogProgress()
isLogProgress in interface NElementWriterpublic NElementWriter setLogProgress(boolean logProgress)
setLogProgress in interface NElementWriterpublic boolean isTraceProgress()
isTraceProgress in interface NElementWriterpublic NElementWriter setTraceProgress(boolean traceProgress)
setTraceProgress in interface NElementWriterpublic NContentType getContentType()
getContentType in interface NElementWriterpublic NElementWriter setContentType(NContentType contentType)
setContentType in interface NElementWriterpublic NElementWriter json()
json in interface NElementWriterpublic NElementWriter yaml()
yaml in interface NElementWriterpublic NElementWriter tson()
tson in interface NElementWriterpublic NElementWriter xml()
xml in interface NElementWriterpublic NElementWriter table()
table in interface NElementWriterpublic NElementWriter tree()
tree in interface NElementWriterpublic NElementWriter props()
props in interface NElementWriterpublic boolean isCompact()
isCompact in interface NElementWriterpublic NElementWriter setCompact(boolean compact)
setCompact in interface NElementWriterpublic void write(Object value, NPrintStream out)
write in interface NElementWriterpublic NElementFactoryService getElementFactoryService()
public int getScore(NScorableContext context)
getScore in interface NComponentgetScore in interface NScorablepublic NProgressFactory getProgressFactory()
getProgressFactory in interface NElementWriterpublic NElementWriter setProgressFactory(NProgressFactory progressFactory)
setProgressFactory in interface NElementWriterpublic void write(Object any)
write in interface NElementWriterpublic void writeln(Object any)
writeln in interface NElementWriterpublic void write(Object any, Writer out)
write in interface NElementWriterpublic void write(Object any, OutputStream out)
write in interface NElementWriterpublic void write(Object any, Path path)
write in interface NElementWriterpublic void write(Object any, NPath path)
write in interface NElementWriterpublic void write(Object any, File file)
write in interface NElementWriterpublic void write(Object any, NTerminal terminal)
write in interface NElementWriterpublic void writeln(Object any, Writer w)
writeln in interface NElementWriterpublic void writeln(Object any, NPrintStream out)
writeln in interface NElementWriterpublic void writeln(Object any, OutputStream out)
writeln in interface NElementWriterpublic void writeln(Object any, Path path)
writeln in interface NElementWriterpublic void writeln(Object any, NPath out)
writeln in interface NElementWriterpublic void writeln(Object any, NTerminal terminal)
writeln in interface NElementWriterpublic void writeln(Object any, File file)
writeln in interface NElementWriterpublic String toString(Object object)
toString in interface NElementWriterpublic NText toText(Object object)
toText in interface NElementWriterpublic NPrintStream getValidPrintStream(NPrintStream out)
public NPrintStream getValidPrintStream()
public boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurablepublic NElementWriter configure(boolean skipUnsupported, String... args)
configure in interface NCmdLineConfigurableconfigure in interface NElementWriterCopyright © 2025 vpc open source initiative. All rights reserved.