Class

org.apache.daffodil.processors.charset

BitsCharsetDecoderByteSize

Related Doc: package charset

Permalink

abstract class BitsCharsetDecoderByteSize extends BitsCharsetDecoder

Base class for byte based decoders

Provides methods to get a single byte. Also handles logic related to error encoding policy and the replacement characters. Implementing class only need to use the provided methods to get a byte(s) and convert to a char and perform validation on the code point.

Linear Supertypes
BitsCharsetDecoder, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BitsCharsetDecoderByteSize
  2. BitsCharsetDecoder
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BitsCharsetDecoderByteSize()

    Permalink

Abstract Value Members

  1. abstract def decodeOneChar(dis: InputSourceDataInputStream, finfo: FormatInfo): Char

    Permalink

    Decode a single character

    Decode a single character

    This should read data via the InputSourceDataInputStream in whatever manner is most efficient, as long as at the end of the decode the bitPosition0b is set to to end of the character.

    If there was a decode error, the bit position should be set to the end of malformed bits and a BitsCharsetDecoderMalformedException should be thrown specifying how many bits were malformed.

    Attributes
    protected
    Definition Classes
    BitsCharsetDecoder

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def decode(dis: InputSourceDataInputStream, finfo: FormatInfo, chars: CharBuffer, bitPositions: LongBuffer = null): Int

    Permalink

    Decode multiple characters into a CharBuffer, keeping track of the bit positions after each Char decode

    Decode multiple characters into a CharBuffer, keeping track of the bit positions after each Char decode

    Decodes at most chars.remaining() characters in the chars CharBuffer. If bitPositions is provided, for each decoded character the bitPosition0b where the character decode operation finished is stored in the bitPositions LongBuffer. Upon return of the decode operation, the bitPosition0b of the InputSourceDataInputStream will be the end of the last successful character decode operation. Returns the number of successfully decode characters.

    Definition Classes
    BitsCharsetDecoder
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getByte(dis: InputSourceDataInputStream, bitsConsumedSoFar: Int): Int

    Permalink
    Attributes
    protected
    Annotations
    @inline()
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def reset(): Unit

    Permalink
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BitsCharsetDecoder

Inherited from AnyRef

Inherited from Any

Ungrouped