Package graphql.language
Class Document.Builder
- java.lang.Object
-
- graphql.language.Document.Builder
-
- All Implemented Interfaces:
NodeBuilder
- Enclosing class:
- Document
public static final class Document.Builder extends java.lang.Object implements NodeBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Document.Builder
additionalData(java.lang.String key, java.lang.String value)
Document.Builder
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
Document
build()
Document.Builder
comments(java.util.List<Comment> comments)
Document.Builder
definition(Definition definition)
Document.Builder
definitions(java.util.List<Definition> definitions)
Document.Builder
ignoredChars(IgnoredChars ignoredChars)
Document.Builder
sourceLocation(SourceLocation sourceLocation)
-
-
-
Method Detail
-
definitions
public Document.Builder definitions(java.util.List<Definition> definitions)
-
definition
public Document.Builder definition(Definition definition)
-
sourceLocation
public Document.Builder sourceLocation(SourceLocation sourceLocation)
- Specified by:
sourceLocation
in interfaceNodeBuilder
-
comments
public Document.Builder comments(java.util.List<Comment> comments)
- Specified by:
comments
in interfaceNodeBuilder
-
ignoredChars
public Document.Builder ignoredChars(IgnoredChars ignoredChars)
- Specified by:
ignoredChars
in interfaceNodeBuilder
-
additionalData
public Document.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
- Specified by:
additionalData
in interfaceNodeBuilder
-
additionalData
public Document.Builder additionalData(java.lang.String key, java.lang.String value)
- Specified by:
additionalData
in interfaceNodeBuilder
-
build
public Document build()
-
-