public class DefaultNElementFormatContext extends DefaultNElementTransformContext implements NElementFormatContext
| Constructor and Description |
|---|
DefaultNElementFormatContext(NElement element,
NContentType contentType) |
DefaultNElementFormatContext(NElement element,
NElementPath path,
Map<String,Object> properties,
Map<String,Object> sharedConfig,
boolean lastElement,
String indent,
NElementFormatOptions options,
NElementBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
NElementBuilder |
builder() |
NContentType |
contentType() |
String |
indent() |
protected NElementFormatContext |
newInstance(NElement element,
NElementPath path,
Map<String,Object> properties,
Map<String,Object> sharedConfig,
boolean lastElement) |
protected NElementFormatContext |
newInstance(NElement element,
NElementPath path,
Map<String,Object> properties,
Map<String,Object> sharedConfig,
boolean lastElement,
String indent,
NElementFormatOptions options,
NElementBuilder builder) |
NElementFormatOptions |
options() |
NElementFormatContext |
withBuilder(NElementBuilder builder) |
NElementFormatContext |
withElement(NElement element) |
NElementFormatContext |
withIndent(String indent) |
NElementFormatContext |
withOptions(NElementFormatOptions options) |
NElementFormatContext |
withPath(NElementPath path) |
element, getProperty, getSharedProperty, isTail, next, path, properties, sharedConfig, withProperties, withProperty, withTailclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitelement, getProperty, getSharedProperty, isTail, path, properties, sharedConfig, withProperties, withProperty, withTailpublic DefaultNElementFormatContext(NElement element, NContentType contentType)
public DefaultNElementFormatContext(NElement element, NElementPath path, Map<String,Object> properties, Map<String,Object> sharedConfig, boolean lastElement, String indent, NElementFormatOptions options, NElementBuilder builder)
public NContentType contentType()
contentType in interface NElementFormatContextpublic String indent()
indent in interface NElementFormatContextpublic NElementFormatOptions options()
options in interface NElementFormatContextpublic NElementBuilder builder()
builder in interface NElementFormatContextpublic NElementFormatContext withBuilder(NElementBuilder builder)
withBuilder in interface NElementFormatContextpublic NElementFormatContext withOptions(NElementFormatOptions options)
withOptions in interface NElementFormatContextpublic NElementFormatContext withPath(NElementPath path)
withPath in interface NElementFormatContextwithPath in interface NElementTransformContextwithPath in class DefaultNElementTransformContextpublic NElementFormatContext withElement(NElement element)
withElement in interface NElementFormatContextwithElement in interface NElementTransformContextwithElement in class DefaultNElementTransformContextpublic NElementFormatContext withIndent(String indent)
withIndent in interface NElementFormatContextprotected NElementFormatContext newInstance(NElement element, NElementPath path, Map<String,Object> properties, Map<String,Object> sharedConfig, boolean lastElement)
newInstance in class DefaultNElementTransformContextprotected NElementFormatContext newInstance(NElement element, NElementPath path, Map<String,Object> properties, Map<String,Object> sharedConfig, boolean lastElement, String indent, NElementFormatOptions options, NElementBuilder builder)
Copyright © 2026 vpc open source initiative. All rights reserved.