Class

org.apache.daffodil.processors.parsers

SpecifiedLengthPrefixedCharactersParser

Related Doc: package parsers

Permalink

final class SpecifiedLengthPrefixedCharactersParser extends SpecifiedLengthCharactersParserBase with PrefixedLengthParserMixin

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpecifiedLengthPrefixedCharactersParser
  2. PrefixedLengthParserMixin
  3. SpecifiedLengthCharactersParserBase
  4. SpecifiedLengthParserBase
  5. CaptureParsingValueLength
  6. CombinatorParser
  7. CombinatorProcessor
  8. Parser
  9. Processor
  10. Serializable
  11. Serializable
  12. Logging
  13. Identity
  14. ToBriefXMLImpl
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SpecifiedLengthPrefixedCharactersParser(eParser: Parser, erd: ElementRuntimeData, prefixedLengthParser: Parser, prefixedLengthERD: ElementRuntimeData, prefixedLengthAdjustmentInUnits: Long)

    Permalink

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. def PE(pstate: PState, s: String, args: Any*): Unit

    Permalink
    Definition Classes
    Parser
  5. def PENotEnoughBits(pstate: PState, neededBits: Long, remainingBits: MaybeULong): Unit

    Permalink
    Definition Classes
    Parser
  6. final def areLogging(lvl: Type): Boolean

    Permalink
    Definition Classes
    Logging
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def briefXMLAttributes: String

    Permalink
    Attributes
    protected
    Definition Classes
    ToBriefXMLImpl
  9. final def captureValueLength(state: PState, startBitPos0b: ULong, endBitPos0b: ULong): Unit

    Permalink
    Definition Classes
    CaptureParsingValueLength
  10. final def captureValueLengthOfString(state: PState, str: String): Unit

    Permalink
    Definition Classes
    CaptureParsingValueLength
  11. def charsetEv: Nothing

    Permalink
  12. lazy val childProcessors: Vector[Parser]

    Permalink
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. val context: RuntimeData

    Permalink
    Definition Classes
    CombinatorParserProcessor
  15. def doLogging(lvl: Type, msg: String, args: Seq[Any]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  16. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getBitLength(s: PState): MaybeULong

    Permalink

    Computes number of bits in length.

    Computes number of bits in length. If an error occurs this should modify the state to reflect a processing error.

    Attributes
    protected
    Definition Classes
    SpecifiedLengthCharactersParserBaseSpecifiedLengthParserBase
  20. def getCharLength(s: PState): Long

    Permalink
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def getLogWriter(): LogWriter

    Permalink
    Definition Classes
    Logging
  23. final def getLoggingLevel(): Type

    Permalink
    Definition Classes
    Logging
  24. def getPrefixedLengthInBits(state: PState): Long

    Permalink

    Get the prefixed length in bits.

    Get the prefixed length in bits. If the parse fails, this returns 0. The caller is expected to check to see if state.processorStatus is error upon returning, indicating that the returned value is meaningless.

    Definition Classes
    PrefixedLengthParserMixin
  25. def getPrefixedLengthInUnits(state: PState): Long

    Permalink

    Runs the prefixedLengthParser to determine the prefix length value, making adjustments as necessary.

    Runs the prefixedLengthParser to determine the prefix length value, making adjustments as necessary. If the parse fails, this returns 0. The caller is expected to check to see if state.processorStatus is error upon returning, indicating that the returned value is meaningless.

    Definition Classes
    PrefixedLengthParserMixin
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. def isEmpty: Boolean

    Permalink
    Definition Classes
    ParserProcessor
  28. var isInitialized: Boolean

    Permalink
    Definition Classes
    Processor
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. final def isPrimitive: Boolean

    Permalink

    False because combinators don't touch the data stream themselves.

    False because combinators don't touch the data stream themselves. The processors they call do that work.

    Definition Classes
    CombinatorProcessorProcessor
  31. lazy val lengthUnits: Characters.type

    Permalink
  32. final macro def log(lvl: Type, msg: String, args: Any*): Unit

    Permalink
    Definition Classes
    Logging
  33. lazy val logID: String

    Permalink
    Definition Classes
    Logging → Identity
  34. var logLevel: Maybe[Type]

    Permalink
    Definition Classes
    Logging
  35. var logWriter: Maybe[LogWriter]

    Permalink
    Definition Classes
    Logging
  36. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  37. def nom: String

    Permalink
    Definition Classes
    ToBriefXMLImpl
  38. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  40. final def parse(pState: PState): Unit

    Permalink
    Definition Classes
    SpecifiedLengthParserBaseParser
  41. final def parse1(pstate: PState): Unit

    Permalink
    Definition Classes
    Parser
  42. def parserName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Parser
  43. val prefixedLengthAdjustmentInUnits: Long

    Permalink
  44. val prefixedLengthERD: ElementRuntimeData

    Permalink
  45. val prefixedLengthParser: Parser

    Permalink
  46. def processingError(state: PState, str: String, args: Any*): Unit

    Permalink
    Definition Classes
    Parser
  47. lazy val runtimeDependencies: Vector[Nothing]

    Permalink
    Definition Classes
    SpecifiedLengthParserBaseProcessor
  48. def setLogWriter(lw: LogWriter): Unit

    Permalink
    Definition Classes
    Logging
  49. def setLoggingLevel(level: Type): Unit

    Permalink
    Definition Classes
    Logging
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  51. def toBriefXML(depthLimit: Int = 1): String

    Permalink
    Definition Classes
    ToBriefXMLImpl
  52. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. macro def withLoggingLevel[S](newLevel: Type)(body: ⇒ S): Unit

    Permalink
    Definition Classes
    Logging

Inherited from PrefixedLengthParserMixin

Inherited from SpecifiedLengthParserBase

Inherited from CaptureParsingValueLength

Inherited from CombinatorParser

Inherited from CombinatorProcessor

Inherited from Parser

Inherited from Processor

Inherited from Serializable

Inherited from Serializable

Inherited from Logging

Inherited from Identity

Inherited from ToBriefXMLImpl

Inherited from AnyRef

Inherited from Any

Ungrouped