nu.validator.servlet
Class Html5ConformanceCheckerTransaction
java.lang.Object
nu.validator.servlet.VerifierServletTransaction
nu.validator.servlet.Html5ConformanceCheckerTransaction
- All Implemented Interfaces:
- DocumentModeHandler
public class Html5ConformanceCheckerTransaction
- extends VerifierServletTransaction
Fields inherited from class nu.validator.servlet.VerifierServletTransaction |
contentHandler, contentTypeParser, document, documentInput, emitter, entityResolver, errorHandler, HTML5_SCHEMA, htmlParser, httpRes, reader, validator, XHTML1STRICT_SCHEMA, XHTML1TRANSITIONAL_SCHEMA, XHTML5_SCHEMA, xmlParser |
Methods inherited from class nu.validator.servlet.VerifierServletTransaction |
documentMode, emitDocDuration, emitDocField, emitForm, emitLaxTypeField, emitParserOptions, emitPresetOptions, emitSchemaDuration, emitSchemaField, emitShowSourceField, emitTotalDuration, loadDocumentInput, newHtmlParser, rootNamespace, scrub, service, setAcceptAllKnownXmlTypes, setAllowGenericXml, setAllowHtml, setAllowRnc, setAllowXhtml, 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
FOR
private static final char[] FOR
SUCCESS_HTML
private static final String SUCCESS_HTML
- See Also:
- Constant Field Values
SUCCESS_XHTML
private static final String SUCCESS_XHTML
- See Also:
- Constant Field Values
FAILURE_HTML
private static final String FAILURE_HTML
- See Also:
- Constant Field Values
FAILURE_XHTML
private static final String FAILURE_XHTML
- See Also:
- Constant Field Values
usingHtml
private boolean usingHtml
Html5ConformanceCheckerTransaction
public Html5ConformanceCheckerTransaction(HttpServletRequest request,
HttpServletResponse response)
successMessage
protected String successMessage()
throws SAXException
- Overrides:
successMessage
in class VerifierServletTransaction
- Returns:
-
- Throws:
SAXException
- See Also:
VerifierServletTransaction.successMessage()
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:
nu.validator.servlet.VerifierServletTransaction#setupAndStartEmission()
emitTitle
void emitTitle(boolean markupAllowed)
throws SAXException
- Overrides:
emitTitle
in class VerifierServletTransaction
- Throws:
SAXException
- See Also:
nu.validator.servlet.VerifierServletTransaction#emitTitle()
tryToSetupValidator
protected void tryToSetupValidator()
throws SAXException,
IOException,
IncorrectSchemaException
- Overrides:
tryToSetupValidator
in class VerifierServletTransaction
- Throws:
SAXException
IOException
IncorrectSchemaException
- See Also:
VerifierServletTransaction.tryToSetupValidator()
failureMessage
protected String failureMessage()
throws SAXException
- Overrides:
failureMessage
in class VerifierServletTransaction
- Throws:
SAXException
- See Also:
VerifierServletTransaction.failureMessage()
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
- Throws:
SAXException
- See Also:
nu.validator.servlet.VerifierServletTransaction#doctype(int)