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 booleanisHeaderLevel(String code) static booleanisLineLevel(String code) booleanChecks if a specific code is valid.Methods inherited from class 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: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
-
isHeaderLevel
-
isLineLevel
-