public class DefaultNElementFormatter extends Object implements NElementFormatter
| Modifier and Type | Field and Description |
|---|---|
static NElementFormatter |
COMPACT |
static NElementFormatter |
PRETTY |
static NElementFormatterAction |
REMOVED_ROOT_GARBAGE |
static RemovedAffixesElementFormatterAction |
REMOVED_SEPARATORS_ELEMENT_FORMATTER_ACTION |
static RemovedAffixesElementFormatterAction |
REMOVED_WHITESPACES_ELEMENT_FORMATTER_ACTION |
static NElementFormatter |
SIMPLE |
static 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 NElementFormatter |
VERBATIM |
| Constructor and Description |
|---|
DefaultNElementFormatter(List<NElementFormatterAction> actions,
Map<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
NElementFormatterBuilder |
builder() |
List<NElement> |
postTransform(NElementTransformContext context) |
NElementTransformContext |
prepareChildContext(NElement parent,
NElementTransformContext childContext) |
List<NElement> |
preTransform(NElementTransformContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitof, ofCompact, ofCompact, ofPretty, ofSimple, ofStable, ofVerbatimpublic static final RemovedAffixesElementFormatterAction REMOVED_WHITESPACES_ELEMENT_FORMATTER_ACTION
public static final 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 NElementFormatter COMPACT
public static final NElementFormatter PRETTY
public static final NElementFormatter STABLE
public static final NElementFormatter SIMPLE
public static final NElementFormatter VERBATIM
public DefaultNElementFormatter(List<NElementFormatterAction> actions, Map<String,Object> options)
public List<NElement> preTransform(NElementTransformContext context)
preTransform in interface NElementTransformpublic NElementTransformContext prepareChildContext(NElement parent, NElementTransformContext childContext)
prepareChildContext in interface NElementTransformpublic List<NElement> postTransform(NElementTransformContext context)
postTransform in interface NElementTransformpublic NElementFormatterBuilder builder()
builder in interface NElementFormatterCopyright © 2026 vpc open source initiative. All rights reserved.