Class

org.apache.daffodil.dsom

ConstantExpression

Related Doc: package dsom

Permalink

final case class ConstantExpression[+T <: AnyRef](qn: NamedQName, kind: Kind, value: T) extends CompiledExpression[T] with Product with Serializable

Linear Supertypes
Product, Equals, CompiledExpression[T], Serializable, Serializable, ContentValueReferencedElementInfoMixin, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConstantExpression
  2. Product
  3. Equals
  4. CompiledExpression
  5. Serializable
  6. Serializable
  7. ContentValueReferencedElementInfoMixin
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConstantExpression(qn: NamedQName, kind: Kind, value: T)

    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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def constant: T

    Permalink

    used to obtain a constant value.

    used to obtain a constant value.

    isConstant must be true or this will throw.

    Definition Classes
    ConstantExpressionCompiledExpression
  7. def contentReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def evaluate(dstate: DState, state: ParseOrUnparseState): T

    Permalink
  10. def evaluate(state: ParseOrUnparseState): T

    Permalink
    Definition Classes
    ConstantExpressionCompiledExpression
  11. final def evaluateForwardReferencing(state: ParseOrUnparseState, whereBlockedLocation: Suspension): Maybe[T]

    Permalink

    Use for outputValueCalc.

    Use for outputValueCalc.

    The whereBlockedLocation is modified via its block(...) method to indicate where the expression blocked (for forward progress checking).

    Definition Classes
    ConstantExpressionCompiledExpression
  12. def expressionEvaluationBlockLocation: MaybeULong

    Permalink
  13. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def isConstant: Boolean

    Permalink
    Definition Classes
    ConstantExpressionCompiledExpression
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isKnownNonEmpty: Boolean

    Permalink

    tells us if the property is non-empty.

    tells us if the property is non-empty. This is true if it is a constant non-empty expression (that is, is not ""), but it is also true if it is evaluated as a runtime expression that it is not allowed to return "".

    Issue: are there properties which are string-valued, and where "" can in fact be returned at run time? Assumed no. This was clarified in an errata to the DFDL spec.

    Definition Classes
    ConstantExpressionCompiledExpression
  18. val kind: Kind

    Permalink
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  22. lazy val prettyExpr: String

    Permalink

    Note use of the stringOf(v) below.

    Note use of the stringOf(v) below. Turns out x.toString creates some crappy printed representations, particularly for Array[Byte]. It prints a useless thing like "[@0909280". Use of stringOf prints "Array(....)".

    Definition Classes
    CompiledExpression
  23. val qName: NamedQName

    Permalink
    Definition Classes
    CompiledExpression
  24. val qn: NamedQName

    Permalink
  25. lazy val sourceType: Kind

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

    Permalink
    Definition Classes
    AnyRef
  27. def targetType: Kind

    Permalink

    The target type of the expression.

    The target type of the expression. This is the type that we want the expression to create.

    Definition Classes
    ConstantExpressionCompiledExpression
  28. final def toBriefXML(depth: Int = 1): String

    Permalink
    Definition Classes
    CompiledExpression
  29. def toString(): String

    Permalink
    Definition Classes
    CompiledExpression → AnyRef → Any
  30. val value: T

    Permalink
  31. def valueReferencedElementInfos: Set[DPathElementCompileInfo]

    Permalink
  32. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from CompiledExpression[T]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped