Package org.goplanit.io.xml.util
Class xmlEnumConversionUtil
- java.lang.Object
-
- org.goplanit.io.xml.util.xmlEnumConversionUtil
-
public class xmlEnumConversionUtil extends Object
Some methods to convert the XML schema enums to PLANit memory model enums- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description xmlEnumConversionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.goplanit.xml.generated.MotorisationTypeplanitToXml(MotorisationModeType planitMotorisationType)convert motorisation type from PLANit to XMLstatic org.goplanit.xml.generated.TrackTypeplanitToXml(TrackModeType xmlTrackType)convert track type from PLANit to XMLstatic org.goplanit.xml.generated.UsedToTypeplanitToXml(UseOfModeType useOfType)convert used-to type from PLANit to XMLstatic org.goplanit.xml.generated.VehicularTypeplanitToXml(VehicularModeType planitVehicularType)convert motorisation type from PLANit to XMLstatic org.goplanit.xml.generated.TimeUnitplanitToXml(Unit planitTimeUnit)Convert time unit from PLANit to XML TimeUnitstatic MotorisationModeTypexmlToPlanit(org.goplanit.xml.generated.MotorisationType xmlMotorisationType)convert motorisation type from xml to PLANitstatic TimeUnitxmlToPlanit(org.goplanit.xml.generated.TimeUnit xmlTimeUnitType)Convert TimeUnit type from XML to PLANit Unitstatic TrackModeTypexmlToPlanit(org.goplanit.xml.generated.TrackType xmlTrackType)convert track type from XML to PLANitstatic UseOfModeTypexmlToPlanit(org.goplanit.xml.generated.UsedToType xmlUseOfType)convert used-to type from XML to PLANitstatic VehicularModeTypexmlToPlanit(org.goplanit.xml.generated.VehicularType xmlVehicularType)convert vehicle type from xml to PLANit
-
-
-
Method Detail
-
xmlToPlanit
public static MotorisationModeType xmlToPlanit(org.goplanit.xml.generated.MotorisationType xmlMotorisationType)
convert motorisation type from xml to PLANit- Parameters:
xmlMotorisationType- to convert- Returns:
- result
-
planitToXml
public static org.goplanit.xml.generated.MotorisationType planitToXml(MotorisationModeType planitMotorisationType)
convert motorisation type from PLANit to XML- Parameters:
planitMotorisationType- to convert- Returns:
- result
-
xmlToPlanit
public static VehicularModeType xmlToPlanit(org.goplanit.xml.generated.VehicularType xmlVehicularType)
convert vehicle type from xml to PLANit- Parameters:
xmlVehicularType- to convert- Returns:
- result
-
planitToXml
public static org.goplanit.xml.generated.VehicularType planitToXml(VehicularModeType planitVehicularType)
convert motorisation type from PLANit to XML- Parameters:
planitVehicularType- to convert- Returns:
- result
-
xmlToPlanit
public static TrackModeType xmlToPlanit(org.goplanit.xml.generated.TrackType xmlTrackType)
convert track type from XML to PLANit- Parameters:
xmlTrackType- to convert- Returns:
- result
-
planitToXml
public static org.goplanit.xml.generated.TrackType planitToXml(TrackModeType xmlTrackType)
convert track type from PLANit to XML- Parameters:
xmlTrackType- to convert- Returns:
- result
-
xmlToPlanit
public static UseOfModeType xmlToPlanit(org.goplanit.xml.generated.UsedToType xmlUseOfType)
convert used-to type from XML to PLANit- Parameters:
xmlUseOfType- to convert- Returns:
- result
-
planitToXml
public static org.goplanit.xml.generated.UsedToType planitToXml(UseOfModeType useOfType)
convert used-to type from PLANit to XML- Parameters:
useOfType- to convert- Returns:
- result
-
xmlToPlanit
public static TimeUnit xmlToPlanit(org.goplanit.xml.generated.TimeUnit xmlTimeUnitType)
Convert TimeUnit type from XML to PLANit Unit- Parameters:
xmlTimeUnitType- to convert- Returns:
- result
-
planitToXml
public static org.goplanit.xml.generated.TimeUnit planitToXml(Unit planitTimeUnit)
Convert time unit from PLANit to XML TimeUnit- Parameters:
planitTimeUnit- to convert- Returns:
- result
-
-