TagTester
or
WicketTestCase.executeTest(Class, PageParameters, String)
instead@Deprecated public class HtmlDocumentValidator extends Object
Constructor and Description |
---|
HtmlDocumentValidator()
Deprecated.
Create the validator.
|
Modifier and Type | Method and Description |
---|---|
void |
addRootElement(DocumentElement e)
Deprecated.
Add a root element to the validator.
|
boolean |
isDocumentValid(String document)
Deprecated.
Check whether the supplied document is valid against the spec that has been built up within
the validator.
|
void |
setSkipComments(boolean skipComments)
Deprecated.
Set whether to skip comments of not when validating.
|
public HtmlDocumentValidator()
public void addRootElement(DocumentElement e)
e
- The element to addpublic boolean isDocumentValid(String document)
document
- The document to validatepublic void setSkipComments(boolean skipComments)
skipComments
- Whether to skip comments or notCopyright © 2006–2022 Apache Software Foundation. All rights reserved.