public abstract class Mapping extends Object
| Modifier and Type | Field and Description |
|---|---|
MappingLog |
mLog |
| Constructor and Description |
|---|
Mapping() |
| Modifier and Type | Method and Description |
|---|---|
static GregorianCalendar |
getGregorianCalendar(XMLGregorianCalendar aCal)
Convert the passed
XMLGregorianCalendar to a
GregorianCalendar. |
static LocalDate |
getLocalDate(XMLGregorianCalendar aCal)
Get the passed
XMLGregorianCalendar as LocalDate. |
static LocalDateTime |
getLocalDateTime(XMLGregorianCalendar aCal)
Get the passed
XMLGregorianCalendar as LocalDateTime. |
String |
getMappingLog() |
String |
getMappingLogHTML() |
abstract byte[] |
mapFromebInterface(byte[] ebinterface)
Performs a mapping from ebInterface to a given target format, specified by the implementing
class
|
public final MappingLog mLog
public abstract byte[] mapFromebInterface(byte[] ebinterface)
throws MappingException
MappingExceptionpublic String getMappingLog()
public String getMappingLogHTML()
@Nullable public static GregorianCalendar getGregorianCalendar(@Nullable XMLGregorianCalendar aCal)
XMLGregorianCalendar to a
GregorianCalendar.aCal - Source calendar. May be null.null if the parameter is null.@Nullable public static LocalDate getLocalDate(@Nullable XMLGregorianCalendar aCal)
XMLGregorianCalendar as LocalDate.aCal - The source XMLGregorianCalendar. May be null.null if the parameter is null.@Nullable public static LocalDateTime getLocalDateTime(@Nullable XMLGregorianCalendar aCal)
XMLGregorianCalendar as LocalDateTime.aCal - The source XMLGregorianCalendar. May be null.null if the parameter is null.Copyright © 2014–2019 Philip Helger. All rights reserved.