Module java.xml

Class Validator

java.lang.Object
javax.xml.validation.Validator

public abstract class Validator extends Object
A processor that checks an XML document against Schema.

A validator object is not thread-safe and not reentrant. In other words, it is the application's responsibility to make sure that one Validator object is not used from more than one thread at any given time, and while the validate method is invoked, applications may not recursively call the validate method.

Since:
1.5