| 
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.saxonica.Validate
public class Validate
This Validate class provides a command line interface that causes a source document to be parsed and validated against a schema. Apart from error messages, no output is produced.
| Constructor Summary | |
|---|---|
Validate()
 | 
|
| Method Summary | |
|---|---|
static Source | 
loadDocument(String sourceFileName,
             boolean useURLs,
             Configuration config)
Load a document, given a filename or URL  | 
static void | 
main(String[] args)
Main program, can be used directly from the command line.  | 
 void | 
processFile(Source source)
Process a single file using a supplied schema  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Validate()
| Method Detail | 
|---|
public static void main(String[] args)
                 throws Exception
args - List of arguments supplied on operating system command line
Exception - Indicates that a compile-time or
     run-time error occurred
public static Source loadDocument(String sourceFileName,
                                  boolean useURLs,
                                  Configuration config)
                           throws TransformerException
TransformerException
public void processFile(Source source)
                 throws TransformerException
source - The source XML document to be transformed
TransformerException - If the transformation fails
  | 
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||