public class SimpleDocumentValidator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
SimpleDocumentValidator.SchemaReadException |
Constructor and Description |
---|
SimpleDocumentValidator() |
SimpleDocumentValidator(boolean initializeLog4j) |
Modifier and Type | Method and Description |
---|---|
void |
checkHtmlFile(java.io.File file,
boolean asUTF8) |
void |
checkHtmlInputSource(org.xml.sax.InputSource is) |
void |
checkHttpURL(java.net.URL url) |
void |
checkXmlFile(java.io.File file) |
void |
checkXmlInputSource(org.xml.sax.InputSource is) |
SourceCode |
getSourceCode() |
void |
setUpMainSchema(java.lang.String schemaUrl,
org.xml.sax.ErrorHandler errorHandler) |
void |
setUpValidatorAndParsers(org.xml.sax.ErrorHandler docValidationErrHandler,
boolean noStream,
boolean loadExternalEnts) |
public SimpleDocumentValidator()
public SimpleDocumentValidator(boolean initializeLog4j)
public SourceCode getSourceCode()
public void setUpMainSchema(java.lang.String schemaUrl, org.xml.sax.ErrorHandler errorHandler) throws org.xml.sax.SAXException, java.lang.Exception, SimpleDocumentValidator.SchemaReadException
org.xml.sax.SAXException
java.lang.Exception
SimpleDocumentValidator.SchemaReadException
public void setUpValidatorAndParsers(org.xml.sax.ErrorHandler docValidationErrHandler, boolean noStream, boolean loadExternalEnts) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void checkHtmlInputSource(org.xml.sax.InputSource is) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public void checkXmlInputSource(org.xml.sax.InputSource is) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public void checkHtmlFile(java.io.File file, boolean asUTF8) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public void checkXmlFile(java.io.File file) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public void checkHttpURL(java.net.URL url) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException