ObjectMapper that will set underlying
factory to be an instance of IonFactory.
| Modifier and Type | Class and Description |
|---|---|
| public static class | IonObjectMapper.
Base implementation for "Vanilla" |
| private static class | IonObjectMapper.
Helper class to contain dynamically constructed "shared" instance of
mapper, should one be needed via |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static IonObjectMapper. | |
| public static IonObjectMapper. | builder(IonFactory streamFactory)
A builder for a mapper that will use specified |
| public static IonObjectMapper. | |
| public static IonObjectMapper. | |
| public static IonObjectMapper. | builderForBinaryWriters(IonSystem ionSystem)
A builder for a mapper that will use binary writers by default and the
provided |
| public static IonObjectMapper. | |
| public static IonObjectMapper. | builderForTextualWriters(IonSystem ionSystem)
A builder for a mapper that will use textual writers by default and the
provided |
| public IonGenerator | |
| public IonParser | |
| public IonParser | |
| public <T> T | |
| public <T> T | readValue(IonReader r, TypeReference<T> valueTypeRef)
Deserialize an Ion value read from the supplied IonReader into a Java type. |
| public <T> T | |
| public <T> T | |
| public <T> T | readValue(IonValue value, TypeReference<T> valueTypeRef)
Convenience method for converting Ion value into given value type. |
| public <T> T | |
| public IonObjectMapper. | rebuild()
Overrides tools. Method for creating a new |
| public static IonObjectMapper | shared()
Accessor method for getting globally shared "default" |
| public IonFactory | tokenStreamFactory()
Overrides tools. Method that can be used to get hold of |
| public Version | version()
Overrides tools. Implements tools. Method that will return version information stored in and read from jar that contains this class. |
| public void | writeValue(IonWriter w, Object value)
Method that can be used to serialize any Java value as Ion output, using IonWriter provided. |
| public IonValue |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| IonObjectMapper | back to summary |
|---|---|
| public IonObjectMapper() | |
| IonObjectMapper | back to summary |
|---|---|
| public IonObjectMapper(IonFactory f) | |
| IonObjectMapper | back to summary |
|---|---|
| public IonObjectMapper(IonObjectMapper. | |
| builder | back to summary |
|---|---|
| public static IonObjectMapper. A builder for a mapper that will use textual writers by default. Same as
| |
| builder | back to summary |
|---|---|
| public static IonObjectMapper. A builder for a mapper that will use specified | |
| builder | back to summary |
|---|---|
| public static IonObjectMapper. A builder for a mapper that will use textual writers by default and the
provided | |
| builderForBinaryWriters | back to summary |
|---|---|
| public static IonObjectMapper. A builder for a mapper that will use binary writers by default. | |
| builderForBinaryWriters | back to summary |
|---|---|
| public static IonObjectMapper. A builder for a mapper that will use binary writers by default and the
provided | |
| builderForTextualWriters | back to summary |
|---|---|
| public static IonObjectMapper. A builder for a mapper that will use textual writers by default. | |
| builderForTextualWriters | back to summary |
|---|---|
| public static IonObjectMapper. A builder for a mapper that will use textual writers by default and the
provided | |
| createGenerator | back to summary |
|---|---|
public IonGenerator createGenerator(IonWriter out)
| |
| createParser | back to summary |
|---|---|
public IonParser createParser(IonReader src)
| |
| createParser | back to summary |
|---|---|
public IonParser createParser(IonValue value)
| |
| readValue | back to summary |
|---|---|
| public <T> T readValue(IonReader r, Class<T> valueType) throws IOException Deserialize an Ion value read from the supplied IonReader into a Java type. Note method does not close the underlying reader
| |
| readValue | back to summary |
|---|---|
| public <T> T readValue(IonReader r, TypeReference<T> valueTypeRef) throws IOException Deserialize an Ion value read from the supplied IonReader into a Java type. Note method does not close the underlying reader
| |
| readValue | back to summary |
|---|---|
| public <T> T readValue(IonReader r, JavaType valueType) throws IOException Deserialize an Ion value read from the supplied IonReader into a Java type. Note method does not close the underlying reader
| |
| readValue | back to summary |
|---|---|
| public <T> T readValue(IonValue value, Class<T> valueType) throws IOException Convenience method for converting Ion value into given value type.
| |
| readValue | back to summary |
|---|---|
| public <T> T readValue(IonValue value, TypeReference<T> valueTypeRef) throws IOException Convenience method for converting Ion value into given value type.
| |
| readValue | back to summary |
|---|---|
| public <T> T readValue(IonValue value, JavaType valueType) throws IOException Convenience method for converting Ion value into given value type.
| |
| rebuild | back to summary |
|---|---|
| public IonObjectMapper. Overrides tools. Doc from tools. Method for creating a new
| |
| shared | back to summary |
|---|---|
| public static IonObjectMapper shared() Accessor method for getting globally shared "default" | |
| tokenStreamFactory | back to summary |
|---|---|
| public IonFactory tokenStreamFactory() Overrides tools. Doc from tools. Method that can be used to get hold of Warning note that all
| |
| version | back to summary |
|---|---|
| public Version version() Overrides tools. Implements tools. Doc from tools. Method that will return version information stored in and read from jar that contains this class.
| |
| writeValue | back to summary |
|---|---|
| public void writeValue(IonWriter w, Object value) throws IOException Method that can be used to serialize any Java value as Ion output, using IonWriter provided. Note method does not close the underlying writer explicitly | |
| writeValueAsIonValue | back to summary |
|---|---|
| public IonValue writeValueAsIonValue(Object value) throws IOException Method that can be used to map any Java value to an IonValue. | |
ObjectMapper, used with
ION backend.
| Modifier and Type | Class and Description |
|---|---|
| protected static class |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected MapperBuilderState | |
| public IonObjectMapper | build()
Implements abstract tools. Method to call to create actual mapper instance. |
| public IonObjectMapper. | |
| public IonObjectMapper. | |
| public IonObjectMapper. | |
| public IonObjectMapper. | |
| public IonObjectMapper. | |
| public IonObjectMapper. |
| Builder | back to summary |
|---|---|
| public Builder(IonFactory f) | |
| Builder | back to summary |
|---|---|
| public Builder(IonObjectMapper. | |
| _saveState | back to summary |
|---|---|
| protected MapperBuilderState _saveState() Implements abstract tools.
| |
| build | back to summary |
|---|---|
| public IonObjectMapper build() Implements abstract tools. Doc from tools. Method to call to create actual mapper instance.
Implementation detail: usually construction occurs by passing
| |
| configure | back to summary |
|---|---|
| public IonObjectMapper. | |
| configure | back to summary |
|---|---|
| public IonObjectMapper. | |
| disable | back to summary |
|---|---|
| public IonObjectMapper. | |
| disable | back to summary |
|---|---|
| public IonObjectMapper. | |
| enable | back to summary |
|---|---|
| public IonObjectMapper. | |
| enable | back to summary |
|---|---|
| public IonObjectMapper. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Object | readResolve()
Implements abstract tools. Method required to support JDK deserialization; made `abstract` here to ensure sub-classes must implement it. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides tools. | |
| StateImpl | back to summary |
|---|---|
| public StateImpl(IonObjectMapper. | |
| readResolve | back to summary |
|---|---|
| protected Object readResolve() Implements abstract tools. Doc from tools. Method required to support JDK deserialization; made `abstract` here to ensure sub-classes must implement it.
| |