Class TransportIdentificationCode
- java.lang.Object
-
- com.itextpdf.text.zugferd.checkers.CodeValidation
-
- com.itextpdf.text.zugferd.checkers.extended.TransportIdentificationCode
-
public class TransportIdentificationCode extends CodeValidation
Series of codes that can be used for transport identification. These codes are used only in the context of the Extended profile.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FLIGHT_NUMBER
static java.lang.String
GINC
static java.lang.String
GSIN
static java.lang.String
NUMBER_PLATE
static java.lang.String
SHIPMENT_REFERENCE
static java.lang.String
SSCC
-
Constructor Summary
Constructors Constructor Description TransportIdentificationCode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid(java.lang.String code)
Checks if a specific code is valid.-
Methods inherited from class com.itextpdf.text.zugferd.checkers.CodeValidation
check, isLowercase, isNumeric, isUppercase
-
-
-
-
Field Detail
-
SHIPMENT_REFERENCE
public static final java.lang.String SHIPMENT_REFERENCE
- See Also:
- Constant Field Values
-
FLIGHT_NUMBER
public static final java.lang.String FLIGHT_NUMBER
- See Also:
- Constant Field Values
-
NUMBER_PLATE
public static final java.lang.String NUMBER_PLATE
- See Also:
- Constant Field Values
-
SSCC
public static final java.lang.String SSCC
- See Also:
- Constant Field Values
-
GINC
public static final java.lang.String GINC
- See Also:
- Constant Field Values
-
GSIN
public static final java.lang.String GSIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
isValid
public boolean isValid(java.lang.String code)
Description copied from class:CodeValidation
Checks if a specific code is valid.- Specified by:
isValid
in classCodeValidation
- Parameters:
code
- the value you want to check- Returns:
- true if the code is valid
-
-