Package graphql.parser
Interface ParserEnvironment
-
@PublicApi public interface ParserEnvironment
This is the arguments that can be passed to aParser
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classParserEnvironment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.ReadergetDocument()I18ngetI18N()java.util.LocalegetLocale()ParserOptionsgetParserOptions()static ParserEnvironment.BuildernewParserEnvironment()
-
-
-
Method Detail
-
getDocument
java.io.Reader getDocument()
- Returns:
- the document to be parsed
-
getParserOptions
ParserOptions getParserOptions()
- Returns:
- the parsing options
-
getLocale
java.util.Locale getLocale()
- Returns:
- the locale to produce parsing error messages in
-
newParserEnvironment
static ParserEnvironment.Builder newParserEnvironment()
- Returns:
- a builder of new parsing options
-
-