|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.tools.label.validate.DataObjectValidatorFactory
public class DataObjectValidatorFactory
This class will dynamically load data object validators from property settings. The property mapping should take the form object.validator.{TYPE}
Method Summary | |
---|---|
static DataObjectValidatorFactory |
getInstance()
This will provide access to a DataObjectValidatorFactory |
DataObjectValidator |
newInstance(java.lang.String type)
Retrieves a validator for the given type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DataObjectValidatorFactory getInstance()
DataObjectValidatorFactory
public DataObjectValidator newInstance(java.lang.String type) throws UnsupportedDataObjectException
type
- The type of data object to be validated
UnsupportedTypeException
- if there is no mapping to a validator for the type
UnsupportedDataObjectException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |