|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.xml.schema.XMLValidator
public class XMLValidator
Validate XML against a schema using a cached validator.
Nested Class Summary | |
---|---|
class |
XMLValidator.MyErrorHandler
Error Handler to store validation messages, and compile them into a string buffer as a report. |
Constructor Summary | |
---|---|
XMLValidator(URI uri)
Constructor for the XMLValidator object |
Method Summary | |
---|---|
static void |
main(String[] args)
The main program for the XMLValidator class |
String |
validateFile(File f)
NOT YET DOCUMENTED |
String |
validateFile(File f,
boolean showWarnings)
NOT YET DOCUMENTED |
String |
validateString(String s)
NOT YET DOCUMENTED |
String |
validateString(String s,
boolean showWarnings)
NOT YET DOCUMENTED |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLValidator(URI uri) throws Exception
uri
- NOT YET DOCUMENTED
Exception
- NOT YET DOCUMENTEDMethod Detail |
---|
public final String validateString(String s)
s
- NOT YET DOCUMENTED
public final String validateString(String s, boolean showWarnings)
s
- NOT YET DOCUMENTEDshowWarnings
- NOT YET DOCUMENTED
public final String validateFile(File f)
f
- NOT YET DOCUMENTED
public final String validateFile(File f, boolean showWarnings)
f
- NOT YET DOCUMENTEDshowWarnings
- NOT YET DOCUMENTED
public static void main(String[] args)
args
- The command line arguments
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |