public class DefaultNutsElements extends DefaultFormatBase<net.thevpc.nuts.NutsElements> implements net.thevpc.nuts.NutsElements
| Constructor and Description |
|---|
DefaultNutsElements(net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsElementPath |
compilePath(String pathExpression) |
boolean |
configureFirst(net.thevpc.nuts.NutsCommandLine cmdLine) |
<T> T |
convert(Object any,
Class<T> to) |
Object |
destruct(Object any) |
Object |
elementToObject(net.thevpc.nuts.NutsElement o,
Type type) |
<T> T |
fromElement(net.thevpc.nuts.NutsElement o,
Class<T> to) |
net.thevpc.nuts.NutsContentType |
getContentType() |
NutsElementFactoryService |
getElementFactoryService() |
Predicate<Class> |
getIndestructibleObjects() |
net.thevpc.nuts.NutsProgressFactory |
getProgressFactory() |
int |
getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context) |
Object |
getValue() |
boolean |
isCompact() |
boolean |
isLogProgress() |
boolean |
isTraceProgress() |
net.thevpc.nuts.NutsIterableFormat |
iter(net.thevpc.nuts.NutsPrintStream writer) |
net.thevpc.nuts.NutsElements |
json() |
net.thevpc.nuts.NutsArrayElementBuilder |
ofArray() |
net.thevpc.nuts.NutsPrimitiveElement |
ofBoolean(boolean value) |
net.thevpc.nuts.NutsPrimitiveElement |
ofBoolean(String value) |
net.thevpc.nuts.NutsPrimitiveElement |
ofByte(Byte value) |
net.thevpc.nuts.NutsCustomElement |
ofCustom(Object object) |
net.thevpc.nuts.NutsPrimitiveElement |
ofDouble(Double value) |
net.thevpc.nuts.NutsElementEntry |
ofEntry(net.thevpc.nuts.NutsElement key,
net.thevpc.nuts.NutsElement value) |
net.thevpc.nuts.NutsPrimitiveElement |
ofFalse() |
net.thevpc.nuts.NutsPrimitiveElement |
ofFloat(Float value) |
net.thevpc.nuts.NutsPrimitiveElement |
ofFloat(Short value) |
net.thevpc.nuts.NutsPrimitiveElement |
ofInstant(Date value) |
net.thevpc.nuts.NutsPrimitiveElement |
ofInstant(Instant instant) |
net.thevpc.nuts.NutsPrimitiveElement |
ofInstant(String value) |
net.thevpc.nuts.NutsPrimitiveElement |
ofInt(Integer value) |
net.thevpc.nuts.NutsPrimitiveElement |
ofLong(Long value) |
net.thevpc.nuts.NutsPrimitiveElement |
ofNull() |
net.thevpc.nuts.NutsPrimitiveElement |
ofNumber(Number value) |
net.thevpc.nuts.NutsPrimitiveElement |
ofNumber(String value) |
net.thevpc.nuts.NutsObjectElementBuilder |
ofObject() |
net.thevpc.nuts.NutsPrimitiveElement |
ofString(String str) |
net.thevpc.nuts.NutsPrimitiveElement |
ofTrue() |
net.thevpc.nuts.NutsElement |
parse(byte[] bytes) |
<T> T |
parse(byte[] bytes,
Class<T> clazz) |
net.thevpc.nuts.NutsElement |
parse(File file) |
<T> T |
parse(File file,
Class<T> clazz) |
net.thevpc.nuts.NutsElement |
parse(InputStream inputStream) |
<T> T |
parse(InputStream inputStream,
Class<T> clazz) |
net.thevpc.nuts.NutsElement |
parse(net.thevpc.nuts.NutsPath file) |
<T> T |
parse(net.thevpc.nuts.NutsPath path,
Class<T> clazz) |
net.thevpc.nuts.NutsElement |
parse(Path file) |
<T> T |
parse(Path file,
Class<T> clazz) |
net.thevpc.nuts.NutsElement |
parse(Reader reader) |
<T> T |
parse(Reader reader,
Class<T> clazz) |
net.thevpc.nuts.NutsElement |
parse(String string) |
<T> T |
parse(String string,
Class<T> clazz) |
net.thevpc.nuts.NutsElement |
parse(URL url) |
<T> T |
parse(URL url,
Class<T> clazz) |
void |
print(net.thevpc.nuts.NutsPrintStream out) |
net.thevpc.nuts.NutsElements |
setCompact(boolean compact) |
net.thevpc.nuts.NutsElements |
setContentType(net.thevpc.nuts.NutsContentType contentType) |
net.thevpc.nuts.NutsElements |
setIndestructibleFormat() |
net.thevpc.nuts.NutsElements |
setIndestructibleObjects(Predicate<Class> destructTypeFilter) |
net.thevpc.nuts.NutsElements |
setLogProgress(boolean logProgress) |
<T> net.thevpc.nuts.NutsElements |
setMapper(Class<T> type,
net.thevpc.nuts.NutsElementMapper<T> mapper) |
net.thevpc.nuts.NutsElements |
setProgressFactory(net.thevpc.nuts.NutsProgressFactory progressFactory) |
net.thevpc.nuts.NutsElements |
setTraceProgress(boolean traceProgress) |
net.thevpc.nuts.NutsElements |
setValue(Object value) |
net.thevpc.nuts.NutsElement |
toElement(Object o) |
format, getValidPrintStream, getValidPrintStream, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, toStringcheckSession, configure, configure, getName, getSession, getWorkspace, isNtf, setNtf, setSessionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic DefaultNutsElements(net.thevpc.nuts.NutsSession session)
public boolean isLogProgress()
isLogProgress in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElements setLogProgress(boolean logProgress)
setLogProgress in interface net.thevpc.nuts.NutsElementspublic boolean isTraceProgress()
isTraceProgress in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElements setTraceProgress(boolean traceProgress)
setTraceProgress in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsContentType getContentType()
getContentType in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElements setContentType(net.thevpc.nuts.NutsContentType contentType)
setContentType in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElements json()
json in interface net.thevpc.nuts.NutsElementspublic Object getValue()
getValue in interface net.thevpc.nuts.NutsContentTypeFormatgetValue in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElements setValue(Object value)
setValue in interface net.thevpc.nuts.NutsContentTypeFormatsetValue in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElementPath compilePath(String pathExpression)
compilePath in interface net.thevpc.nuts.NutsElementspublic boolean isCompact()
isCompact in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElements setCompact(boolean compact)
setCompact in interface net.thevpc.nuts.NutsElementspublic <T> T parse(URL url, Class<T> clazz)
parse in interface net.thevpc.nuts.NutsElementspublic <T> T parse(net.thevpc.nuts.NutsPath path,
Class<T> clazz)
parse in interface net.thevpc.nuts.NutsElementspublic <T> T parse(InputStream inputStream, Class<T> clazz)
parse in interface net.thevpc.nuts.NutsElementspublic <T> T parse(String string, Class<T> clazz)
parse in interface net.thevpc.nuts.NutsElementspublic <T> T parse(byte[] bytes,
Class<T> clazz)
parse in interface net.thevpc.nuts.NutsElementspublic <T> T parse(Reader reader, Class<T> clazz)
parse in interface net.thevpc.nuts.NutsElementspublic <T> T parse(Path file, Class<T> clazz)
parse in interface net.thevpc.nuts.NutsElementspublic <T> T parse(File file, Class<T> clazz)
parse in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElement parse(URL url)
parse in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElement parse(InputStream inputStream)
parse in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElement parse(String string)
parse in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElement parse(byte[] bytes)
parse in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElement parse(Reader reader)
parse in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElement parse(Path file)
parse in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElement parse(File file)
parse in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElement parse(net.thevpc.nuts.NutsPath file)
parse in interface net.thevpc.nuts.NutsElementspublic <T> T convert(Object any, Class<T> to)
convert in interface net.thevpc.nuts.NutsElementspublic Object destruct(Object any)
destruct in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElement toElement(Object o)
toElement in interface net.thevpc.nuts.NutsElementspublic <T> T fromElement(net.thevpc.nuts.NutsElement o,
Class<T> to)
fromElement in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElementEntry ofEntry(net.thevpc.nuts.NutsElement key,
net.thevpc.nuts.NutsElement value)
ofEntry in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsObjectElementBuilder ofObject()
ofObject in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsArrayElementBuilder ofArray()
ofArray in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofBoolean(String value)
ofBoolean in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofBoolean(boolean value)
ofBoolean in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofString(String str)
ofString in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsCustomElement ofCustom(Object object)
ofCustom in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofTrue()
ofTrue in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofFalse()
ofFalse in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofInstant(Instant instant)
ofInstant in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofFloat(Float value)
ofFloat in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofInt(Integer value)
ofInt in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofLong(Long value)
ofLong in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofNull()
ofNull in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofNumber(String value)
ofNumber in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofInstant(Date value)
ofInstant in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofInstant(String value)
ofInstant in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofByte(Byte value)
ofByte in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofDouble(Double value)
ofDouble in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofFloat(Short value)
ofFloat in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsPrimitiveElement ofNumber(Number value)
ofNumber in interface net.thevpc.nuts.NutsElementspublic Predicate<Class> getIndestructibleObjects()
getIndestructibleObjects in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElements setIndestructibleFormat()
setIndestructibleFormat in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElements setIndestructibleObjects(Predicate<Class> destructTypeFilter)
setIndestructibleObjects in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsIterableFormat iter(net.thevpc.nuts.NutsPrintStream writer)
iter in interface net.thevpc.nuts.NutsElementspublic <T> net.thevpc.nuts.NutsElements setMapper(Class<T> type, net.thevpc.nuts.NutsElementMapper<T> mapper)
setMapper in interface net.thevpc.nuts.NutsElementspublic boolean configureFirst(net.thevpc.nuts.NutsCommandLine cmdLine)
configureFirst in interface net.thevpc.nuts.NutsCommandLineConfigurablepublic void print(net.thevpc.nuts.NutsPrintStream out)
print in interface net.thevpc.nuts.NutsFormatprint in class DefaultFormatBase<net.thevpc.nuts.NutsElements>public NutsElementFactoryService getElementFactoryService()
public int getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NutsComponentpublic net.thevpc.nuts.NutsProgressFactory getProgressFactory()
getProgressFactory in interface net.thevpc.nuts.NutsElementspublic net.thevpc.nuts.NutsElements setProgressFactory(net.thevpc.nuts.NutsProgressFactory progressFactory)
setProgressFactory in interface net.thevpc.nuts.NutsElementsCopyright © 2022 vpc open source initiative. All rights reserved.