com.itextpdf.text.zugferd.checkers.basic
Class MeasurementUnitCode
java.lang.Object
com.itextpdf.text.zugferd.checkers.CodeValidation
com.itextpdf.text.zugferd.checkers.basic.MeasurementUnitCode
public class MeasurementUnitCode
- extends CodeValidation
Class that can be used to check if a measurement unit code is valid.
|
Method Summary |
boolean |
isValid(String code)
Checks if a specific code is valid. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ITEM
public static final String ITEM
- See Also:
- Constant Field Values
DAY
public static final String DAY
- See Also:
- Constant Field Values
HA
public static final String HA
- See Also:
- Constant Field Values
HR
public static final String HR
- See Also:
- Constant Field Values
KG
public static final String KG
- See Also:
- Constant Field Values
KM
public static final String KM
- See Also:
- Constant Field Values
KWH
public static final String KWH
- See Also:
- Constant Field Values
SUM
public static final String SUM
- See Also:
- Constant Field Values
L
public static final String L
- See Also:
- Constant Field Values
MIN
public static final String MIN
- See Also:
- Constant Field Values
MM2
public static final String MM2
- See Also:
- Constant Field Values
MM
public static final String MM
- See Also:
- Constant Field Values
M2
public static final String M2
- See Also:
- Constant Field Values
M3
public static final String M3
- See Also:
- Constant Field Values
M
public static final String M
- See Also:
- Constant Field Values
NO
public static final String NO
- See Also:
- Constant Field Values
PR
public static final String PR
- See Also:
- Constant Field Values
PCT
public static final String PCT
- See Also:
- Constant Field Values
SET
public static final String SET
- See Also:
- Constant Field Values
T
public static final String T
- See Also:
- Constant Field Values
WK
public static final String WK
- See Also:
- Constant Field Values
MeasurementUnitCode
public MeasurementUnitCode()
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.