This is a simple implementation of a NodeFilter that can be used to traverse only
data elements in a dfasdl xml tree.
This is a simple implementation of a NodeFilter that can be used to traverse only
data elements in a dfasdl xml tree.
Extract the binary data represented by the given string.
Extract the binary data represented by the given string.
A string holding a representation of the binary data.
The element that describes the data.
Either an error or the extracted binary data.
Use the given data element description to convert the given data string into a useful data type.
Use the given data element description to convert the given data string into a useful data type.
The actual data.
The element that describes the data.
Either an error or the extracted data type.
Extract a java.time.LocalDate from the given data string using
the default ISO format.
Extract a java.time.LocalDate from the given data string using
the default ISO format.
A string containing a parseable date.
Either an error or a date.
Extract a java.time.LocalDate from the given data string using
the provided format.
Extract a java.time.LocalDate from the given data string using
the provided format.
The format of the date string.
A string containing a parseable date.
Either an error or a date.
Extract a java.time.OffsetDateTime from the given data string using
the default ISO format.
Extract a java.time.OffsetDateTime from the given data string using
the default ISO format.
A string containing a parseable datetime.
Either an error or a datetime with an offset.
Extract a java.time.OffsetDateTime from the given data string using
the provided format.
Extract a java.time.OffsetDateTime from the given data string using
the provided format.
If the offset datetime could not be parsed directly the java.time.LocalDateTime
parser is tried and upon success converted into an offset datetime using the
UTC timezone.
The format of the datetime string.
A string containing a parseable datetime.
Either an error or a datetime with an offset.
Extract a decimal number from the given string data.
Extract a decimal number from the given string data. The string should contain a valid integer number which will be parsed according to the precision attribute of the dfasdl element.
The string holding the data.
The element that describes the data.
Either an error or a decimal number.
Extract a java.math.BigDecimal from the given data string.
Extract a java.math.BigDecimal from the given data string.
A string containing a parseable decimal number.
Either an error or a decimal number.
Extract a java.math.BigDecimal from the given data string using
the provided decimal separator.
Extract a java.math.BigDecimal from the given data string using
the provided decimal separator.
The character sequence that is used as a decimal separator.
A string containing a parseable decimal number.
Either an error or a decimal number.
Extract a java.math.BigDecimal from the given data string using
the provided thousands delimiter and decimal separator.
Extract a java.math.BigDecimal from the given data string using
the provided thousands delimiter and decimal separator.
The character sequence that is used as a thousands delimiter.
The character sequence that is used as a decimal separator.
A string containing a parseable decimal number.
Either an error or a decimal number.
Parse the given input string using the format provided by the element and try to return a matching temporal type.
Parse the given input string using the format provided by the element and try to return a matching temporal type. The following priority regarding possibly matching temporals is used:
java.time.OffsetDateTimejava.time.LocalDatejava.time.LocalTimeA string containing a parseable input.
The element that describes the data.
Either an error or a matching temporal type in respect to the described ordering.
Parse the given input string using the provided format and try to return a matching temporal type.
Parse the given input string using the provided format and try to return a matching temporal type. The following priority regarding possibly matching temporals is used:
java.time.OffsetDateTimejava.time.LocalDatejava.time.LocalTimeThe format of the input string.
A string containing a parseable input.
Either an error or a matching temporal type in respect to the described ordering.
Extract an integer number from the given string data.
Extract an integer number from the given string data.
The string holding the data.
The element that describes the data.
Either an error or an integer number.
Extract the data from a string element.
Extract the data from a string element.
The string holding the data.
The element that describes the data.
Either an error or the extracted data.
Extract a java.time.LocalTime from the given data string using
the default ISO format.
Extract a java.time.LocalTime from the given data string using
the default ISO format.
A string containing a parseable time.
Either an error or a date.
Extract a java.time.LocalTime from the given data string using
the provided format.
Extract a java.time.LocalTime from the given data string using
the provided format.
The format of the time string.
A string containing a parseable time.
Either an error or a date.
Analyze the given DataElement and return the type.
Analyze the given DataElement and return the type.
If the type is not known an UnknownElement type is returned.
The tag name of the element.
The data element type or UnknownElement
Analyze the given tag name and return the DFASDL element type.
Analyze the given tag name and return the DFASDL element type.
If the type is not known an UnknownElement type is returned.
The tag name of the element.
The element type or UnknownElement.
Walk up the tree until we find the parent choice of the given node.
Walk up the tree until we find the parent choice of the given node.
The start node.
An option to the parent choice element if it exists.
Walk up the tree until we find the parent sequence of the given node.
Walk up the tree until we find the parent sequence of the given node.
The start node.
An option to the parent sequence element if it exists.
Analyze the given structural element name and return it's type.
Analyze the given structural element name and return it's type.
If the type is not known an Unknownelement type is returned.
The tag name of the element.
The structural element type or UnknownElement.
Contains helper functions to extract the actual data from a data element and return it as a correct data type.