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, 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. ToBriefXMLImpl
  12. AnyRef
  13. 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 asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def briefXMLAttributes: String
    Attributes
    protected
    Definition Classes
    ToBriefXMLImpl
  7. 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.

  8. val childUnparser: Unparser
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. val context: RuntimeData
    Definition Classes
    CombinatorUnparser → Unparser → Processor
  11. def endArray(state: ParseOrUnparseState, actualOccurs: Long): Unit
    Definition Classes
    EndArrayChecksMixin
  12. 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.

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. val erd: ElementRuntimeData
    Definition Classes
    RepeatingChildUnparser → EndArrayChecksMixin → MinMaxRepeatsMixin
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def isBoundedMax: Boolean
    Definition Classes
    MinMaxRepeatsMixin
  20. def isEmpty: Boolean
    Definition Classes
    Unparser → Processor
  21. val isInitialized: Boolean
    Definition Classes
    Processor
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def isPrimitive: Boolean
    Definition Classes
    CombinatorProcessor → Processor
  24. def maxRepeats(state: ParseOrUnparseState): Long
    Definition Classes
    MinMaxRepeatsMixin
  25. def minRepeats(state: ParseOrUnparseState): Long
    Definition Classes
    MinMaxRepeatsMixin
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def nom: String
    Definition Classes
    ToBriefXMLImpl
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. lazy val runtimeDependencies: Vector[Nothing]
    Definition Classes
    RepeatingChildUnparserSequenceChildUnparser → Processor
  31. 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.

  32. val srd: SequenceRuntimeData
  33. 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.

  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toBriefXML(depthLimit: Int = -1): String
    Definition Classes
    RepeatingChildUnparser → ToBriefXMLImpl
  36. def toString(): String
    Definition Classes
    RepeatingChildUnparser → ToBriefXMLImpl → AnyRef → Any
  37. val trd: TermRuntimeData
    Definition Classes
    SequenceChildUnparser
  38. 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
  39. final def unparse1(ustate: UState, ignore: AnyRef): Unit
    Definition Classes
    Unparser
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

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 ToBriefXMLImpl

Inherited from AnyRef

Inherited from Any

Ungrouped