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.StringFLIGHT_NUMBERstatic java.lang.StringGINCstatic java.lang.StringGSINstatic java.lang.StringNUMBER_PLATEstatic java.lang.StringSHIPMENT_REFERENCEstatic java.lang.StringSSCC
-
Constructor Summary
Constructors Constructor Description TransportIdentificationCode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisValid(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:CodeValidationChecks if a specific code is valid.- Specified by:
isValidin classCodeValidation- Parameters:
code- the value you want to check- Returns:
- true if the code is valid
-
-