public class DefaultNElementWriter extends Object implements net.thevpc.nuts.elem.NElementWriter
| Constructor and Description |
|---|
DefaultNElementWriter() |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.elem.NElementWriter |
configure(boolean skipUnsupported,
String... args) |
boolean |
configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
net.thevpc.nuts.elem.NElementWriter |
doWithMapperStore(Consumer<net.thevpc.nuts.elem.NElementMapperStore> doWith) |
net.thevpc.nuts.format.NContentType |
getContentType() |
NElementFactoryService |
getElementFactoryService() |
net.thevpc.nuts.time.NProgressFactory |
getProgressFactory() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
net.thevpc.nuts.io.NPrintStream |
getValidPrintStream() |
net.thevpc.nuts.io.NPrintStream |
getValidPrintStream(net.thevpc.nuts.io.NPrintStream out) |
boolean |
isCompact() |
boolean |
isLogProgress() |
boolean |
isNtf() |
boolean |
isTraceProgress() |
net.thevpc.nuts.elem.NElementWriter |
json() |
net.thevpc.nuts.elem.NElementMapperStore |
mapperStore() |
net.thevpc.nuts.elem.NElementWriter |
props() |
net.thevpc.nuts.elem.NElementWriter |
setCompact(boolean compact) |
net.thevpc.nuts.elem.NElementWriter |
setContentType(net.thevpc.nuts.format.NContentType contentType) |
net.thevpc.nuts.elem.NElementWriter |
setLogProgress(boolean logProgress) |
net.thevpc.nuts.elem.NElementWriter |
setNtf(boolean nft) |
net.thevpc.nuts.elem.NElementWriter |
setProgressFactory(net.thevpc.nuts.time.NProgressFactory progressFactory) |
net.thevpc.nuts.elem.NElementWriter |
setTraceProgress(boolean traceProgress) |
net.thevpc.nuts.elem.NElementWriter |
table() |
String |
toString(Object object) |
net.thevpc.nuts.text.NText |
toText(Object object) |
net.thevpc.nuts.elem.NElementWriter |
tree() |
net.thevpc.nuts.elem.NElementWriter |
tson() |
void |
write(Object any) |
void |
write(Object any,
File file) |
void |
write(Object any,
net.thevpc.nuts.io.NPath path) |
void |
write(Object value,
net.thevpc.nuts.io.NPrintStream out) |
void |
write(Object any,
net.thevpc.nuts.io.NTerminal terminal) |
void |
write(Object any,
OutputStream out) |
void |
write(Object any,
Path path) |
void |
write(Object any,
Writer out) |
void |
writeln(Object any) |
void |
writeln(Object any,
File file) |
void |
writeln(Object any,
net.thevpc.nuts.io.NPath out) |
void |
writeln(Object any,
net.thevpc.nuts.io.NPrintStream out) |
void |
writeln(Object any,
net.thevpc.nuts.io.NTerminal terminal) |
void |
writeln(Object any,
OutputStream out) |
void |
writeln(Object any,
Path path) |
void |
writeln(Object any,
Writer w) |
net.thevpc.nuts.elem.NElementWriter |
xml() |
net.thevpc.nuts.elem.NElementWriter |
yaml() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic net.thevpc.nuts.elem.NElementMapperStore mapperStore()
mapperStore in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.elem.NElementWriter doWithMapperStore(Consumer<net.thevpc.nuts.elem.NElementMapperStore> doWith)
doWithMapperStore in interface net.thevpc.nuts.elem.NElementWriterpublic boolean isNtf()
isNtf in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.elem.NElementWriter setNtf(boolean nft)
setNtf in interface net.thevpc.nuts.elem.NElementWriterpublic boolean isLogProgress()
isLogProgress in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.elem.NElementWriter setLogProgress(boolean logProgress)
setLogProgress in interface net.thevpc.nuts.elem.NElementWriterpublic boolean isTraceProgress()
isTraceProgress in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.elem.NElementWriter setTraceProgress(boolean traceProgress)
setTraceProgress in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.format.NContentType getContentType()
getContentType in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.elem.NElementWriter setContentType(net.thevpc.nuts.format.NContentType contentType)
setContentType in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.elem.NElementWriter json()
json in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.elem.NElementWriter yaml()
yaml in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.elem.NElementWriter tson()
tson in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.elem.NElementWriter xml()
xml in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.elem.NElementWriter table()
table in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.elem.NElementWriter tree()
tree in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.elem.NElementWriter props()
props in interface net.thevpc.nuts.elem.NElementWriterpublic boolean isCompact()
isCompact in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.elem.NElementWriter setCompact(boolean compact)
setCompact in interface net.thevpc.nuts.elem.NElementWriterpublic void write(Object value, net.thevpc.nuts.io.NPrintStream out)
write in interface net.thevpc.nuts.elem.NElementWriterpublic NElementFactoryService getElementFactoryService()
public int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentpublic net.thevpc.nuts.time.NProgressFactory getProgressFactory()
getProgressFactory in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.elem.NElementWriter setProgressFactory(net.thevpc.nuts.time.NProgressFactory progressFactory)
setProgressFactory in interface net.thevpc.nuts.elem.NElementWriterpublic void write(Object any)
write in interface net.thevpc.nuts.elem.NElementWriterpublic void writeln(Object any)
writeln in interface net.thevpc.nuts.elem.NElementWriterpublic void write(Object any, Writer out)
write in interface net.thevpc.nuts.elem.NElementWriterpublic void write(Object any, OutputStream out)
write in interface net.thevpc.nuts.elem.NElementWriterpublic void write(Object any, Path path)
write in interface net.thevpc.nuts.elem.NElementWriterpublic void write(Object any, net.thevpc.nuts.io.NPath path)
write in interface net.thevpc.nuts.elem.NElementWriterpublic void write(Object any, File file)
write in interface net.thevpc.nuts.elem.NElementWriterpublic void write(Object any, net.thevpc.nuts.io.NTerminal terminal)
write in interface net.thevpc.nuts.elem.NElementWriterpublic void writeln(Object any, Writer w)
writeln in interface net.thevpc.nuts.elem.NElementWriterpublic void writeln(Object any, net.thevpc.nuts.io.NPrintStream out)
writeln in interface net.thevpc.nuts.elem.NElementWriterpublic void writeln(Object any, OutputStream out)
writeln in interface net.thevpc.nuts.elem.NElementWriterpublic void writeln(Object any, Path path)
writeln in interface net.thevpc.nuts.elem.NElementWriterpublic void writeln(Object any, net.thevpc.nuts.io.NPath out)
writeln in interface net.thevpc.nuts.elem.NElementWriterpublic void writeln(Object any, net.thevpc.nuts.io.NTerminal terminal)
writeln in interface net.thevpc.nuts.elem.NElementWriterpublic void writeln(Object any, File file)
writeln in interface net.thevpc.nuts.elem.NElementWriterpublic String toString(Object object)
toString in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.text.NText toText(Object object)
toText in interface net.thevpc.nuts.elem.NElementWriterpublic net.thevpc.nuts.io.NPrintStream getValidPrintStream(net.thevpc.nuts.io.NPrintStream out)
public net.thevpc.nuts.io.NPrintStream getValidPrintStream()
public boolean configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
configureFirst in interface net.thevpc.nuts.cmdline.NCmdLineConfigurablepublic net.thevpc.nuts.elem.NElementWriter configure(boolean skipUnsupported,
String... args)
configure in interface net.thevpc.nuts.cmdline.NCmdLineConfigurableconfigure in interface net.thevpc.nuts.elem.NElementWriterCopyright © 2025 vpc open source initiative. All rights reserved.