gov.nasa.pds.tools.label.validate
Class Validator
java.lang.Object
gov.nasa.pds.tools.label.validate.Validator
public class Validator
- extends Object
- Version:
- $Revision: 8249 $
- Author:
- pramirez, jagander
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LINE_LEN_CHECK
public static final String LINE_LEN_CHECK
- See Also:
- Constant Field Values
DUP_ID_CHECK
public static final String DUP_ID_CHECK
- See Also:
- Constant Field Values
CAT_NAME_CHECK
public static final String CAT_NAME_CHECK
- See Also:
- Constant Field Values
FILE_CHAR_CHECK
public static final String FILE_CHAR_CHECK
- See Also:
- Constant Field Values
DICTIONARY_CHECK
public static final String DICTIONARY_CHECK
- See Also:
- Constant Field Values
Validator
public Validator()
initDefaultDictionary
protected static void initDefaultDictionary()
validate
public void validate(Label label)
validate
public void validate(Label label,
Dictionary dictionary)
getProperty
public boolean getProperty(String property)
setProperty
public void setProperty(String property,
Boolean flag)
setProperties
public void setProperties(Map<String,Boolean> properties)
setLineLengthCheck
public void setLineLengthCheck(Boolean flag)
performsLineLengthCheck
public boolean performsLineLengthCheck()
setDictionaryCheck
public void setDictionaryCheck(Boolean flag)
performsDictionaryCheck
public boolean performsDictionaryCheck()
setCatalogNameCheck
public void setCatalogNameCheck(Boolean flag)
performsCatalogNameCheck
public boolean performsCatalogNameCheck()
setDuplicateIdCheck
public void setDuplicateIdCheck(Boolean flag)
performsDuplicateIdCheck
public boolean performsDuplicateIdCheck()
setFileCharacteristicCheck
public void setFileCharacteristicCheck(Boolean flag)
performsCharacteristicCheck
public boolean performsCharacteristicCheck()
addValidator
public void addValidator(LabelValidator validator)
Copyright © 2005–2013 Planetary Data System. All rights reserved.