Class

org.apache.daffodil.processors.parsers

RepOrderedWithMinMaxSeparatedSequenceChildParser

Related Doc: package parsers

Permalink

final class RepOrderedWithMinMaxSeparatedSequenceChildParser extends OccursCountMinMaxParser with RepeatingSeparatedPoU

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RepOrderedWithMinMaxSeparatedSequenceChildParser
  2. RepeatingSeparatedPoU
  3. Separated
  4. OccursCountMinMaxParser
  5. RepeatingChildParser
  6. MinMaxRepeatsMixin
  7. SequenceChildParser
  8. CombinatorParser
  9. CombinatorProcessor
  10. Parser
  11. Processor
  12. Serializable
  13. Serializable
  14. Logging
  15. Identity
  16. ToBriefXMLImpl
  17. AnyRef
  18. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RepOrderedWithMinMaxSeparatedSequenceChildParser(childParser: Parser, srd: SequenceRuntimeData, erd: ElementRuntimeData, sep: Parser, spos: SeparatorPosition, ssp: SeparatorSuppressionPolicy, isPotentiallyTrailing: Boolean, isLastDeclaredRepresentedInSequence: Boolean)

    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. def arrayIndexStatus(minRepeats: Long, maxRepeats: Long, pstate: PState, resultOfPriorTry: ParseAttemptStatus): ArrayIndexStatus

    Permalink

    Tells us whether to attempt another array element at the current index, and how we should interpret the existence of an element or empty/zero-length based on the array index.

    Tells us whether to attempt another array element at the current index, and how we should interpret the existence of an element or empty/zero-length based on the array index.

    NOTE: must be stateless. State must be passed in, and returned for assignment to a loop var, or held in pstate.

    Definition Classes
    RepeatingChildParser
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def briefXMLAttributes: String

    Permalink
    Attributes
    protected
    Definition Classes
    ToBriefXMLImpl
  10. val childParser: Parser

    Permalink
    Definition Classes
    SequenceChildParser
  11. val childProcessors: Vector[Parser]

    Permalink
    Definition Classes
    Separated
  12. def clone(): AnyRef

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  15. def endArray(state: PState): Unit

    Permalink

    Do things that must be done at the end of an array.

    Do things that must be done at the end of an array.

    This applies to both variable-occurrence and fixed-occurrence array elements, as well as optional elements.

    This applies for optional elements as well because expressions can access them by way of index: e.g., fn:exists( optElement[dfdl:currentIndex()] )

    Definition Classes
    RepeatingChildParser
  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. val erd: ElementRuntimeData

    Permalink
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Logging
  23. final def hasPoU: Boolean

    Permalink
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. def isBoundedMax(maxRepeats: Long): Boolean

    Permalink
    Definition Classes
    MinMaxRepeatsMixin
  26. def isEmpty: Boolean

    Permalink
    Definition Classes
    ParserProcessor
  27. var isInitialized: Boolean

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

    Permalink
    Definition Classes
    Any
  29. val isLastDeclaredRepresentedInSequence: Boolean

    Permalink

    Only needed for separated sequences, but in order to avoid code duplication we use this "fat interface" approach, and have these here by default.

    Only needed for separated sequences, but in order to avoid code duplication we use this "fat interface" approach, and have these here by default.

    Override in separated, hasPoU case.

    Definition Classes
    RepOrderedWithMinMaxSeparatedSequenceChildParserRepeatingSeparatedPoU
  30. val isPotentiallyTrailing: Boolean

    Permalink

    Only needed for separated sequences, but in order to avoid code duplication we use this "fat interface" approach, and have these here by default.

    Only needed for separated sequences, but in order to avoid code duplication we use this "fat interface" approach, and have these here by default.

    Override in separated, hasPoU case.

    Definition Classes
    RepOrderedWithMinMaxSeparatedSequenceChildParserRepeatingSeparatedPoU
  31. 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
  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. def maxRepeats(state: ParseOrUnparseState): Long

    Permalink

    The digestion of maxOccurs with the occursCountKind results in maxRepeats.

    The digestion of maxOccurs with the occursCountKind results in maxRepeats. For example, when occursCountKind is parsed, then maxRepeats is -1 (meaning unbounded) regardless of the value of maxOccurs.

    Definition Classes
    MinMaxRepeatsMixin
  37. def minRepeats(state: ParseOrUnparseState): Long

    Permalink

    The digestion of minOccurs with the occursCountKind results in minRepeats.

    The digestion of minOccurs with the occursCountKind results in minRepeats. For example, when occursCountKind is parsed, then minRepeats is 0, regardless of the value of minOccurs.

    Definition Classes
    MinMaxRepeatsMixin
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. def nom: String

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

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

    Permalink
    Definition Classes
    AnyRef
  42. def parse(pstate: PState): Unit

    Permalink

    Invokes the child parser.

    Invokes the child parser. Once, only. Does NOT do iterations of it.

    Attributes
    protected
    Definition Classes
    RepeatingChildParserParser
  43. final def parse1(pstate: PState): Unit

    Permalink
    Definition Classes
    Parser
  44. def parserName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Parser
  45. def processingError(state: PState, str: String, args: Any*): Unit

    Permalink
    Definition Classes
    Parser
  46. def runtimeDependencies: Vector[Evaluatable[AnyRef]]

    Permalink
    Definition Classes
    SequenceChildParserProcessor
  47. val sep: Parser

    Permalink
  48. def setLogWriter(lw: LogWriter): Unit

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

    Permalink
    Definition Classes
    Logging
  50. final def shouldRemoveZLStringHexBinaryValue(ais: ArrayIndexStatus, erd: ElementRuntimeData): Boolean

    Permalink

    Tells us if we should remove a successfully parsed zero-length string or hexBinary from the infoset, because it is optional, so even though zero length may parse successfully and return an empty string or hexbinary normal value, the optionality of the element wins out over the empty-string value, and we don't put the element into the infoset as an array child.

    Tells us if we should remove a successfully parsed zero-length string or hexBinary from the infoset, because it is optional, so even though zero length may parse successfully and return an empty string or hexbinary normal value, the optionality of the element wins out over the empty-string value, and we don't put the element into the infoset as an array child.

    Definition Classes
    RepeatingSeparatedPoU
  51. final def shouldSuppressZLDelimitedParseFailure(pstate: PState, hasZLParseAttempt: Boolean): Boolean

    Permalink

    True for cases where we should deal with trailing separator toleration.

    True for cases where we should deal with trailing separator toleration.

    Combines the runtime information needed with static/schema-compile-time information about the Sequence child.

    This is applicable only to OPTIONAL elements (as in between min/maxOccurs, i.e., has variable occurrences, and speculative parsing/PoU.

    Definition Classes
    RepeatingSeparatedPoU
  52. val spos: SeparatorPosition

    Permalink
  53. val srd: SequenceRuntimeData

    Permalink
    Definition Classes
    SequenceChildParser
  54. val ssp: SeparatorSuppressionPolicy

    Permalink
  55. def startArray(state: PState): Unit

    Permalink

    Do things that are done at the start of an array-element.

    Do things that are done at the start of an array-element.

    This applies to both variable-occurrence and fixed-occurrence array elements, as well as optional elements.

    This applies for optional elements as well because expressions can access them by way of index: e.g., fn:exists( optElement[dfdl:currentIndex()] )

    This makes more sense if you consider that an "optional" element (minOccurs 0, maxOccurs 1) when occursCountKind is 'parsed' is treated as an array with an unbounded number of possible occurrences. Similarly, if occursCountKind is 'expression', then minOccurs/maxOccurs are ignored (used only for validation), and there can be more than 1 occurrence.

    Definition Classes
    RepeatingChildParser
  56. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    RepeatingChildParserToBriefXMLImpl
  58. def toString(): String

    Permalink
    Definition Classes
    RepeatingChildParserToBriefXMLImpl → AnyRef → Any
  59. val trd: TermRuntimeData

    Permalink
    Definition Classes
    SequenceChildParser
  60. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Logging

Inherited from RepeatingSeparatedPoU

Inherited from Separated

Inherited from OccursCountMinMaxParser

Inherited from RepeatingChildParser

Inherited from MinMaxRepeatsMixin

Inherited from SequenceChildParser

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