Class

org.apache.daffodil.processors.unparsers

RepeatingChildUnparser

Related Doc: package unparsers

Permalink

abstract class RepeatingChildUnparser extends SequenceChildUnparser with MinMaxRepeatsMixin

Base for unparsers of array/optional elements.

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

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

Instance Constructors

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

    Permalink

Abstract Value Members

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

    Permalink

    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]

    Permalink
    Definition Classes
    Processor → ToBriefXMLImpl

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. def UE(ustate: UState, s: String, args: Any*): Nothing

    Permalink
    Definition Classes
    Unparser
  5. final def areLogging(lvl: Type): Boolean

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

    Permalink
    Definition Classes
    Any
  7. def briefXMLAttributes: String

    Permalink
    Attributes
    protected
    Definition Classes
    ToBriefXMLImpl
  8. def checkFinalOccursCountBetweenMinAndMaxOccurs(state: UState, unparser: RepeatingChildUnparser, numOccurrences: Int, maxReps: Long, arrPos: Long): Unit

    Permalink

    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

    Permalink
  10. def clone(): AnyRef

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

    Permalink
    Definition Classes
    CombinatorUnparser → Unparser → Processor
  12. def doLogging(lvl: Type, msg: String, args: Seq[Any]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  13. final def endArrayOrOptional(currentArrayERD: ElementRuntimeData, state: UState): Unit

    Permalink

    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.

  14. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    RepeatingChildUnparser → MinMaxRepeatsMixin
  17. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Logging
  21. def hashCode(): Int

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

    Permalink
    Definition Classes
    MinMaxRepeatsMixin
  23. def isEmpty: Boolean

    Permalink
    Definition Classes
    Unparser → Processor
  24. var isInitialized: Boolean

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

    Permalink
    Definition Classes
    Any
  26. final def isPrimitive: Boolean

    Permalink
    Definition Classes
    CombinatorProcessor → Processor
  27. final macro def log(lvl: Type, msg: String, args: Any*): Unit

    Permalink
    Definition Classes
    Logging
  28. lazy val logID: String

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

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

    Permalink
    Definition Classes
    Logging
  31. def maxRepeats(state: ParseOrUnparseState): Long

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

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

    Permalink
    Definition Classes
    AnyRef
  34. def nom: String

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

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

    Permalink
    Definition Classes
    AnyRef
  37. lazy val runtimeDependencies: Vector[Nothing]

    Permalink
    Definition Classes
    RepeatingChildUnparserSequenceChildUnparser → Processor
  38. def setLogWriter(lw: LogWriter): Unit

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

    Permalink
    Definition Classes
    Logging
  40. final def shouldDoUnparser(unparser: RepeatingChildUnparser, state: UState): Boolean

    Permalink

    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.

  41. val srd: SequenceRuntimeData

    Permalink
  42. final def startArrayOrOptional(state: UState): Unit

    Permalink

    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.

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

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

    Permalink
    Definition Classes
    RepeatingChildUnparser → ToBriefXMLImpl
  45. def toString(): String

    Permalink
    Definition Classes
    RepeatingChildUnparser → ToBriefXMLImpl → AnyRef → Any
  46. val trd: TermRuntimeData

    Permalink
    Definition Classes
    SequenceChildUnparser
  47. def unparse(state: UState): Unit

    Permalink

    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
  48. final def unparse1(ustate: UState, ignore: AnyRef): Unit

    Permalink
    Definition Classes
    Unparser
  49. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Logging

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