com.itextpdf.text.zugferd.checkers.extended
Class TransportIdentificationCode

java.lang.Object
  extended by com.itextpdf.text.zugferd.checkers.CodeValidation
      extended by 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
static String FLIGHT_NUMBER
           
static String GINC
           
static String GSIN
           
static String NUMBER_PLATE
           
static String SHIPMENT_REFERENCE
           
static String SSCC
           
 
Constructor Summary
TransportIdentificationCode()
           
 
Method Summary
 boolean isValid(String code)
          Checks if a specific code is valid.
 
Methods inherited from class com.itextpdf.text.zugferd.checkers.CodeValidation
check, isLowercase, isNumeric, isUppercase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHIPMENT_REFERENCE

public static final String SHIPMENT_REFERENCE
See Also:
Constant Field Values

FLIGHT_NUMBER

public static final String FLIGHT_NUMBER
See Also:
Constant Field Values

NUMBER_PLATE

public static final String NUMBER_PLATE
See Also:
Constant Field Values

SSCC

public static final String SSCC
See Also:
Constant Field Values

GINC

public static final String GINC
See Also:
Constant Field Values

GSIN

public static final String GSIN
See Also:
Constant Field Values
Constructor Detail

TransportIdentificationCode

public TransportIdentificationCode()
Method Detail

isValid

public boolean isValid(String code)
Description copied from class: CodeValidation
Checks if a specific code is valid.

Specified by:
isValid in class CodeValidation
Parameters:
code - the value you want to check
Returns:
true if the code is valid


Copyright © 2015. All Rights Reserved.