fi.iki.hsivonen.verifierservlet
Class Html5ConformanceCheckerTransaction
java.lang.Object
fi.iki.hsivonen.verifierservlet.VerifierServletTransaction
fi.iki.hsivonen.verifierservlet.Html5ConformanceCheckerTransaction
- All Implemented Interfaces:
- DoctypeHandler
public class Html5ConformanceCheckerTransaction
- extends VerifierServletTransaction
Fields inherited from class fi.iki.hsivonen.verifierservlet.VerifierServletTransaction |
contentHandler, document, documentInput, emitter, entityResolver, errorHandler, htmlParser, httpRes, reader, validator, XHTML5_SCHEMA |
Methods inherited from class fi.iki.hsivonen.verifierservlet.VerifierServletTransaction |
doGet, emitDocDuration, emitDocField, emitForm, emitLaxTypeField, emitParserOptions, emitPresetOptions, emitSchemaDuration, emitSchemaField, emitTotalDuration, rootNamespace, scrub, setupXmlParser, validate, validatorByDoctype, willValidate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_TITLE
private static final char[] SERVICE_TITLE
TECHNOLOGY_PREVIEW
private static final char[] TECHNOLOGY_PREVIEW
RESULTS_TITLE
private static final char[] RESULTS_TITLE
SUCCESS_HTML
private static final char[] SUCCESS_HTML
SUCCESS_XHTML
private static final char[] SUCCESS_XHTML
FAILURE_HTML
private static final char[] FAILURE_HTML
FAILURE_XHTML
private static final char[] FAILURE_XHTML
usingHtml
private boolean usingHtml
Html5ConformanceCheckerTransaction
public Html5ConformanceCheckerTransaction(HttpServletRequest request,
HttpServletResponse response)
emitSuccess
protected void emitSuccess()
throws SAXException
- Overrides:
emitSuccess
in class VerifierServletTransaction
- Throws:
SAXException
- See Also:
VerifierServletTransaction.emitSuccess()
loadDocAndSetupParser
protected void loadDocAndSetupParser()
throws SAXException,
IOException,
IncorrectSchemaException,
SAXNotRecognizedException,
SAXNotSupportedException
- Overrides:
loadDocAndSetupParser
in class VerifierServletTransaction
- Throws:
SAXException
SAXNotRecognizedException
SAXNotSupportedException
IOException
IncorrectSchemaException
- See Also:
VerifierServletTransaction.loadDocAndSetupParser()
setup
protected void setup()
throws ServletException
- Overrides:
setup
in class VerifierServletTransaction
- Throws:
ServletException
- See Also:
fi.iki.hsivonen.verifierservlet.VerifierServletTransaction#setupAndStartEmission()
emitTitle
void emitTitle(boolean markupAllowed)
throws SAXException
- Overrides:
emitTitle
in class VerifierServletTransaction
- Throws:
SAXException
- See Also:
fi.iki.hsivonen.verifierservlet.VerifierServletTransaction#emitTitle()
tryToSetupValidator
protected void tryToSetupValidator()
throws SAXException,
IOException,
IncorrectSchemaException
- Overrides:
tryToSetupValidator
in class VerifierServletTransaction
- Throws:
SAXException
IOException
IncorrectSchemaException
- See Also:
VerifierServletTransaction.tryToSetupValidator()
emitFailure
protected void emitFailure()
throws SAXException
- Overrides:
emitFailure
in class VerifierServletTransaction
- Throws:
SAXException
- See Also:
VerifierServletTransaction.emitFailure()
emitFormContent
protected void emitFormContent()
throws SAXException
- Overrides:
emitFormContent
in class VerifierServletTransaction
- Throws:
SAXException
- See Also:
VerifierServletTransaction.emitFormContent()
doctype
public void doctype(int doctype)
throws SAXException
- Specified by:
doctype
in interface DoctypeHandler
- Overrides:
doctype
in class VerifierServletTransaction
- Throws:
SAXException
- See Also:
VerifierServletTransaction.doctype(int)