public class XMLValidator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
XMLValidator.MyErrorHandler
Error Handler to store validation messages, and compile them into a string
buffer as a report.
|
Constructor and Description |
---|
XMLValidator(java.net.URI uri)
Constructor for the XMLValidator object
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
The main program for the XMLValidator class
|
java.lang.String |
validateFile(java.io.File f)
NOT YET DOCUMENTED
|
java.lang.String |
validateFile(java.io.File f,
boolean showWarnings)
NOT YET DOCUMENTED
|
java.lang.String |
validateString(java.lang.String s)
NOT YET DOCUMENTED
|
java.lang.String |
validateString(java.lang.String s,
boolean showWarnings)
NOT YET DOCUMENTED
|
public XMLValidator(java.net.URI uri) throws java.lang.Exception
uri
- NOT YET DOCUMENTEDjava.lang.Exception
- NOT YET DOCUMENTEDpublic final java.lang.String validateString(java.lang.String s)
s
- NOT YET DOCUMENTEDpublic final java.lang.String validateString(java.lang.String s, boolean showWarnings)
s
- NOT YET DOCUMENTEDshowWarnings
- NOT YET DOCUMENTEDpublic final java.lang.String validateFile(java.io.File f)
f
- NOT YET DOCUMENTEDpublic final java.lang.String validateFile(java.io.File f, boolean showWarnings)
f
- NOT YET DOCUMENTEDshowWarnings
- NOT YET DOCUMENTEDpublic static void main(java.lang.String[] args)
args
- The command line arguments