Class

org.apache.daffodil.infoset

FakeDINode

Related Doc: package infoset

Permalink

final class FakeDINode extends DISimple

Used to determine if expressions can be evaluated without any nodes. They all save/restore the current node, so this is the placeholder they use for that purpose.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FakeDINode
  2. DISimple
  3. InfosetSimpleElement
  4. DISimpleSharedImplMixin
  5. DISimpleSharedMembersMixin
  6. DIElement
  7. DIElementSharedImplMixin
  8. DIElementSharedMembersMixin
  9. DIElementSharedInterface
  10. InfosetElement
  11. InfosetItem
  12. InfosetCommon
  13. DITerm
  14. DINode
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FakeDINode()

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

    Permalink
    Attributes
    protected
    Definition Classes
    DIElementSharedMembersMixin
  5. var _isDefaulted: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    DISimpleSharedMembersMixin
  6. final var _isNilled: Boolean

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

    Permalink
    Attributes
    protected
    Definition Classes
    DIElement
  8. final var _parent: InfosetComplexElement

    Permalink
    Attributes
    protected
    Definition Classes
    DIElement
  9. var _unionMemberRuntimeData: Maybe[SimpleTypeRuntimeData]

    Permalink
    Attributes
    protected
    Definition Classes
    DISimpleSharedMembersMixin
  10. final var _validity: MaybeBoolean

    Permalink
    Attributes
    protected
    Definition Classes
    DIElementSharedMembersMixin
  11. var _value: AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    DISimpleSharedMembersMixin
  12. final var _valueLength: ValueLengthState

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

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

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

    Permalink
    Definition Classes
    DIElementInfosetElement
  16. def asComplex: DIComplex

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

    Permalink
    Definition Classes
    Any
  18. def asSimple: DISimple

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

    Permalink
  20. def children: Nothing

    Permalink
    Definition Classes
    FakeDINodeDISimpleDINode
  21. def clear(): Unit

    Permalink
  22. final def clearContentLength(): Unit

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

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

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

    Permalink
    Definition Classes
    DIElementSharedMembersMixin
  26. 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
    DISimpleDINode
  27. 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
  28. 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
  29. final def dafPrefix: String

    Permalink
    Attributes
    protected
    Definition Classes
    DITerm
  30. def dataValue: AnyRef

    Permalink

    Obtain the data value.

    Obtain the data value. Implements default values, and outputValueCalc for unparsing.

    Definition Classes
    FakeDINodeDISimpleInfosetSimpleElement
  31. def dataValueAsBigDecimal: BigDecimal

    Permalink
    Definition Classes
    DISimple
  32. def dataValueAsString: String

    Permalink

    Caches the string so we're not allocating strings just to do facet checks

    Caches the string so we're not allocating strings just to do facet checks

    Definition Classes
    FakeDINodeDISimpleInfosetSimpleElement
  33. def diParent: Nothing

    Permalink
    Definition Classes
    FakeDINodeDIElement
  34. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    DISimpleDINode
  37. def evalCache(state: ParseOrUnparseState): EvalCache

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  40. def hasValue: Boolean

    Permalink
    Definition Classes
    DISimple
  41. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  42. final def isComplex: Boolean

    Permalink
    Definition Classes
    DISimpleDIElement
  43. def isDefaulted: Boolean

    Permalink
    Definition Classes
    FakeDINodeDISimpleInfosetSimpleElement
  44. final def isEmpty: Boolean

    Permalink
    Definition Classes
    DISimpleInfosetElement
  45. 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
  46. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  47. 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
    FakeDINodeDISimpleDIElementInfosetElement
  48. def isRoot: Boolean

    Permalink
    Definition Classes
    DIElement
  49. def isRootDoc: Boolean

    Permalink
    Definition Classes
    DIElement
  50. final def isSimple: Boolean

    Permalink
    Definition Classes
    DISimpleDIElement
  51. 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.

    Definition Classes
    DIElement
  52. final def name: String

    Permalink
    Definition Classes
    DIElementInfosetElement
  53. final def namedQName: NamedQName

    Permalink
    Definition Classes
    DIElementDINode
  54. final def namespace: NS

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

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

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

    Permalink
    Definition Classes
    AnyRef
  58. final def numChildren: Int

    Permalink
    Definition Classes
    DINode
  59. def overwriteDataValue(x: AnyRef): Unit

    Permalink
    Definition Classes
    DISimple
  60. def parent: Nothing

    Permalink
    Definition Classes
    FakeDINodeDIElementInfosetElement
  61. final lazy val parserEvalCache: EvalCache

    Permalink
    Definition Classes
    DITerm
  62. def resetValue: Unit

    Permalink
    Definition Classes
    DISimple
  63. def restoreInto(e: DIElement): Unit

    Permalink
  64. 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
  65. def setArray(a: InfosetArray): Unit

    Permalink
    Definition Classes
    DIElementInfosetElement
  66. def setDataValue(s: AnyRef): Unit

    Permalink

    Parsing of a text number first does setDataValue to a string, then a conversion does overwrite data value with a number.

    Parsing of a text number first does setDataValue to a string, then a conversion does overwrite data value with a number. Unparsing does setDataValue to a value, then overwriteDataValue to a string.

    Definition Classes
    FakeDINodeDISimpleInfosetSimpleElement
  67. def setDefaultedDataValue(defaultedValue: AnyRef): Unit

    Permalink
    Definition Classes
    DISimple
  68. def setNilled(): Unit

    Permalink
    Definition Classes
    FakeDINodeDIElementInfosetElement
  69. def setParent(p: InfosetComplexElement): Unit

    Permalink
    Definition Classes
    FakeDINodeDIElementInfosetElement
  70. def setUnionMemberRuntimeData(umrd: SimpleTypeRuntimeData): Unit

    Permalink
    Definition Classes
    DISimple
  71. def setValid(validity: Boolean): Unit

    Permalink
    Definition Classes
    FakeDINodeDIElementInfosetElement
  72. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  73. final def termRuntimeData: TermRuntimeData

    Permalink
    Definition Classes
    DITerm
  74. def toParent: DIComplex

    Permalink
    Definition Classes
    DIElement
  75. def toRootDoc: DIComplex

    Permalink
    Definition Classes
    DIElement
  76. def toString(): String

    Permalink

    This is purely to make debugging easier.

    This is purely to make debugging easier.

    Definition Classes
    DIElement → AnyRef → Any
  77. 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
    DISimpleInfosetItemDINode
  78. final def trd: ElementRuntimeData

    Permalink
    Definition Classes
    DIElementDITerm
  79. def unionMemberRuntimeData: Maybe[SimpleTypeRuntimeData]

    Permalink
    Definition Classes
    DISimple
  80. final lazy val unparserEvalCache: EvalCache

    Permalink
    Definition Classes
    DITerm
  81. def valid: Nothing

    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
    FakeDINodeDIElementInfosetElement
  82. final def valueLength: ValueLengthState

    Permalink
    Definition Classes
    DIElementSharedMembersMixin
  83. def valueStringForDebug: String

    Permalink

    This has to produce a useful string regardless of the state of the node.

    This has to produce a useful string regardless of the state of the node.

    Definition Classes
    DISimpleDIElement
  84. final def visit(handler: InfosetOutputter, removeHidden: Boolean = true): Unit

    Permalink
    Definition Classes
    DISimpleInfosetCommonDINode
  85. final def wait(): Unit

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

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

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

Inherited from DISimple

Inherited from InfosetSimpleElement

Inherited from DISimpleSharedImplMixin

Inherited from DIElement

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