| Modifier and Type | Field and Description |
|---|---|
| protected final DumperOptions | _dumperOptions
Configuration for underlying generator to follow, if specified;
left as |
| protected final LoaderOptions | _loaderOptions
Configuration for underlying parser to follow, if specified;
left as |
| protected final StringQuotingChecker | _quotingChecker
Helper object used to determine whether property names, String values must be quoted or not. |
| protected final DumperOptions. | _version
YAML version for underlying generator to follow, if specified. |
| protected int | |
| protected int | |
| protected static final int | DEFAULT_YAML_GENERATOR_FEATURE_FLAGS
Bitfield (set of flags) of all generator features that are enabled by default. |
| protected static final int | DEFAULT_YAML_PARSER_FEATURE_FLAGS
Bitfield (set of flags) of all parser features that are enabled by default. |
| public static final String | FORMAT_NAME_YAML
Name used to identify YAML format. |
| private static final long | |
| private static final byte | |
| private static final byte | |
| private static final byte |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected YAMLGenerator | _createGenerator(Writer
Writer underlying writer to write generated content to out, IOContext I/O context to use ctxt)Overrides com. Overridable factory method that actually instantiates generator for
given |
| protected YAMLParser | _createParser(InputStream
InputStream to use for reading content to parse in, IOContext I/O context to use for parsing ctxt)Overrides com. Overridable factory method that actually instantiates desired parser
given |
| protected YAMLParser | _createParser(Reader
Reader to use for reading content to parse r, IOContext I/O context to use for parsing ctxt)Overrides com. Overridable factory method that actually instantiates parser
using given |
| protected YAMLParser | _createParser(char[]
Buffer that contains content to parse data, int Offset to the first character of data to parse offset, int Number of characters within buffer to parse len, IOContext I/O context to use for parsing ctxt, boolean Whether input buffer is recycled by the factory recyclable)Overrides com. Overridable factory method that actually instantiates parser
using given |
| protected YAMLParser | _createParser(byte[]
Buffer that contains content to parse data, int Offset to the first character of data to parse offset, int Number of characters within buffer to parse len, IOContext I/O context to use for parsing ctxt)Overrides com. Overridable factory method that actually instantiates parser
using given |
| protected Reader | |
| protected Reader | |
| protected YAMLGenerator | _createUTF8Generator(OutputStream
OutputStream underlying writer to write generated content to out, IOContext I/O context to use ctxt)Overrides com. Overridable factory method that actually instantiates generator for
given |
| protected Writer | _createWriter(OutputStream out, JsonEncoding enc, IOContext ctxt)
Overrides com.
|
| public static YAMLFactoryBuilder | builder()
Hides com. Main factory method to use for constructing |
| public boolean | canUseCharArrays()
Overrides com. Introspection method that can be used by base factory to check
whether access using |
| public final YAMLFactory | configure(YAMLGenerator.
Method for enabling or disabling specified generator feature
(check |
| public final YAMLFactory | configure(YAMLParser.
Method for enabling or disabling specified parser feature
(check |
| public YAMLFactory | copy()
Overrides com. Method for constructing a new |
| public YAMLGenerator | createGenerator(OutputStream
OutputStream to use for writing JSON content out, JsonEncoding Character encoding to use enc)Overrides com. Method for constructing JSON generator for writing JSON content using specified output stream. |
| public YAMLGenerator | createGenerator(OutputStream out)
Overrides com. Convenience method for constructing generator that uses default encoding of the format (UTF-8 for JSON and most other data formats). |
| public YAMLGenerator | createGenerator(Writer
Writer to use for writing JSON content out)Overrides com. Method for constructing JSON generator for writing JSON content using specified Writer. |
| public JsonGenerator | createGenerator(File
File to write contents to f, JsonEncoding Character encoding to use enc)Overrides com. Method for constructing JSON generator for writing JSON content to specified file, overwriting contents it might have (or creating it if such file does not yet exist). |
| public YAMLParser | createParser(String content)
Overrides com. Method for constructing parser for parsing contents of given String. |
| public YAMLParser | createParser(File
File that contains JSON content to parse f)Overrides com. Method for constructing JSON parser instance to parse contents of specified file. |
| public YAMLParser | createParser(URL
URL pointing to resource that contains JSON content to parse url)Overrides com. Method for constructing JSON parser instance to parse contents of resource reference by given URL. |
| public YAMLParser | createParser(InputStream
InputStream to use for reading JSON content to parse in)Overrides com. Method for constructing JSON parser instance to parse the contents accessed via specified input stream. |
| public YAMLParser | createParser(Reader
Reader to use for reading JSON content to parse r)Overrides com. Method for constructing parser for parsing the contents accessed via specified Reader. |
| public YAMLParser | createParser(char[] data)
Overrides com. Method for constructing parser for parsing contents of given char array. |
| public YAMLParser | createParser(char[] data, int offset, int len)
Overrides com. Method for constructing parser for parsing contents of given char array. |
| public YAMLParser | createParser(byte[] data)
Overrides com. Method for constructing parser for parsing the contents of given byte array. |
| public YAMLParser | createParser(byte[]
Buffer that contains data to parse data, int Offset of the first data byte within buffer offset, int Length of contents to parse within buffer len)Overrides com. Method for constructing parser for parsing the contents of given byte array. |
| public YAMLFactory | disable(YAMLGenerator.
Method for disabling specified generator feature
(check |
| public YAMLFactory | disable(YAMLParser.
Method for disabling specified parser features
(check |
| public YAMLFactory | enable(YAMLGenerator.
Method for enabling specified generator features
(check |
| public YAMLFactory | enable(YAMLParser.
Method for enabling specified parser feature
(check |
| public int | |
| public String | getFormatName()
Overrides com. Method that returns short textual id identifying format this factory supports. |
| public int | |
| public Class | getFormatReadFeatureType()
Overrides com. Method for accessing kind of |
| public Class | getFormatWriteFeatureType()
Overrides com. Method for accessing kind of |
| public MatchStrength | hasFormat(InputAccessor acc)
Overrides com. Sub-classes need to override this method |
| public final boolean | |
| public final boolean | |
| protected Object | readResolve()
Overrides com. Method that we need to override to actually make restoration go through constructors etc. Also: must be overridden by sub-classes as well. |
| public YAMLFactoryBuilder | rebuild()
Overrides com. Method that allows construction of differently configured factory, starting with settings of this factory. |
| public Version | version()
Overrides com. Implements com. Method called to detect version of the component that implements this interface;
returned version should never be null, but may return specific "not available"
instance (see |