Class FreeTextSubjectCode
java.lang.Object
com.itextpdf.text.zugferd.checkers.CodeValidation
com.itextpdf.text.zugferd.checkers.comfort.FreeTextSubjectCode
Class that can be used to check if a free text subject code is valid.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isHeaderLevel
(String code) static boolean
isLineLevel
(String code) boolean
Checks if a specific code is valid.Methods inherited from class com.itextpdf.text.zugferd.checkers.CodeValidation
check, isLowercase, isNumeric, isUppercase
-
Field Details
-
REGULATORY_INFORMATION
- See Also:
-
PRICE_CONDITIONS
- See Also:
-
ADDITIONAL_SALES_CONDITIONS
- See Also:
-
PAYMENT_INFORMATION
- See Also:
-
PRICE_CALCULATION_FORMULA
- See Also:
-
PRODUCT_INFORMATION
- See Also:
-
CERTIFICATION_STATEMENTS
- See Also:
-
HEADER
public static final int HEADER- See Also:
-
LINE
public static final int LINE- See Also:
-
level
protected int level
-
-
Constructor Details
-
FreeTextSubjectCode
public FreeTextSubjectCode(int level)
-
-
Method Details
-
isValid
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
-
isHeaderLevel
-
isLineLevel
-