Trait

org.apache.daffodil.infoset

DIElement

Related Doc: package infoset

Permalink

sealed trait DIElement extends DINode with DITerm with InfosetElement with DIElementSharedImplMixin

Base for non-array elements. That is either scalar or optional ( minOccurs 0, maxOccurs 1)

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DIElement
  2. DIElementSharedImplMixin
  3. DIElementSharedMembersMixin
  4. DIElementSharedInterface
  5. InfosetElement
  6. InfosetItem
  7. InfosetCommon
  8. DITerm
  9. DINode
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def children: Stream[DINode]

    Permalink
    Definition Classes
    DINode
  2. abstract def contents: IndexedSeq[DINode]

    Permalink

    Can treat any DINode, even simple ones, as a container of other nodes.

    Can treat any DINode, even simple ones, as a container of other nodes. This simplifies walking an infoset.

    Definition Classes
    DINode
  3. abstract def erd: ElementRuntimeData

    Permalink
    Definition Classes
    DINode
  4. abstract def isComplex: Boolean

    Permalink
  5. abstract def isEmpty: Boolean

    Permalink
    Definition Classes
    InfosetElement
  6. abstract def isNilled: Boolean

    Permalink

    Tells if the element is nilled or not.

    Tells if the element is nilled or not.

    Throws InfosetNoDataException if we don't yet know if it is nil or not (i.e., hasn't be set, nor has anything been set to indicate that it won't be nilled.)

    Definition Classes
    DIElementInfosetElement
  7. abstract def isSimple: Boolean

    Permalink
  8. abstract def totalElementCount: Long

    Permalink

    The totalElementCount is the total count of how many elements this InfosetItem contains.

    The totalElementCount is the total count of how many elements this InfosetItem contains.

    (Used to call this 'size', but size is often a length-like thing, so changed name to be more distinctive)

    Definition Classes
    InfosetItem
  9. abstract def valueStringForDebug: String

    Permalink
  10. abstract def visit(handler: InfosetOutputter, removeHidden: Boolean = true): Unit

    Permalink
    Definition Classes
    InfosetCommon

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. final var _contentLength: ContentLengthState

    Permalink
    Attributes
    protected
    Definition Classes
    DIElementSharedMembersMixin
  5. final var _isNilled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    DIElementSharedMembersMixin
  6. final var _isNilledSet: Boolean

    Permalink
    Attributes
    protected
  7. final var _parent: InfosetComplexElement

    Permalink
    Attributes
    protected
  8. final var _validity: MaybeBoolean

    Permalink
    Attributes
    protected
    Definition Classes
    DIElementSharedMembersMixin
  9. final var _valueLength: ValueLengthState

    Permalink
    Attributes
    protected
    Definition Classes
    DIElementSharedMembersMixin
  10. final def allocContentLength: ContentLengthState

    Permalink
    Attributes
    protected
    Definition Classes
    DIElementDIElementSharedMembersMixin
  11. final def allocValueLength: ValueLengthState

    Permalink
    Attributes
    protected
    Definition Classes
    DIElementDIElementSharedMembersMixin
  12. def array: Maybe[InfosetArray]

    Permalink
    Definition Classes
    DIElementInfosetElement
  13. def asComplex: DIComplex

    Permalink
    Definition Classes
    DINode
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def asSimple: DISimple

    Permalink
    Definition Classes
    DINode
  16. def captureFrom(e: DIElement): Unit

    Permalink
  17. def clear(): Unit

    Permalink
  18. final def clearContentLength(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DIElementSharedMembersMixin
  19. final def clearValueLength(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DIElementSharedMembersMixin
  20. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def contentLength: ContentLengthState

    Permalink
    Definition Classes
    DIElementSharedMembersMixin
  22. final def copyContentLengthFrom(e: DIElementSharedMembersMixin): Unit

    Permalink

    Copy method keeps these objects null to avoid allocation unless they are really needed.

    Copy method keeps these objects null to avoid allocation unless they are really needed.

    Attributes
    protected
    Definition Classes
    DIElementSharedMembersMixin
  23. final def copyValueLengthFrom(e: DIElementSharedMembersMixin): Unit

    Permalink

    Copy method keeps these objects null to avoid allocation unless they are really needed.

    Copy method keeps these objects null to avoid allocation unless they are really needed.

    Attributes
    protected
    Definition Classes
    DIElementSharedMembersMixin
  24. final def dafPrefix: String

    Permalink
    Attributes
    protected
    Definition Classes
    DITerm
  25. def diParent: DIComplex

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. def evalCache(state: ParseOrUnparseState): EvalCache

    Permalink
    Definition Classes
    DITerm
  29. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  31. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def isHidden: Boolean

    Permalink

    Note: there is no infoset data member for isHidden.

    Note: there is no infoset data member for isHidden. A hidden group is a DFDL schema characteristic for a model group. Elements inside it will have (their element base) isHidden statically on the schema. So there is no notion of creating an infoset element then making it hidden by marking it in some way. Rather, the corresponding elementRuntimeData tells you whether it is hidden or not.

    When we convert to XML, then if we want to preserve information about things being hidden (for inspection by looking at the XML) then we need to add an attribute. But for the infoset itself, we don't need it.

    Definition Classes
    DIElementInfosetElement
  33. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  34. def isRoot: Boolean

    Permalink
  35. def isRootDoc: Boolean

    Permalink
  36. final def maybeIsNilled: MaybeBoolean

    Permalink

    Used for just testing whether a node has the nil indicators set.

    Used for just testing whether a node has the nil indicators set. That is, dodges the expression evaluation complexity where specific exceptions are thrown when you ask about data that isn't known yet.

  37. final def name: String

    Permalink
    Definition Classes
    DIElementInfosetElement
  38. final def namedQName: NamedQName

    Permalink
    Definition Classes
    DIElementDINode
  39. final def namespace: NS

    Permalink
    Definition Classes
    DIElementInfosetElement
  40. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  43. final def numChildren: Int

    Permalink
    Definition Classes
    DINode
  44. def parent: InfosetComplexElement

    Permalink
    Definition Classes
    DIElementInfosetElement
  45. final lazy val parserEvalCache: EvalCache

    Permalink
    Definition Classes
    DITerm
  46. def restoreInto(e: DIElement): Unit

    Permalink
  47. final def runtimeData: ElementRuntimeData

    Permalink

    Retrieve the schema component that gave rise to this infoset item.

    Retrieve the schema component that gave rise to this infoset item.

    Definition Classes
    DIElementInfosetElement
  48. def setArray(a: InfosetArray): Unit

    Permalink
    Definition Classes
    DIElementInfosetElement
  49. def setNilled(): Unit

    Permalink
    Definition Classes
    DIElementInfosetElement
  50. def setParent(p: InfosetComplexElement): Unit

    Permalink
    Definition Classes
    DIElementInfosetElement
  51. def setValid(validity: Boolean): Unit

    Permalink
    Definition Classes
    DIElementInfosetElement
  52. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  53. final def termRuntimeData: TermRuntimeData

    Permalink
    Definition Classes
    DITerm
  54. def toParent: DIComplex

    Permalink
  55. def toRootDoc: DIComplex

    Permalink
  56. def toString(): String

    Permalink

    This is purely to make debugging easier.

    This is purely to make debugging easier.

    Definition Classes
    DIElement → AnyRef → Any
  57. final def trd: ElementRuntimeData

    Permalink
    Definition Classes
    DIElementDITerm
  58. final lazy val unparserEvalCache: EvalCache

    Permalink
    Definition Classes
    DITerm
  59. def valid: MaybeBoolean

    Permalink

    valid = Nope means not checked valid = One(true) means valid valid = One(false) means invalid

    valid = Nope means not checked valid = One(true) means valid valid = One(false) means invalid

    Definition Classes
    DIElementInfosetElement
  60. final def valueLength: ValueLengthState

    Permalink
    Definition Classes
    DIElementSharedMembersMixin
  61. final def wait(): Unit

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

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

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

Inherited from DIElementSharedImplMixin

Inherited from DIElementSharedInterface

Inherited from InfosetElement

Inherited from InfosetItem

Inherited from InfosetCommon

Inherited from DITerm

Inherited from DINode

Inherited from AnyRef

Inherited from Any

Ungrouped