class JDOMInfosetInputter extends InfosetInputterProxy
InfosetInputter to read an infoset represented as an org.jdom2.Document
- Alphabetic
- By Inheritance
- JDOMInfosetInputter
- InfosetInputterProxy
- InfosetInputter
- InfosetInputter
- NextElementResolver
- CursorImplMixin
- Cursor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
JDOMInfosetInputter(document: Document)
- document
the org.jdom2.Document infoset
Type Members
-
type
ERD = ElementRuntimeData
- Definition Classes
- InfosetInputter
Value Members
-
final
def
advance: Boolean
- Definition Classes
- CursorImplMixin → Cursor
-
final
lazy val
advanceAccessor: InfosetAccessor
- Definition Classes
- InfosetInputter → Cursor
-
final
def
advanceMaybe: Maybe[InfosetAccessor]
- Definition Classes
- Cursor
-
def
documentElement: DIDocument
- Definition Classes
- InfosetInputter
-
def
fini(): Unit
- Definition Classes
- InfosetInputterProxy → Cursor
-
def
getEventType(): InfosetInputterEventType
Return the current infoset inputter event type
Return the current infoset inputter event type
- Definition Classes
- InfosetInputterProxy → InfosetInputter → InfosetInputter
-
def
getLocalName(): String
Get the local name of the current event.
Get the local name of the current event. This will only be called when the current event type is StartElement.
- Definition Classes
- InfosetInputterProxy → InfosetInputter → InfosetInputter
-
def
getNamespaceURI(): String
Get the namespace of the current event.
Get the namespace of the current event. This will only be called when the current event type is StartElement. If the InfosetInputter does not support namespaces, this shoud return null. This may return null to represent no namespaces.
- Definition Classes
- InfosetInputterProxy → InfosetInputter → InfosetInputter
-
def
getSimpleText(primType: Kind): Nothing
See getSimpleText(primType, runtimeProperties), which has a default implementation to call this function without the runtimeProperties Map
See getSimpleText(primType, runtimeProperties), which has a default implementation to call this function without the runtimeProperties Map
- Definition Classes
- InfosetInputterProxy → InfosetInputter
-
def
getSimpleText(primType: Kind, runtimeProperties: Map[String, String]): String
Get the content of a simple type.
Get the content of a simple type. This will only be called when the current event type is StartElement and the element is a simple type. If the event contains complex data, it is an error and should throw NonTextFoundInSimpleContentException. If the element does not have any simple content, this should return either null or the empty string.
- Definition Classes
- InfosetInputterProxy → InfosetInputter → InfosetInputter
-
def
hasNext(): Boolean
Return true if there are remaining events.
Return true if there are remaining events. False otherwise.
- Definition Classes
- InfosetInputterProxy → InfosetInputter → InfosetInputter
-
val
infosetInputter: runtime1.infoset.JDOMInfosetInputter
The InfosetInputter to proxy infoset events to
The InfosetInputter to proxy infoset events to
- Definition Classes
- JDOMInfosetInputter → InfosetInputterProxy
-
def
initialize(rootElementInfo: ElementRuntimeData, tunableArg: DaffodilTunables): Unit
- Definition Classes
- InfosetInputter
-
final
def
inspect: Boolean
- Definition Classes
- CursorImplMixin → Cursor
-
final
lazy val
inspectAccessor: InfosetAccessor
- Definition Classes
- InfosetInputter → Cursor
-
final
def
inspectMaybe: Maybe[InfosetAccessor]
- Definition Classes
- Cursor
-
def
isInitialized: Boolean
- Definition Classes
- InfosetInputter
-
def
isNilled(): MaybeBoolean
Determine if the current event is nilled.
Determine if the current event is nilled. This will only be called when the current event type is StartElement. Return MaybeBoolean.Nope if no nil property is set, which implies the element is not nilled. Return MaybeBoolean(false) if the nil property is set, but it is set to false. Return MaybeBoolean(true) if the nil property is set to true.
- Definition Classes
- InfosetInputterProxy → InfosetInputter → InfosetInputter
-
final
def
maybeTopTRD(): Maybe[TermRuntimeData]
- Definition Classes
- NextElementResolver
-
def
next(): Unit
Move the internal state to the next event.
Move the internal state to the next event.
- Definition Classes
- InfosetInputterProxy → InfosetInputter → InfosetInputter
-
final
def
nextElement(name: String, nameSpace: String, hasNamespace: Boolean): ElementRuntimeData
- Definition Classes
- NextElementResolver
-
final
def
popTRD(): TermRuntimeData
- Definition Classes
- NextElementResolver
-
final
def
pushTRD(trd: TermRuntimeData): Unit
- Definition Classes
- NextElementResolver
-
lazy val
supportsNamespaces: Boolean
- Definition Classes
- InfosetInputterProxy → InfosetInputter
-
def
toString(): String
- Definition Classes
- InfosetInputter → AnyRef → Any
-
var
tunable: DaffodilTunables
- Definition Classes
- InfosetInputter
This is the documentation for the Apache Daffodil Scala API.
Package structure
org.apache.daffodil.sapi - Provides the classes necessary to compile DFDL schemas, parse and unparse files using the compiled objects, and retrieve results and parsing diagnostics
org.apache.daffodil.udf - Provides the classes necessary to create User Defined Functions to extend the DFDL expression language
org.apache.daffodil.runtime1.layers.api - Provides the classes necessary to create custom Layer extensions to DFDL.