Packages

c

org.apache.daffodil.processors.unparsers

RepeatingChildUnparser

abstract class RepeatingChildUnparser extends SequenceChildUnparser with MinMaxRepeatsMixin with EndArrayChecksMixin

Base for unparsers of array/optional elements.

The unparse() method unparses exactly one occurrance, does NOT iterate over all the occurrences.

Linear Supertypes
EndArrayChecksMixin, MinMaxRepeatsMixin, SequenceChildUnparser, CombinatorUnparser, CombinatorProcessor, Unparser, Processor, Serializable, Serializable, Logging, Identity, ToBriefXMLImpl, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RepeatingChildUnparser
  2. EndArrayChecksMixin
  3. MinMaxRepeatsMixin
  4. SequenceChildUnparser
  5. CombinatorUnparser
  6. CombinatorProcessor
  7. Unparser
  8. Processor
  9. Serializable
  10. Serializable
  11. Logging
  12. Identity
  13. ToBriefXMLImpl
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RepeatingChildUnparser(childUnparser: Unparser, srd: SequenceRuntimeData, erd: ElementRuntimeData)

Abstract Value Members

  1. abstract def checkArrayPosAgainstMaxOccurs(state: UState): Boolean

    True if arrayPos is less than maxOccurs, but only if we care about maxOccurs.

    True if arrayPos is less than maxOccurs, but only if we care about maxOccurs. Always true if occursCountKind is not one where we bound occurrences with maxOccurs.

  2. abstract def childProcessors: Vector[Processor]
    Definition Classes
    Processor → ToBriefXMLImpl

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def UE(ustate: UState, s: String, args: Any*): Nothing
    Definition Classes
    Unparser
  5. final def areLogging(lvl: Type): Boolean
    Definition Classes
    Logging
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def briefXMLAttributes: String
    Attributes
    protected
    Definition Classes
    ToBriefXMLImpl
  8. def checkFinalOccursCountBetweenMinAndMaxOccurs(state: UState, unparser: RepeatingChildUnparser, numOccurrences: Int, maxReps: Long, arrPos: Long): Unit

    For OccursCountKind 'implicit', we need to check for arrayPos in range and enforce the min/maxOccurs bounds.

    For OccursCountKind 'implicit', we need to check for arrayPos in range and enforce the min/maxOccurs bounds.

    maxReps is passed in, since it will already have been computed before hand.

    This depends on maxReps and minReps being properly setup to represent the bounds checking that should be done. E.g., if 'implicit' but maxReps is 'unbounded', then maxReps will be Long.MaxValue.

  9. val childUnparser: Unparser
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. val context: RuntimeData
    Definition Classes
    CombinatorUnparser → Unparser → Processor
  12. def doLogging(lvl: Type, msg: String, args: Seq[Any]): Unit
    Attributes
    protected
    Definition Classes
    Logging
  13. def endArray(state: ParseOrUnparseState, actualOccurs: Long): Unit
    Definition Classes
    EndArrayChecksMixin
  14. final def endArrayOrOptional(currentArrayERD: ElementRuntimeData, state: UState): Unit

    Ends an array/optional.

    Ends an array/optional. For a true array, pulls an event which must be an end-array event. Validates array dimensions if validation has been requested.

  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. val erd: ElementRuntimeData
    Definition Classes
    RepeatingChildUnparser → EndArrayChecksMixin → MinMaxRepeatsMixin
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def getLogWriter(): LogWriter
    Definition Classes
    Logging
  21. final def getLoggingLevel(): Type
    Definition Classes
    Logging
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def isBoundedMax: Boolean
    Definition Classes
    MinMaxRepeatsMixin
  24. def isEmpty: Boolean
    Definition Classes
    Unparser → Processor
  25. val isInitialized: Boolean
    Definition Classes
    Processor
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def isPrimitive: Boolean
    Definition Classes
    CombinatorProcessor → Processor
  28. final macro def log(lvl: Type, msg: String, args: Any*): Unit
    Definition Classes
    Logging
  29. lazy val logID: String
    Definition Classes
    Logging → Identity
  30. val logLevel: Maybe[Type]
    Definition Classes
    Logging
  31. val logWriter: Maybe[LogWriter]
    Definition Classes
    Logging
  32. def maxRepeats(state: ParseOrUnparseState): Long
    Definition Classes
    MinMaxRepeatsMixin
  33. def minRepeats(state: ParseOrUnparseState): Long
    Definition Classes
    MinMaxRepeatsMixin
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def nom: String
    Definition Classes
    ToBriefXMLImpl
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. lazy val runtimeDependencies: Vector[Nothing]
    Definition Classes
    RepeatingChildUnparserSequenceChildUnparser → Processor
  39. def setLogWriter(lw: LogWriter): Unit
    Definition Classes
    Logging
  40. def setLoggingLevel(level: Type): Unit
    Definition Classes
    Logging
  41. final def shouldDoUnparser(unparser: RepeatingChildUnparser, state: UState): Boolean

    Determines if the incoming event matches the current term, so we should run its unparser.

    Determines if the incoming event matches the current term, so we should run its unparser.

    If the term is an element and the event is a start element, then true if the incoming element event namedQName matches the expected element namedQName. Always true if the term is a model-group and the event is a start element. If the event is not a start, it must be an endArray for the enclosing complex element, and the answer is false.

  42. val srd: SequenceRuntimeData
  43. final def startArrayOrOptional(state: UState): Unit

    Sets up for the start of an array/optional.

    Sets up for the start of an array/optional. For true array, pulls an event, which must be a start-array event.

  44. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  45. def toBriefXML(depthLimit: Int = -1): String
    Definition Classes
    RepeatingChildUnparser → ToBriefXMLImpl
  46. def toString(): String
    Definition Classes
    RepeatingChildUnparser → ToBriefXMLImpl → AnyRef → Any
  47. val trd: TermRuntimeData
    Definition Classes
    SequenceChildUnparser
  48. def unparse(state: UState): Unit

    Unparse exactly one occurrence of an array/optional element.

    Unparse exactly one occurrence of an array/optional element.

    Iterating for arrays/optionals is done in the caller.

    Attributes
    protected
    Definition Classes
    RepeatingChildUnparser → Unparser
  49. final def unparse1(ustate: UState, ignore: AnyRef): Unit
    Definition Classes
    Unparser
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  53. macro def withLoggingLevel[S](newLevel: Type)(body: ⇒ S): Unit
    Definition Classes
    Logging

Inherited from EndArrayChecksMixin

Inherited from MinMaxRepeatsMixin

Inherited from SequenceChildUnparser

Inherited from CombinatorUnparser

Inherited from CombinatorProcessor

Inherited from Unparser

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