public class XFTValidator extends Object
Constructor and Description |
---|
XFTValidator() |
Modifier and Type | Method and Description |
---|---|
static ArrayList |
GetPossibleValues(String element,
String field)
Gets the possible values for the specified field (sql_name) in the specified element.
|
static ValidationResults |
Validate(ItemI item)
Validates the content of this item and its sub-items using the specifications in
the XFTSchema.
|
static ValidationResults |
ValidateValue(Object value,
ArrayList ruleArrayList,
String prefix,
GenericWrapperField vField,
ValidationResults vr,
String xmlPath,
GenericWrapperElement element) |
public static ValidationResults Validate(ItemI item) throws XFTInitException, ElementNotFoundException, FieldNotFoundException
item
- XFTInitException
ElementNotFoundException
FieldNotFoundException
public static ValidationResults ValidateValue(Object value, ArrayList ruleArrayList, String prefix, GenericWrapperField vField, ValidationResults vr, String xmlPath, GenericWrapperElement element)
public static ArrayList GetPossibleValues(String element, String field) throws XFTInitException, ElementNotFoundException, FieldNotFoundException
element
- field
- (sql_name)XFTInitException
ElementNotFoundException
FieldNotFoundException
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.