public class DefaultTsonElementFormat extends Object implements NElementStreamFormat
| Constructor and Description |
|---|
DefaultTsonElementFormat() |
| Modifier and Type | Method and Description |
|---|---|
TsonStreamParser |
fromReader(Reader reader,
Object source) |
net.thevpc.nuts.elem.NElement |
normalize(net.thevpc.nuts.elem.NElement e) |
net.thevpc.nuts.elem.NElement |
parseElement(Reader reader,
net.thevpc.nuts.elem.NElementFactoryContext context,
Object readerSource) |
net.thevpc.nuts.elem.NElement |
parseElement(String string,
net.thevpc.nuts.elem.NElementFactoryContext context,
Object readerSource) |
void |
printElement(net.thevpc.nuts.elem.NElement value,
net.thevpc.nuts.io.NPrintStream out,
boolean compact,
net.thevpc.nuts.elem.NElementFactoryContext context) |
TsonElement |
toTson(net.thevpc.nuts.elem.NElement elem) |
TsonElement[] |
toTsonElemArray(List<net.thevpc.nuts.elem.NElement> elems) |
void |
write(net.thevpc.nuts.io.NPrintStream out,
net.thevpc.nuts.elem.NElement data,
boolean compact) |
public net.thevpc.nuts.elem.NElement parseElement(String string, net.thevpc.nuts.elem.NElementFactoryContext context, Object readerSource)
public void write(net.thevpc.nuts.io.NPrintStream out,
net.thevpc.nuts.elem.NElement data,
boolean compact)
public net.thevpc.nuts.elem.NElement normalize(net.thevpc.nuts.elem.NElement e)
normalize in interface NElementStreamFormatpublic net.thevpc.nuts.elem.NElement parseElement(Reader reader, net.thevpc.nuts.elem.NElementFactoryContext context, Object readerSource)
parseElement in interface NElementStreamFormatpublic TsonElement[] toTsonElemArray(List<net.thevpc.nuts.elem.NElement> elems)
public TsonElement toTson(net.thevpc.nuts.elem.NElement elem)
public void printElement(net.thevpc.nuts.elem.NElement value,
net.thevpc.nuts.io.NPrintStream out,
boolean compact,
net.thevpc.nuts.elem.NElementFactoryContext context)
printElement in interface NElementStreamFormatpublic TsonStreamParser fromReader(Reader reader, Object source)
Copyright © 2025 vpc open source initiative. All rights reserved.