t

org.dfasdl.utils

DataElementProcessors

trait DataElementProcessors extends AnyRef

Contains several processor functions for data elements. These functions validate the given elements and modify their data according to their attributes e.g. max-digits or max-length.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DataElementProcessors
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  15. def processFormattedNumber(formattedNumber: Element): Element

    Process a given formatted number.

    Process a given formatted number. The value is cleaned regarding the allowed decimal separator. All characters that are not a number or match the allowed decimal separator are removed. An existing minus (-) at the beginning of the content is kept because it is a legal start for a number.

    formattedNumber

    An xml element describing a formatted number.

    returns

    The processed xml element.

  16. def processFormattedNumberData(data: String, element: Element): String

    Process a given formatted number.

    Process a given formatted number. The value is cleaned regarding the allowed decimal separator. All characters that are not a number or match the allowed decimal separator are removed. An existing minus (-) at the beginning of the content is kept because it is a legal start for a number.

    data

    The data string holding the number.

    element

    The element describing the data e.g. holding the attributes.

    returns

    The processed data string.

  17. def processNumber(number: Element): Element

    Process a given number element.

    Process a given number element.

    number

    An xml element describing a number.

    returns

    The processed xml element.

  18. def processNumberData(data: String, element: Element): String

    Process the given number data.

    Process the given number data.

    data

    The data string holding the number.

    element

    The element describing the data.

    returns

    The processed data string.

    Annotations
    @SuppressWarnings() @throws( classOf[RuntimeException] ) @throws( classOf[LengthValidationException] )
  19. def processString(string: Element): Element

    Process a given string element.

    Process a given string element.

    string

    An xml element describing a string.

    returns

    The processed xml element.

  20. def processStringData(data: String, element: Element): String

    Process the given string data.

    Process the given string data.

    data

    The data string.

    element

    The element describing the data.

    returns

    The processed data string.

    Annotations
    @SuppressWarnings() @throws( classOf[LengthValidationException] )
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def trimString(data: String, mode: String): String

    Trims the given string using the specified mode.

    Trims the given string using the specified mode.

    data

    The string to trim.

    mode

    The trim mode which may be left, right or both.

    returns

    The trimmed string.

  24. def trimString(string: Element): Element

    Trim the text content of a string element if the "trim" attribute is set.

    Trim the text content of a string element if the "trim" attribute is set.

    string

    An XML element describing a string.

    returns

    The processed XML element.

  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped