| Modifier and Type | Field and Description |
|---|---|
| private final _Private_MarkupCallback | |
| private IonType | myTypeBeingWritten
myTypeBeingWritten is used to communicate the type of the data that was requested to be written via a write<type> to the subsequent methods that need to know the type for calling callbacks. |
| Access | Constructor and Description |
|---|---|
| public | IonWriterSystemTextMarkup(SymbolTable defaultSystemSymtab, _Private_IonTextWriterBuilder options, _Private_FastAppendable out)
|
| private | IonWriterSystemTextMarkup(SymbolTable defaultSystemSymtab, _Private_IonTextWriterBuilder options, _Private_FastAppendable out, _Private_CallbackBuilder builder)
|
| private | IonWriterSystemTextMarkup(SymbolTable defaultSystemSymtab, _Private_IonTextWriterBuilder options, _Private_MarkupCallback callback)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| public void | stepIn(IonType containerType)
Overrides com. Implements com. Writes the beginning of a non-null container (list, sexp, or struct). |
| public void | stepOut()
Overrides com. Implements com. Writes the end of the current container, returning this writer to the context of parent container. |
| protected void | writeAnnotations(SymbolToken[] annotations)
Overrides com.
|
| protected void | |
| public void | writeBlob(byte[]
bytes to be written.
May be value, int null to represent null.blob.offset of the first byte in value to write start, int number of bytes to write from value len)Overrides com. Implements com. Writes a portion of the byte array out as an IonBlob value. |
| public void | writeBool(boolean
true or false as desired value)Overrides com. Implements com. writes a non-null boolean value (true or false) as an IonBool to output. |
| public void | writeClob(byte[]
bytes to be written.
May be value, int null to represent null.clob.offset of the first byte in value to write start, int number of bytes to write from value len)Overrides com. Implements com. Writes a portion of the byte array out as an IonClob value. |
| public void | writeDecimal(BigDecimal
may be null to represent value)null.decimal.Overrides com. Implements com. Writes a BigDecimal value as an Ion decimal. |
| protected void | |
| public void | writeFloat(double
double to write value)Overrides com. Implements com. writes a 64 bit binary floating point value, a Java double, as an IonFloat. |
| public void | writeInt(long
signed int to write value)Overrides com. Implements com. writes a signed 64 bit value, a Java long, as an IonInt. |
| public void | writeInt(BigInteger
BigInteger to write value)Overrides com. Implements com. writes a BigInteger value as an IonInt. |
| public void | writeNull()
Overrides com. Implements com. Writes a value of Ion's null type ( |
| public void | writeNull(IonType
type of the null to be written type)Overrides com. Implements com. Writes a null value of a specified Ion type. |
| protected boolean | writeSeparator(boolean followingLongString)
Overrides com.
|
| public void | writeString(String
may be null to represent value)null.string.Overrides com. Implements com. Writes a |
| public void | writeSymbolAsIs(String value)
Overrides com. Writes a symbol without checking for system ID. |
| public void | writeSymbolAsIs(int value)
Overrides com. Writes a symbol without checking for system ID. |
| public void | writeTimestamp(Timestamp
may be null to represent value)null.timestamp.Overrides com. Implements com. Writes a timestamp value. |
| myCallback | back to summary |
|---|---|
| private final _Private_MarkupCallback myCallback | |
| myTypeBeingWritten | back to summary |
|---|---|
| private IonType myTypeBeingWritten myTypeBeingWritten is used to communicate the type of the data that was
requested to be written via a write | |
| IonWriterSystemTextMarkup | back to summary |
|---|---|
| public IonWriterSystemTextMarkup(SymbolTable defaultSystemSymtab, _Private_IonTextWriterBuilder options, _Private_FastAppendable out) | |
| IonWriterSystemTextMarkup | back to summary |
|---|---|
| private IonWriterSystemTextMarkup(SymbolTable defaultSystemSymtab, _Private_IonTextWriterBuilder options, _Private_FastAppendable out, _Private_CallbackBuilder builder) | |
| IonWriterSystemTextMarkup | back to summary |
|---|---|
| private IonWriterSystemTextMarkup(SymbolTable defaultSystemSymtab, _Private_IonTextWriterBuilder options, _Private_MarkupCallback callback) | |
| closeValue | back to summary |
|---|---|
| pack-priv void closeValue() throws IOException Overrides com.
| |
| startValue | back to summary |
|---|---|
| pack-priv void startValue() throws IOException Overrides com.
| |
| stepIn | back to summary |
|---|---|
| public void stepIn(IonType containerType) throws IOException Overrides com. Implements com. Doc from com. Writes the beginning of a non-null container (list, sexp, or struct).
This must be matched by a call to
This method is not used to write
| |
| stepOut | back to summary |
|---|---|
| public void stepOut() throws IOException Overrides com. Implements com. Doc from com. Writes the end of the current container, returning this writer to the
context of parent container.
Invocation of this method must match a preceding call to
| |
| writeAnnotations | back to summary |
|---|---|
| protected void writeAnnotations(SymbolToken[] annotations) throws IOException Overrides com.
| |
| writeAnnotationToken | back to summary |
|---|---|
| protected void writeAnnotationToken(SymbolToken sym) throws IOException Overrides com.
| |
| writeBlob | back to summary |
|---|---|
| public void writeBlob(byte[] value, int start, int len) throws IOException Overrides com. Implements com. Doc from com. Writes a portion of the byte array out as an IonBlob value. This copies the portion of the byte array that is written.
| |
| writeBool | back to summary |
|---|---|
| public void writeBool(boolean value) throws IOException Overrides com. Implements com. Doc from com. writes a non-null boolean value (true or false) as an IonBool to output.
| |
| writeClob | back to summary |
|---|---|
| public void writeClob(byte[] value, int start, int len) throws IOException Overrides com. Implements com. Doc from com. Writes a portion of the byte array out as an IonClob value. This copies the porition of the byte array that is written.
| |
| writeDecimal | back to summary |
|---|---|
| public void writeDecimal(BigDecimal value) throws IOException Overrides com. Implements com. Doc from com. Writes a BigDecimal value as an Ion decimal. Ion uses an arbitrarily long sign/value and an arbitrarily long signed exponent to write the value. This preserves all of the BigDecimal digits, the number of significant digits.
To write a negative zero value, pass this method a
| |
| writeFieldNameToken | back to summary |
|---|---|
| protected void writeFieldNameToken(SymbolToken sym) throws IOException Overrides com.
| |
| writeFloat | back to summary |
|---|---|
| public void writeFloat(double value) throws IOException Overrides com. Implements com. Doc from com. writes a 64 bit binary floating point value, a Java double, as an IonFloat. Currently IonFloat values are output as 64 bit IEEE 754 big endian values. IonFloat preserves all valid floating point values, including -0.0, Nan and +/-infinity. It does not guarantee preservation of -Nan or other less less "common" values.
| |
| writeInt | back to summary |
|---|---|
| public void writeInt(long value) throws IOException Overrides com. Implements com. Doc from com. writes a signed 64 bit value, a Java long, as an IonInt.
| |
| writeInt | back to summary |
|---|---|
| public void writeInt(BigInteger value) throws IOException Overrides com. Implements com. Doc from com. writes a BigInteger value as an IonInt. If the BigInteger value is null this writes a null int.
| |
| writeNull | back to summary |
|---|---|
| public void writeNull() throws IOException Overrides com. Implements com. Doc from com. Writes a value of Ion's null type (
| |
| writeNull | back to summary |
|---|---|
| public void writeNull(IonType type) throws IOException Overrides com. Implements com. Doc from com. Writes a null value of a specified Ion type. | |
| writeSeparator | back to summary |
|---|---|
| protected boolean writeSeparator(boolean followingLongString) throws IOException Overrides com.
| |
| writeString | back to summary |
|---|---|
| public void writeString(String value) throws IOException Overrides com. Implements com. Doc from com. Writes a | |
| writeSymbolAsIs | back to summary |
|---|---|
| public void writeSymbolAsIs(String value) throws IOException Overrides com. Doc from com. Writes a symbol without checking for system ID.
| |
| writeSymbolAsIs | back to summary |
|---|---|
| public void writeSymbolAsIs(int value) throws IOException Overrides com. Doc from com. Writes a symbol without checking for system ID.
| |
| writeTimestamp | back to summary |
|---|---|
| public void writeTimestamp(Timestamp value) throws IOException Overrides com. Implements com. Doc from com. Writes a timestamp value. | |