public class DefaultNElementFormatter extends Object implements net.thevpc.nuts.elem.NElementFormatter
| Modifier and Type | Field and Description |
|---|---|
static net.thevpc.nuts.elem.NElementFormatter |
COMPACT |
static net.thevpc.nuts.elem.NElementFormatter |
PRETTY |
static net.thevpc.nuts.elem.NElementFormatterAction |
REMOVED_ROOT_GARBAGE |
static RemovedAffixesElementFormatterAction |
REMOVED_SEPARATORS_ELEMENT_FORMATTER_ACTION |
static RemovedAffixesElementFormatterAction |
REMOVED_WHITESPACES_ELEMENT_FORMATTER_ACTION |
static net.thevpc.nuts.elem.NElementFormatter |
SIMPLE |
static net.thevpc.nuts.elem.NElementFormatter |
STABLE |
static TsonFormatSanitizerAction |
TSON_FORMAT_SANITIZER_ACTION_COMPACT |
static TsonFormatSanitizerAction |
TSON_FORMAT_SANITIZER_ACTION_COMPACT_COMMA_FIRST |
static TsonFormatSanitizerAction |
TSON_FORMAT_SANITIZER_ACTION_SAFE |
static TsonFormatSanitizerAction |
TSON_FORMAT_SANITIZER_ACTION_SAFE_COMMA_FIRST |
static net.thevpc.nuts.elem.NElementFormatter |
VERBATIM |
| Constructor and Description |
|---|
DefaultNElementFormatter(List<net.thevpc.nuts.elem.NElementFormatterAction> actions,
Map<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.elem.NElementFormatterBuilder |
builder() |
List<net.thevpc.nuts.elem.NElement> |
postTransform(net.thevpc.nuts.elem.NElementTransformContext context) |
net.thevpc.nuts.elem.NElementTransformContext |
prepareChildContext(net.thevpc.nuts.elem.NElement parent,
net.thevpc.nuts.elem.NElementTransformContext childContext) |
List<net.thevpc.nuts.elem.NElement> |
preTransform(net.thevpc.nuts.elem.NElementTransformContext context) |
public static final RemovedAffixesElementFormatterAction REMOVED_WHITESPACES_ELEMENT_FORMATTER_ACTION
public static final net.thevpc.nuts.elem.NElementFormatterAction REMOVED_ROOT_GARBAGE
public static final RemovedAffixesElementFormatterAction REMOVED_SEPARATORS_ELEMENT_FORMATTER_ACTION
public static final TsonFormatSanitizerAction TSON_FORMAT_SANITIZER_ACTION_COMPACT
public static final TsonFormatSanitizerAction TSON_FORMAT_SANITIZER_ACTION_SAFE
public static final TsonFormatSanitizerAction TSON_FORMAT_SANITIZER_ACTION_COMPACT_COMMA_FIRST
public static final TsonFormatSanitizerAction TSON_FORMAT_SANITIZER_ACTION_SAFE_COMMA_FIRST
public static final net.thevpc.nuts.elem.NElementFormatter COMPACT
public static final net.thevpc.nuts.elem.NElementFormatter PRETTY
public static final net.thevpc.nuts.elem.NElementFormatter STABLE
public static final net.thevpc.nuts.elem.NElementFormatter SIMPLE
public static final net.thevpc.nuts.elem.NElementFormatter VERBATIM
public List<net.thevpc.nuts.elem.NElement> preTransform(net.thevpc.nuts.elem.NElementTransformContext context)
preTransform in interface net.thevpc.nuts.elem.NElementTransformpublic net.thevpc.nuts.elem.NElementTransformContext prepareChildContext(net.thevpc.nuts.elem.NElement parent,
net.thevpc.nuts.elem.NElementTransformContext childContext)
prepareChildContext in interface net.thevpc.nuts.elem.NElementTransformpublic List<net.thevpc.nuts.elem.NElement> postTransform(net.thevpc.nuts.elem.NElementTransformContext context)
postTransform in interface net.thevpc.nuts.elem.NElementTransformpublic net.thevpc.nuts.elem.NElementFormatterBuilder builder()
builder in interface net.thevpc.nuts.elem.NElementFormatterCopyright © 2026 vpc open source initiative. All rights reserved.