Packages

package unparsers

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class AlignmentFillUnparser extends AlignmentPrimUnparser with SuspendableUnparser
  2. class AlignmentFillUnparserSuspendableOperation extends SuspendableOperation
  3. abstract class BCDDecimalBaseUnparser extends PackedBinaryDecimalBaseUnparser
  4. final class BCDDecimalDelimitedUnparser extends BCDDecimalBaseUnparser
  5. class BCDDecimalKnownLengthUnparser extends BCDDecimalBaseUnparser with HasKnownLengthInBits
  6. final class BCDDecimalPrefixedLengthUnparser extends BCDDecimalBaseUnparser with KnownPrefixedLengthUnparserMixin
  7. class BCDDecimalRuntimeLengthUnparser extends BCDDecimalBaseUnparser with HasRuntimeExplicitLength
  8. abstract class BCDIntegerBaseUnparser extends PackedBinaryIntegerBaseUnparser
  9. final class BCDIntegerDelimitedUnparser extends BCDIntegerBaseUnparser
  10. class BCDIntegerKnownLengthUnparser extends BCDIntegerBaseUnparser with HasKnownLengthInBits
  11. final class BCDIntegerPrefixedLengthUnparser extends BCDIntegerBaseUnparser with KnownPrefixedLengthUnparserMixin
  12. class BCDIntegerRuntimeLengthUnparser extends BCDIntegerBaseUnparser with HasRuntimeExplicitLength
  13. class BinaryBooleanPrefixedLengthUnparser extends BinaryBooleanUnparserBase with KnownPrefixedLengthUnparserMixin
  14. class BinaryBooleanUnparser extends BinaryBooleanUnparserBase
  15. abstract class BinaryBooleanUnparserBase extends PrimUnparser
  16. class BinaryDecimalKnownLengthUnparser extends BinaryDecimalUnparserBase with HasKnownLengthInBits
  17. class BinaryDecimalPrefixedLengthUnparser extends BinaryDecimalUnparserBase with KnownPrefixedLengthUnparserMixin
  18. class BinaryDecimalRuntimeLengthUnparser extends BinaryDecimalUnparserBase with HasRuntimeExplicitLength
  19. abstract class BinaryDecimalUnparserBase extends BinaryNumberBaseUnparser
  20. class BinaryDoubleUnparser extends BinaryNumberBaseUnparser
  21. class BinaryFloatUnparser extends BinaryNumberBaseUnparser
  22. abstract class BinaryIntegerBaseUnparser extends BinaryNumberBaseUnparser
  23. class BinaryIntegerKnownLengthUnparser extends BinaryIntegerBaseUnparser with HasKnownLengthInBits
  24. class BinaryIntegerPrefixedLengthUnparser extends BinaryIntegerBaseUnparser with KnownPrefixedLengthUnparserMixin
  25. class BinaryIntegerRuntimeLengthUnparser extends BinaryIntegerBaseUnparser with HasRuntimeExplicitLength
  26. abstract class BinaryNumberBaseUnparser extends PrimUnparser
  27. trait CalculatedPrefixedLengthUnparserMixin extends AnyRef

    This trait is to be used with prefixed length unparsers where the length must be calculated based on the value length of the data.

    This trait is to be used with prefixed length unparsers where the length must be calculated based on the value length of the data. This means the data must be unparsed, the value length calculated, and that value will be assigned to the prefix length element.

  28. class CaptureEndOfContentLengthUnparser extends PrimUnparser
  29. class CaptureEndOfValueLengthUnparser extends PrimUnparser
  30. class CaptureStartOfContentLengthUnparser extends PrimUnparser
  31. class CaptureStartOfValueLengthUnparser extends PrimUnparser
  32. trait CaptureUnparsingValueLength extends AnyRef
  33. class ChoiceCombinatorUnparser extends CombinatorUnparser with ToBriefXMLImpl
  34. case class ComplexNilOrContentUnparser(ctxt: ElementRuntimeData, nilUnparser: Unparser, contentUnparser: Unparser) extends CombinatorUnparser with Product with Serializable
  35. class ComplexTypeUnparser extends CombinatorUnparser
  36. case class ConvertBinaryCalendarSecMilliUnparser(context: ElementRuntimeData, binCalRep: BinaryCalendarRep, epochTimeMillis: Long, lengthInBits: Int, hasTZ: Boolean) extends PrimUnparser with Product with Serializable
  37. case class ConvertTextBooleanUnparser(erd: ElementRuntimeData, textBooleanTrueRepEv: TextBooleanTrueRepEv, textBooleanFalseRepEv: TextBooleanFalseRepEv) extends TextPrimUnparser with Product with Serializable
  38. case class ConvertTextCalendarUnparser(erd: ElementRuntimeData, pattern: String, localeEv: CalendarLanguageEv, calendarEv: CalendarEv) extends ConvertTextCalendarProcessorBase with TextPrimUnparser with Product with Serializable
  39. case class ConvertTextCombinatorUnparser(rd: TermRuntimeData, valueUnparser: Unparser, converterUnparser: Unparser) extends CombinatorUnparser with Product with Serializable
  40. case class ConvertTextNumberUnparser[S](helper: ConvertTextNumberParserUnparserHelperBase[S], nff: NumberFormatFactoryBase[S], context: ElementRuntimeData) extends PrimUnparser with ToBriefXMLImpl with Product with Serializable
  41. case class ConvertZonedCombinatorUnparser(rd: TermRuntimeData, valueUnparser: Unparser, converterUnparser: Unparser) extends CombinatorUnparser with Product with Serializable
  42. case class ConvertZonedNumberUnparser[S](helper: ConvertTextNumberParserUnparserHelperBase[S], opl: util.DecimalUtils.OverpunchLocation.Value, zonedSignStyle: TextZonedSignStyle, context: ElementRuntimeData) extends PrimUnparser with ToBriefXMLImpl with Product with Serializable
  43. class DelimiterStackUnparser extends CombinatorUnparser
  44. class DelimiterTextUnparser extends TextPrimUnparser
  45. class DynamicEscapeSchemeUnparser extends CombinatorUnparser
  46. class ElementOVCSpecifiedLengthUnparser extends ElementUnparserBase with OVCStartEndStrategy with ElementSpecifiedLengthMixin
  47. class ElementOVCSpecifiedLengthUnparserSuspendableExpresion extends SuspendableExpression

    For dfdl:outputValueCalc elements.

  48. class ElementOVCUnspecifiedLengthUnparser extends ElementUnparserBase with OVCStartEndStrategy with RepMoveMixin
  49. trait ElementSpecifiedLengthMixin extends AnyRef
  50. class ElementSpecifiedLengthUnparser extends ElementUnparserBase with RegularElementUnparserStartEndStrategy with ElementSpecifiedLengthMixin

    For regular (not dfdl:outputValueCalc) elements.

  51. sealed abstract class ElementUnparserBase extends CombinatorUnparser with RepMoveMixin with ElementUnparserStartEndStrategy

    Base class for unparsing elements

    Base class for unparsing elements

    Depends on use of separate unparsers for the padding/fill regions which calculate their own sizes, generally after the length of the value region has been determined.

  52. class ElementUnparserNoRep extends ElementUnparserBase with RegularElementUnparserStartEndStrategy

    The unparser used for an element that has inputValueCalc.

    The unparser used for an element that has inputValueCalc.

    The only thing we do is move over one child element, because the inputValueCalc element does take up one child element position. However, not in the group - because that is what is used to decide whether to place separators, and there should not be any separator corresponding to an IVC element.

  53. sealed trait ElementUnparserStartEndStrategy extends AnyRef

    specifies the way the element will consume infoset events,

  54. class ElementUnspecifiedLengthUnparser extends ElementUnparserBase with RegularElementUnparserStartEndStrategy with RepMoveMixin

    Elements that, when unparsing, have no length specified.

    Elements that, when unparsing, have no length specified.

    That is, lengtKind delimited, pattern, and implicit(for complexTypes)

  55. class ElementUnusedUnparser extends PrimUnparser with SuspendableUnparser
  56. class ElementUnusedUnparserSuspendableOperation extends SuspendableOperation with NeedValueAndTargetLengthMixin
  57. final class HexBinaryLengthPrefixedUnparser extends HexBinaryMinLengthInBytesUnparser with KnownPrefixedLengthUnparserMixin
  58. class HexBinaryMinLengthInBytesUnparser extends HexBinaryUnparserBase
  59. final class HexBinarySpecifiedLengthUnparser extends HexBinaryUnparserBase
  60. abstract class HexBinaryUnparserBase extends PrimUnparser
  61. class HexBinaryZeroLengthDetector extends ZeroLengthDetector with HexBinaryZeroLengthMixin

    Use when the element is of simple type hexBinary, not nillable.

  62. sealed trait HexBinaryZeroLengthMixin extends AnyRef
  63. class HiddenChoiceCombinatorUnparser extends CombinatorUnparser with ToBriefXMLImpl
  64. abstract class IBM4690PackedDecimalBaseUnparser extends PackedBinaryDecimalBaseUnparser
  65. final class IBM4690PackedDecimalDelimitedUnparser extends IBM4690PackedDecimalBaseUnparser
  66. class IBM4690PackedDecimalKnownLengthUnparser extends IBM4690PackedDecimalBaseUnparser with HasKnownLengthInBits
  67. final class IBM4690PackedDecimalPrefixedLengthUnparser extends IBM4690PackedDecimalBaseUnparser with KnownPrefixedLengthUnparserMixin
  68. class IBM4690PackedDecimalRuntimeLengthUnparser extends IBM4690PackedDecimalBaseUnparser with HasRuntimeExplicitLength
  69. abstract class IBM4690PackedIntegerBaseUnparser extends PackedBinaryIntegerBaseUnparser
  70. final class IBM4690PackedIntegerDelimitedUnparser extends IBM4690PackedIntegerBaseUnparser
  71. class IBM4690PackedIntegerKnownLengthUnparser extends IBM4690PackedIntegerBaseUnparser with HasKnownLengthInBits
  72. final class IBM4690PackedIntegerPrefixedLengthUnparser extends IBM4690PackedIntegerBaseUnparser with KnownPrefixedLengthUnparserMixin
  73. class IBM4690PackedIntegerRuntimeLengthUnparser extends IBM4690PackedIntegerBaseUnparser with HasRuntimeExplicitLength
  74. trait KnownPrefixedLengthUnparserMixin extends AnyRef

    This trait is to be used with prefixed length unparsers where the length is known without needing to unparse the data.

    This trait is to be used with prefixed length unparsers where the length is known without needing to unparse the data. This means there is either a fixed length (like in the case of some binary numbers), or the length can be determined completly be inspecting the infoset data (like in the case of packed decimals). The length calculation performed in the getBitLength function, which returns the length of the data in bits.

  75. class LayeredSequenceUnparser extends OrderedUnseparatedSequenceUnparser
  76. class LeftCenteredPaddingUnparser extends OnlyPaddingUnparser
  77. class LeftCenteredPaddingUnparserSuspendableOperation extends OnlyPaddingUnparserSuspendableOperation
  78. class LiteralNilDelimitedEndOfDataUnparser extends StringDelimitedUnparser
  79. class LiteralValueNilOfSpecifiedLengthUnparser extends StringNoTruncateUnparser
  80. class MandatoryTextAlignmentUnparser extends AlignmentFillUnparser with TextProcessor
  81. class NadaUnparser extends PrimUnparser
  82. sealed trait NeedValueAndTargetLengthMixin extends AnyRef

    Several sub-unparsers need to have the value length, and the target length in order to compute their own length.

  83. class NeverZeroLengthDetector extends ZeroLengthDetector

    Use when analysis shows the element can never be zero length.

  84. class NewVariableInstanceEndUnparser extends PrimUnparserNoData
  85. class NewVariableInstanceStartUnparser extends PrimUnparserNoData
  86. class NilLiteralCharacterUnparser extends TextPrimUnparser with SuspendableUnparser
  87. class NilLiteralCharacterUnparserSuspendableOperation extends SuspendableOperation with PaddingUnparserMixin
  88. class NilStringLiteralForUnparserEv extends Evaluatable[String] with InfosetCachedEvaluatable[String]
  89. class NillableHexBinaryZeroLengthDetector extends ZeroLengthDetector with NillableZeroLengthMixin with HexBinaryZeroLengthMixin

    Use for nillable hexBinary when they can be zero length two different ways.

  90. class NillableStringZeroLengthDetector extends ZeroLengthDetector with NillableZeroLengthMixin with StringZeroLengthMixin

    Use for nillable strings when they can be zero length two different ways.

  91. class NillableZeroLengthDetector extends ZeroLengthDetector with NillableZeroLengthMixin

    Use when the characteristics of the nil representation are such that unparsing a nilled element will result in zero length.

  92. sealed trait NillableZeroLengthMixin extends AnyRef

    Applies to both simple and complex types that are nillable.

  93. trait OVCStartEndStrategy extends ElementUnparserStartEndStrategy
  94. class OnlyPaddingUnparser extends TextPrimUnparser with SuspendableUnparser

    Doesn't matter if we're left or right padding if we're the only padding

  95. class OnlyPaddingUnparserSuspendableOperation extends SuspendableOperation with PaddingUnparserMixin
  96. class OrderedSeparatedSequenceUnparser extends OrderedSequenceUnparserBase
  97. abstract class OrderedSequenceUnparserBase extends CombinatorUnparser
  98. class OrderedUnseparatedSequenceUnparser extends OrderedSequenceUnparserBase
  99. abstract class PackedBinaryBaseUnparser extends PrimUnparser with PackedBinaryConversion
  100. trait PackedBinaryConversion extends AnyRef
  101. abstract class PackedBinaryDecimalBaseUnparser extends PackedBinaryBaseUnparser
  102. abstract class PackedBinaryIntegerBaseUnparser extends PackedBinaryBaseUnparser
  103. abstract class PackedDecimalBaseUnparser extends PackedBinaryDecimalBaseUnparser
  104. final class PackedDecimalDelimitedUnparser extends PackedDecimalBaseUnparser
  105. class PackedDecimalKnownLengthUnparser extends PackedDecimalBaseUnparser with HasKnownLengthInBits
  106. final class PackedDecimalPrefixedLengthUnparser extends PackedDecimalBaseUnparser with KnownPrefixedLengthUnparserMixin
  107. class PackedDecimalRuntimeLengthUnparser extends PackedDecimalBaseUnparser with HasRuntimeExplicitLength
  108. abstract class PackedIntegerBaseUnparser extends PackedBinaryIntegerBaseUnparser
  109. final class PackedIntegerDelimitedUnparser extends PackedIntegerBaseUnparser
  110. class PackedIntegerKnownLengthUnparser extends PackedIntegerBaseUnparser with HasKnownLengthInBits
  111. final class PackedIntegerPrefixedLengthUnparser extends PackedIntegerBaseUnparser with KnownPrefixedLengthUnparserMixin
  112. class PackedIntegerRuntimeLengthUnparser extends PackedIntegerBaseUnparser with HasRuntimeExplicitLength
  113. trait PaddingRuntimeMixin extends AnyRef

    When dfdl:lengthKind is 'explicit' (and dfdl:length is an expression), 'delimited', 'prefixed', 'pattern' the data value is padded to the length given by the XSD minLength facet for type 'xs:string' or dfdl:textOutputMinLength property for other types.

    When dfdl:lengthKind is 'explicit' (and dfdl:length is an expression), 'delimited', 'prefixed', 'pattern' the data value is padded to the length given by the XSD minLength facet for type 'xs:string' or dfdl:textOutputMinLength property for other types.

    dfdl:textOutputMinLength: Only used when dfdl:textPadKind is 'padChar' and dfdl:lengthKind is 'delimited', 'prefixed', 'pattern', 'explicit' (when dfdl:length is an expression) or 'endOfParent', and type is not xs:string Specifies the minimum content length during unparsing for simple types that do not allow the XSD minLength facet to be specified. For dfdl:lengthKind 'delimited', 'pattern' and 'endOfParent' the length units are always characters, for other dfdl:lengthKinds the length units are specified by the dfdl:lengthUnits property. If dfdl:textOutputMinLength is zero or less than the length of the representation text then no padding occurs.

  114. trait PaddingUnparserMixin extends NeedValueAndTargetLengthMixin
  115. class PrefixLengthSuspendableOperation extends SuspendableOperation with CalculatedPrefixedLengthUnparserMixin
  116. sealed trait RegularElementUnparserStartEndStrategy extends ElementUnparserStartEndStrategy
  117. sealed trait RepMoveMixin extends AnyRef
  118. class RepOrderedSeparatedSequenceChildUnparser extends RepeatingChildUnparser with Separated
  119. class RepOrderedUnseparatedSequenceChildUnparser extends RepeatingChildUnparser with Unseparated
  120. abstract class RepeatingChildUnparser extends SequenceChildUnparser with MinMaxRepeatsMixin

    Base for unparsers of array/optional elements.

    Base for unparsers of array/optional elements.

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

  121. class RightCenteredPaddingUnparser extends OnlyPaddingUnparser
  122. class RightCenteredPaddingUnparserSuspendaableOperation extends OnlyPaddingUnparserSuspendableOperation
  123. class RightFillUnparser extends ElementUnusedUnparser
  124. class RightFillUnparserSuspendableOperation extends ElementUnusedUnparserSuspendableOperation with PaddingUnparserMixin
  125. class ScalarOrderedSeparatedSequenceChildUnparser extends SequenceChildUnparser with Separated
  126. class ScalarOrderedUnseparatedSequenceChildUnparser extends SequenceChildUnparser with Unseparated
  127. trait Separated extends AnyRef
  128. sealed trait SeparatorSuppressionAction extends Serializable
  129. sealed trait SeparatorSuppressionMode extends Serializable

    DFDL Spec.

    DFDL Spec. section 14.2.3 specifies only a few different behaviors for separator suppression. Each has an algorithm.

  130. abstract class SequenceChildUnparser extends CombinatorUnparser

    base for unparsers for the children of sequences.

    base for unparsers for the children of sequences.

    There is one sequence child unparser for each child (declared) of the sequence.

    These do not iterate over multiple recurring instances. That iteration happens in the caller. These unparse only a single occurrence when the child unparser is for an array/optional element.

  131. final class SetVariableSuspendableExpression extends SuspendableExpression
  132. final class SetVariableUnparser extends PrimUnparserNoData

    Used when unparsing to evaluate dfdl:setVariable statements.

    Used when unparsing to evaluate dfdl:setVariable statements.

    TODO: Possible bug. This will allow expressions to forward reference, even when the variables are being referenced from expressions that are NOT allowed to forward reference - e.g., property value expressions such as delimiters and byte order.

    This forward suspension is only supposed to be allowed for dfdl:outputValueCalc.

  133. case class SimpleNilOrValueUnparser(ctxt: ElementRuntimeData, nilUnparser: Unparser, valueUnparser: Unparser) extends CombinatorUnparser with Product with Serializable
  134. class SimpleTypeRetryUnparser extends PrimUnparser with SuspendableUnparser
  135. class SimpleTypeRetryUnparserSuspendableOperation extends SuspendableOperation
  136. class SkipRegionUnparser extends AlignmentPrimUnparser
  137. final class SpecifiedLengthExplicitImplicitUnparser extends CombinatorUnparser
  138. class SpecifiedLengthPrefixedUnparser extends CombinatorUnparser with CaptureUnparsingValueLength with CalculatedPrefixedLengthUnparserMixin
  139. sealed abstract class SpecifiedLengthUnparserBase extends AnyRef

    Restricts the bits available for unparsing to just those within the specified length computed.

    Restricts the bits available for unparsing to just those within the specified length computed.

    If a unparser (supplied as arg) runs past the available space, that's an unparse error.

    Truncation of strings - the only case where we truncate, and only when dfdl:truncateSpecifiedLengthString is 'yes', is handled elsewhere.

  140. sealed class StringDelimitedUnparser extends TextPrimUnparser
  141. class StringMaybeTruncateBitsUnparser extends StringSpecifiedLengthUnparserTruncateBase

    Truncates strings to the right length measured in bits.

    Truncates strings to the right length measured in bits. LengthUnits is Bits, but we still don't know whether the encoding is fixed width or variable width.

  142. class StringMaybeTruncateCharactersUnparser extends StringSpecifiedLengthUnparserTruncateBase

    Truncates strings to the right length measured in characters.

    Truncates strings to the right length measured in characters.

    LengthUnits is 'characters', but we still don't know what encoding so whether it is fixed or variable width.

    What's interesting is that we don't care whether the encoding is fixed or variable width in this case.

    This is more efficient for variable-width encodings than lengthUnits 'bytes' (or bits), because we don't need a pass to measure the number of bits.

    So, for utf-8, we should recommend lengthUnits 'characters' ? Maybe so.

  143. class StringNoTruncateUnparser extends StringSpecifiedLengthUnparserBase
  144. sealed abstract class StringSpecifiedLengthUnparserBase extends TextPrimUnparser
  145. sealed abstract class StringSpecifiedLengthUnparserTruncateBase extends StringSpecifiedLengthUnparserBase
  146. class StringZeroLengthDetector extends ZeroLengthDetector with StringZeroLengthMixin

    Use when the element is of simple type string, not nillable.

  147. sealed trait StringZeroLengthMixin extends AnyRef
  148. class TargetLengthOperation extends SuspendableOperation

    Carries out computation of the target length for a specified-length element.

    Carries out computation of the target length for a specified-length element.

    This is not a SuspendableExpression because the dfdl:length property cannot be forward referencing. However, it can refer backward to elements that have dfdl:outputValueCalc or variables that have not yet been computed. So we have to retry this in order to get the target length used to compute the amount of padding or the amount of unused space.

  149. trait Unseparated extends AnyRef
  150. sealed trait ZeroLengthDetector extends Serializable

    Rapidly determines if an Infoset Element will have zero length when unparsed.

    Rapidly determines if an Infoset Element will have zero length when unparsed.

    This is required for proper separator suppression in sequence unparsers.

    The specific concrete sub-class is selected based on a compile time analysis of whether the element can have zero length at all, and if so, under what conditions.

Value Members

  1. object SeparatorSuppressionAction extends Serializable
  2. object SeparatorSuppressionMode extends Serializable

Ungrouped