trait FormatInfo extends AnyRef
Abstract interface to obtain format properties or values derived from properties.
This includes anything the I/O layer needs, which includes properties that can be runtime-valued expressions, or that depend on such.
By passing in an object that provides quick access to these, we avoid the need to have setters/getters that call setters that change state in the I/O layer.
- Alphabetic
- By Inheritance
- FormatInfo
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
binaryFloatRep: BinaryFloatRep
Returns the BinaryFloatRep
-
abstract
def
bitOrder: BitOrder
Returns bit order.
Returns bit order. If text, this is the bit order for the character set encoding. If binary, this is the bitOrder property value.
-
abstract
def
byteOrder: ByteOrder
Returns ByteOrder
-
abstract
def
decoder: BitsCharsetDecoder
Returns a charset decoder for this encoding
-
abstract
def
encoder: BitsCharsetEncoder
Returns a charset encoder for this encoding configured for the
dfdl:encodingErrorPolicy.Returns a charset encoder for this encoding configured for the
dfdl:encodingErrorPolicy. This is the same as either thereportingEncoderor thereplacingEncoder. -
abstract
def
encodingErrorPolicy: EncodingErrorPolicy
Provides the
dfdl:encodingErrorPolicyas an EncodingErrorPolicy enum. -
abstract
def
encodingMandatoryAlignmentInBits: Int
Returns 8 if the
dfdl:encodingis given by a runtime-valued expression.Returns 8 if the
dfdl:encodingis given by a runtime-valued expression. Returns 8 for all ICU-based encodings. Returns 1 to 7 (inclusive) for encodings 1 to 7 bits wide respectively. -
abstract
def
fillByte: Byte
Returns the fillByte value.
Returns the fillByte value.
Note: This has to be obtained from the FormatInfo because the
dfdl:fillByteproperty can be specified as a character, which depends then on thedfdl:encodingwhich can be computed via a runtime expression. -
abstract
def
maybeCharWidthInBits: MaybeInt
Returns MaybeInt.Nope for variable-width encodings or no encoding defined.
Returns MaybeInt.Nope for variable-width encodings or no encoding defined. Returns MaybeInt(n) for fixed width encodings.
-
abstract
def
maybeUTF16Width: Maybe[UTF16Width]
Returns
Nopeifdfdl:utf16Widthis not defined.Returns
Nopeifdfdl:utf16Widthis not defined. ReturnsOne(w: UTF16Width)if it is defined. - abstract def regexMatchBitPositionBuffer: LongBuffer
-
abstract
def
regexMatchBuffer: CharBuffer
Buffers used for regex matching
-
abstract
def
tunable: DaffodilTunables
Provides tunable values
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isFixedWidthEncoding: Boolean
Returns true if encoding is fixed width meaning has the same number of bits in each character representation.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()