org.netbeans.modules.xml.xam.spi
Class Validation
java.lang.Object
org.netbeans.modules.xml.xam.spi.Validation
public class Validation
- extends Object
Validation clients use this interface to start validation on a model.
Validator implementation can use this to optimize computing validation results
by finding which models are already validated.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Validation
public Validation()
validate
public void validate(Model model,
Validation.ValidationType type)
- Validates the model.
Note: Clients should call this method on a Validation instance only
once. The same Validation instance should not be reused.
- Parameters:
model - Contains the model for which validation has to be provided.type - Type of validation: complete or partial.
getValidationResult
public List<Validator.ResultItem> getValidationResult()
getValidatedModels
public List<Model> getValidatedModels()
stop
public static void stop()