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