| Modifier and Type | Field and Description |
|---|---|
| protected final Map | _content
Underlying |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PropertiesBackedGenerator(IOContext ctxt, Properties props, int stdFeatures, ObjectCodec codec)
Deprecated
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | _appendFieldName(StringBuilder path, String name)
Implements abstract com.
|
| protected void | _releaseBuffers()
Implements abstract com. Method called to release any buffers generator may be holding, once generator is being closed. |
| protected void | _writeEscapedEntry(char[] text, int offset, int len)
Implements abstract com.
|
| protected void | _writeEscapedEntry(String value)
Implements abstract com.
|
| protected void | _writeRaw(char c)
Implements abstract com.
|
| protected void | _writeRaw(String text)
Implements abstract com.
|
| protected void | _writeRaw(StringBuilder text)
Implements abstract com.
|
| protected void | _writeRaw(char[] text, int offset, int len)
Implements abstract com.
|
| protected void | |
| protected void | |
| protected void | _writeUnescapedEntry(String value)
Implements abstract com.
|
| public void | close()
Overrides com. Implements java. Method called to close this generator, so that no more content can be written. |
| public void | flush()
Implements abstract com. Implements java. Method called to flush any buffered content to the underlying target (output stream, writer), and to flush the target itself as well. |
| public Object | getOutputTarget()
Overrides com. Method that can be used to get access to object that is used
as target for generated output; this is usually either
|
| _content | back to summary |
|---|---|
| protected final Map<String, Object> _content Underlying | |
| PropertiesBackedGenerator | back to summary |
|---|---|
public PropertiesBackedGenerator(IOContext ctxt, Map<?, ?> content, int stdFeatures, ObjectCodec codec)
| |
| PropertiesBackedGenerator | back to summary |
|---|---|
| public PropertiesBackedGenerator(IOContext ctxt, Properties props, int stdFeatures, ObjectCodec codec)
Deprecated
| |
| _appendFieldName | back to summary |
|---|---|
| protected void _appendFieldName(StringBuilder path, String name) Implements abstract com.
| |
| _releaseBuffers | back to summary |
|---|---|
| protected void _releaseBuffers() Implements abstract com. Doc from com. Method called to release any buffers generator may be holding, once generator is being closed.
| |
| _writeEscapedEntry | back to summary |
|---|---|
| protected void _writeEscapedEntry(char[] text, int offset, int len) throws IOException Implements abstract com.
| |
| _writeEscapedEntry | back to summary |
|---|---|
| protected void _writeEscapedEntry(String value) throws IOException Implements abstract com.
| |
| _writeRaw | back to summary |
|---|---|
| protected void _writeRaw(char c) throws IOException Implements abstract com.
| |
| _writeRaw | back to summary |
|---|---|
| protected void _writeRaw(String text) throws IOException Implements abstract com.
| |
| _writeRaw | back to summary |
|---|---|
| protected void _writeRaw(StringBuilder text) throws IOException Implements abstract com.
| |
| _writeRaw | back to summary |
|---|---|
| protected void _writeRaw(char[] text, int offset, int len) throws IOException Implements abstract com.
| |
| _writeRawLong | back to summary |
|---|---|
| protected void _writeRawLong(String text) throws IOException | |
| _writeRawLong | back to summary |
|---|---|
| protected void _writeRawLong(StringBuilder text) throws IOException | |
| _writeUnescapedEntry | back to summary |
|---|---|
| protected void _writeUnescapedEntry(String value) throws IOException Implements abstract com.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides com. Implements java. Doc from com. Method called to close this generator, so that no more content can be written.
Whether the underlying target (stream, writer) gets closed depends
on whether this generator either manages the target (i.e. is the
only one with access to the target -- case if caller passes a
reference to the resource such as File, but not stream); or
has feature
| |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Implements abstract com. Implements java. Doc from com. Method called to flush any buffered content to the underlying target (output stream, writer), and to flush the target itself as well.
| |
| getOutputTarget | back to summary |
|---|---|
| public Object getOutputTarget() Overrides com. Doc from com. Method that can be used to get access to object that is used
as target for generated output; this is usually either
In general use of this accessor should be considered as "last effort", i.e. only used if no other mechanism is applicable. | |