public class DefaultNElementFormat extends DefaultFormatBase<NElementFormat> implements NElementFormat
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
DefaultNElementFormat() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configureFirst(NCmdLine cmdLine) |
NElementFormat |
doWithMapperStore(Consumer<NElementMapperStore> doWith) |
Object |
elementToObject(NElement o,
Type type) |
NContentType |
getContentType() |
NElementFactoryService |
getElementFactoryService() |
NProgressFactory |
getProgressFactory() |
int |
getScore(NScorableContext context) |
Object |
getValue() |
boolean |
isCompact() |
boolean |
isLogProgress() |
boolean |
isTraceProgress() |
NIterableFormat |
iter(NPrintStream writer) |
NElementFormat |
json() |
NElementMapperStore |
mapperStore() |
void |
print(NPrintStream out) |
NElementFormat |
setCompact(boolean compact) |
NElementFormat |
setContentType(NContentType contentType) |
NElementFormat |
setLogProgress(boolean logProgress) |
NElementFormat |
setProgressFactory(NProgressFactory progressFactory) |
NElementFormat |
setTraceProgress(boolean traceProgress) |
NElementFormat |
setValue(Object value) |
NElementFormat |
tson() |
NElementFormat |
xml() |
NElementFormat |
yaml() |
format, formatPlain, getValidPrintStream, getValidPrintStream, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, toStringconfigure, getName, isNtf, setNtfclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconfigure, of, of, ofNtfJson, ofNtfJson, ofNtfProps, ofNtfProps, ofNtfTable, ofNtfTable, ofNtfTree, ofNtfTree, ofNtfTson, ofNtfTson, ofNtfXml, ofNtfXml, ofNtfYaml, ofNtfYaml, ofPlain, ofPlain, ofPlainJson, ofPlainJson, ofPlainProps, ofPlainProps, ofPlainTable, ofPlainTable, ofPlainTree, ofPlainTree, ofPlainTson, ofPlainTson, ofPlainXml, ofPlainXml, ofPlainYaml, ofPlainYaml, setNtfformat, formatPlain, isNtf, of, of, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, toStringconfigure, configure, configureLastisValidScore, query, querypublic NElementMapperStore mapperStore()
mapperStore in interface NElementFormatpublic NElementFormat doWithMapperStore(Consumer<NElementMapperStore> doWith)
doWithMapperStore in interface NElementFormatpublic boolean isLogProgress()
isLogProgress in interface NElementFormatpublic NElementFormat setLogProgress(boolean logProgress)
setLogProgress in interface NElementFormatpublic boolean isTraceProgress()
isTraceProgress in interface NElementFormatpublic NElementFormat setTraceProgress(boolean traceProgress)
setTraceProgress in interface NElementFormatpublic NContentType getContentType()
getContentType in interface NElementFormatpublic NElementFormat setContentType(NContentType contentType)
setContentType in interface NElementFormatpublic NElementFormat json()
json in interface NElementFormatpublic NElementFormat yaml()
yaml in interface NElementFormatpublic NElementFormat tson()
tson in interface NElementFormatpublic NElementFormat xml()
xml in interface NElementFormatpublic Object getValue()
getValue in interface NElementFormatgetValue in interface NContentTypeFormatpublic NElementFormat setValue(Object value)
setValue in interface NElementFormatsetValue in interface NContentTypeFormatpublic boolean isCompact()
isCompact in interface NElementFormatpublic NElementFormat setCompact(boolean compact)
setCompact in interface NElementFormatpublic NIterableFormat iter(NPrintStream writer)
iter in interface NElementFormatpublic boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurablepublic void print(NPrintStream out)
print in interface NFormatprint in class DefaultFormatBase<NElementFormat>public NElementFactoryService getElementFactoryService()
public int getScore(NScorableContext context)
getScore in interface NComponentgetScore in interface NScorablepublic NProgressFactory getProgressFactory()
getProgressFactory in interface NElementFormatpublic NElementFormat setProgressFactory(NProgressFactory progressFactory)
setProgressFactory in interface NElementFormatCopyright © 2025 vpc open source initiative. All rights reserved.