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.
- Alphabetic
- By Inheritance
- DataElementProcessors
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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.
-
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.
-
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.
-
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] )
-
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.
-
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] )
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
orboth
.- returns
The trimmed string.
-
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.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )