public static final class ObjectField.Builder extends java.lang.Object implements NodeBuilder
Modifier and Type | Method and Description |
---|---|
ObjectField.Builder |
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData) |
ObjectField.Builder |
additionalData(java.lang.String key,
java.lang.String value) |
ObjectField |
build() |
ObjectField.Builder |
comments(java.util.List<Comment> comments) |
ObjectField.Builder |
ignoredChars(IgnoredChars ignoredChars) |
ObjectField.Builder |
name(java.lang.String name) |
ObjectField.Builder |
sourceLocation(SourceLocation sourceLocation) |
ObjectField.Builder |
value(Value value) |
public ObjectField.Builder sourceLocation(SourceLocation sourceLocation)
sourceLocation
in interface NodeBuilder
public ObjectField.Builder name(java.lang.String name)
public ObjectField.Builder comments(java.util.List<Comment> comments)
comments
in interface NodeBuilder
public ObjectField.Builder value(Value value)
public ObjectField.Builder ignoredChars(IgnoredChars ignoredChars)
ignoredChars
in interface NodeBuilder
public ObjectField.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
additionalData
in interface NodeBuilder
public ObjectField.Builder additionalData(java.lang.String key, java.lang.String value)
additionalData
in interface NodeBuilder
public ObjectField build()