public class XMLValidationTool extends Object
History:
     Date:     04 NOV 08
     Time:     1646Z
     Author:   Terry Norbraten, NPS MOVES
     Comments: 1) Initial
   
 | Modifier and Type | Field and Description | 
|---|---|
| static String | LOCAL_AVCL_SCHEMAThe locally resolved location for AVCL.2.1.xsd | 
| static String | ONLINE_AVCL_SCHEMAPermanent www location for AVCL Schema | 
| Modifier and Type | Method and Description | 
|---|---|
| static XMLValidationTool | getInstance()Creates a singleton instance of XMLValidationTool | 
| static XMLValidationTool | getInstance(File xmlFile,
           File schema)Creates a singleton instance of XMLValidationTool | 
| File | getSchema() | 
| File | getXmlFile() | 
| boolean | isValidXML()Will report any XML well-formedness or validation errors encountered | 
| void | setSchema(File schema) | 
| void | setXmlFile(File file)Mutator method to change the AVCL (or X3D etc.) file to validate | 
public static final String ONLINE_AVCL_SCHEMA
public static final String LOCAL_AVCL_SCHEMA
public static XMLValidationTool getInstance(File xmlFile, File schema)
xmlFile - the scene file to validateschema - the schema to validate the xmlFile againstpublic static XMLValidationTool getInstance()
public boolean isValidXML()
public File getXmlFile()
public final void setXmlFile(File file)
file - the file to set for this validator to validatepublic File getSchema()
public final void setSchema(File schema)