public class DefaultNElements extends DefaultFormatBase<NElements> implements NElements
| Constructor and Description |
|---|
DefaultNElements(NWorkspace workspace) |
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, isValidName, of, of, ofNtfJson, ofNtfProps, ofNtfTable, ofNtfTree, ofNtfTson, ofNtfXml, ofNtfYaml, ofPlain, ofPlainJson, ofPlainProps, ofPlainTable, ofPlainTree, ofPlainTson, ofPlainXml, ofPlainYaml, setNtfformat, formatPlain, isNtf, of, of, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, toStringconfigure, configure, configureLastpublic DefaultNElements(NWorkspace workspace)
public boolean isLogProgress()
isLogProgress in interface NElementspublic NElements setLogProgress(boolean logProgress)
setLogProgress in interface NElementspublic boolean isTraceProgress()
isTraceProgress in interface NElementspublic NElements setTraceProgress(boolean traceProgress)
setTraceProgress in interface NElementspublic NContentType getContentType()
getContentType in interface NElementspublic NElements setContentType(NContentType contentType)
setContentType in interface NElementspublic Object getValue()
getValue in interface NElementsgetValue in interface NContentTypeFormatpublic NElements setValue(Object value)
setValue in interface NElementssetValue in interface NContentTypeFormatpublic NElementPath compilePath(String pathExpression)
compilePath in interface NElementspublic NElements setCompact(boolean compact)
setCompact in interface NElementspublic <T> T parse(InputStream inputStream, Class<T> clazz)
public NElement parse(InputStream inputStream)
public <T> T fromElement(NElement o, Class<T> to)
fromElement in interface NElementspublic NPairElement ofPair(NElement key, NElement value)
public NPairElement ofPair(String key, NElement value)
public NPairElementBuilder ofPairBuilder(NElement key, NElement value)
ofPairBuilder in interface NElementspublic NPairElementBuilder ofPairBuilder()
ofPairBuilder in interface NElementspublic NObjectElementBuilder ofObjectBuilder()
ofObjectBuilder in interface NElementspublic NObjectElementBuilder ofObjectBuilder(String name)
ofObjectBuilder in interface NElementspublic NArrayElementBuilder ofArrayBuilder()
ofArrayBuilder in interface NElementspublic NArrayElementBuilder ofArrayBuilder(String name)
ofArrayBuilder in interface NElementspublic NArrayElement ofEmptyArray()
ofEmptyArray in interface NElementspublic NArrayElement ofStringArray(String... items)
ofStringArray in interface NElementspublic NArrayElement ofDoubleArray(double... items)
ofDoubleArray in interface NElementspublic NArrayElement ofDoubleArray(Double... items)
ofDoubleArray in interface NElementspublic NArrayElement ofIntArray(int... items)
ofIntArray in interface NElementspublic NArrayElement ofIntArray(Integer... items)
ofIntArray in interface NElementspublic NArrayElement ofLongArray(long... items)
ofLongArray in interface NElementspublic NArrayElement ofLongArray(Long... items)
ofLongArray in interface NElementspublic NArrayElement ofNumberArray(Number... items)
ofNumberArray in interface NElementspublic NArrayElement ofBooleanArray(boolean... items)
ofBooleanArray in interface NElementspublic NArrayElement ofBooleanArray(Boolean... items)
ofBooleanArray in interface NElementspublic NArrayElement ofArray(NElement... items)
public NObjectElement ofObject(NElement... items)
public NObjectElement ofEmptyObject()
ofEmptyObject in interface NElementspublic NPrimitiveElement ofBoolean(String value)
public NPrimitiveElement ofBoolean(boolean value)
public NPrimitiveElement ofString(String str)
public NPrimitiveElement ofString(String str, NElementType stringLayout)
public NPrimitiveElement ofRegex(String str)
public NPrimitiveElement ofName(String str)
public NPrimitiveElement ofNameOrString(String value)
ofNameOrString in interface NElementspublic NCustomElement ofCustom(Object object)
public NPrimitiveElement ofTrue()
public NPrimitiveElement ofFalse()
public NPrimitiveElement ofInstant(Instant instant)
public NPrimitiveElement ofLocalDate(LocalDate localDate)
ofLocalDate in interface NElementspublic NPrimitiveElement ofLocalDateTime(LocalDateTime localDateTime)
ofLocalDateTime in interface NElementspublic NPrimitiveElement ofLocalTime(LocalTime localTime)
ofLocalTime in interface NElementspublic NPrimitiveElement ofFloat(Float value)
public NPrimitiveElement ofInt(Integer value)
public NElement ofBinaryStream(NInputStreamProvider value)
ofBinaryStream in interface NElementspublic NBinaryStreamElementBuilder ofBinaryStreamBuilder()
ofBinaryStreamBuilder in interface NElementspublic NElement ofCharStream(NReaderProvider value)
ofCharStream in interface NElementspublic NCharStreamElementBuilder ofCharStreamBuilder()
ofCharStreamBuilder in interface NElementspublic NPrimitiveElement ofLong(Long value)
public NPrimitiveElement ofNull()
public NPrimitiveElement ofNumber(String value)
public NPrimitiveElement ofInstant(Date value)
public NPrimitiveElement ofInstant(String value)
public NPrimitiveElement ofByte(Byte value)
public NPrimitiveElement ofShort(Short value)
public NPrimitiveElement ofChar(Character value)
public NPrimitiveElement ofDouble(Double value)
public NPrimitiveElement ofDouble(double value)
public NPrimitiveElement ofFloat(Short value)
public NPrimitiveElement ofBigDecimal(BigDecimal value)
ofBigDecimal in interface NElementspublic NPrimitiveElement ofBigInteger(BigInteger value)
ofBigInteger in interface NElementspublic NUpletElementBuilder ofUpletBuilder()
ofUpletBuilder in interface NElementspublic NUpletElementBuilder ofUpletBuilder(String name)
ofUpletBuilder in interface NElementspublic NUpletElement ofEmptyUplet()
ofEmptyUplet in interface NElementspublic NUpletElement ofUplet(String name, NElement... items)
public NUpletElement ofUplet(NElement... items)
public NPrimitiveElement ofDoubleComplex(double real)
ofDoubleComplex in interface NElementspublic NPrimitiveElement ofDoubleComplex(double real, double imag)
ofDoubleComplex in interface NElementspublic NPrimitiveElement ofFloatComplex(float real)
ofFloatComplex in interface NElementspublic NPrimitiveElement ofFloatComplex(float real, float imag)
ofFloatComplex in interface NElementspublic NPrimitiveElement ofBigComplex(BigDecimal real)
ofBigComplex in interface NElementspublic NPrimitiveElement ofBigComplex(BigDecimal real, BigDecimal imag)
ofBigComplex in interface NElementspublic NPrimitiveElement ofNumber(Number value)
public Predicate<Class<?>> getIndestructibleObjects()
getIndestructibleObjects in interface NElementspublic NElements setIndestructibleFormat()
setIndestructibleFormat in interface NElementspublic NElements setIndestructibleObjects(Predicate<Class<?>> destructTypeFilter)
setIndestructibleObjects in interface NElementspublic NIterableFormat iter(NPrintStream writer)
public <T> NElements setMapper(Class<T> type, NElementMapper<T> mapper)
public boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurablepublic void print(NPrintStream out)
print in interface NFormatprint in class DefaultFormatBase<NElements>public NElementFactoryService getElementFactoryService()
public int getSupportLevel(NSupportLevelContext context)
getSupportLevel in interface NComponentpublic NProgressFactory getProgressFactory()
getProgressFactory in interface NElementspublic NElements setProgressFactory(NProgressFactory progressFactory)
setProgressFactory in interface NElementspublic NMatrixElementBuilder ofMatrixBuilder()
ofMatrixBuilder in interface NElementspublic NElementComments ofMultiLineComments(String... lines)
ofMultiLineComments in interface NElementspublic NElementComments ofSingleLineComments(String... lines)
ofSingleLineComments in interface NElementspublic NElementComments ofComments(NElementComment[] leading, NElementComment[] trailing)
ofComments in interface NElementspublic NElementComment ofMultiLineComment(String... lines)
ofMultiLineComment in interface NElementspublic NElementComment ofSingleLineComment(String... lines)
ofSingleLineComment in interface NElementsCopyright © 2025 vpc open source initiative. All rights reserved.