public static final class Document.Builder extends java.lang.Object implements NodeBuilder
Modifier and Type | Method and Description |
---|---|
Document.Builder |
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData) |
Document.Builder |
additionalData(java.lang.String key,
java.lang.String value) |
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) |
public Document.Builder definitions(java.util.List<Definition> definitions)
public Document.Builder definition(Definition definition)
public Document.Builder sourceLocation(SourceLocation sourceLocation)
sourceLocation
in interface NodeBuilder
public Document.Builder comments(java.util.List<Comment> comments)
comments
in interface NodeBuilder
public Document.Builder ignoredChars(IgnoredChars ignoredChars)
ignoredChars
in interface NodeBuilder
public Document.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
additionalData
in interface NodeBuilder
public Document.Builder additionalData(java.lang.String key, java.lang.String value)
additionalData
in interface NodeBuilder
public Document build()