A processor that checks an XML document against {@link Schema}.
A validator is a thread-unsafe and non-reentrant object. In other words, it is the application's responsibility to make sure that one {@link Validator} object is not used frommore than one thread at any given time, and while the validate method is invoked, applications may not recursively call the validate method.
Note that while the {@link #validate(javax.xml.transform.Source)} and {@link #validate(javax.xml.transform.Source,javax.xml.transform.Result)}methods take a {@link Source} instance, the Source
instance must be a SAXSource
or DOMSource
.
@author Kohsuke Kawaguchi
@version $Revision: 226183 $, $Date: 2005-04-08 06:39:14 -0400 (Fri, 08 Apr 2005) $
@since 1.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|