org.w3c.mwi.mobileok.basic
Class TestSubResultPosition
java.lang.Object
org.w3c.mwi.mobileok.basic.TestSubResultPosition
- Direct Known Subclasses:
- TestSubResultBytePosition, TestSubResultGeneralPosition, TestSubResultHeaderPosition, TestSubResultLineColumnPosition
public abstract class TestSubResultPosition
- extends java.lang.Object
Abstract class that defines the position or the resource that made a
TestSubResult
subtest WARN or FAIL.
Depending on the subtest being checked, the position may be the URI
of a Web resource (see TestSubResultGeneralPosition
), a precise
line/column position in a textual representation of a Web resource (see
TestSubResultLineColumnPosition
), an HTTP header field (see
TestSubResultHeaderPosition
), or a byte offset if the Web resource
returned binary content (see TestSubResultBytePosition
).
The appendRemainderToTestResultsDOM(Document, Element)
abstract
method must be implemented in derivated classes.
- Version:
- $Revision: 1.1 $
- Author:
- The W3C mobileOK Checker Task Force
- See Also:
TestSubResultPositionType
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
private final TestSubResultPositionType type
tidied
private boolean tidied
uri
private java.lang.String uri
mokiID
private java.lang.String mokiID
TestSubResultPosition
TestSubResultPosition(TestSubResultPositionType type)
getType
public TestSubResultPositionType getType()
isTidied
public boolean isTidied()
setTidied
public void setTidied(boolean tidied)
getUri
public java.lang.String getUri()
setUri
public void setUri(java.lang.String uri)
getMokiID
public java.lang.String getMokiID()
setMokiID
public void setMokiID(java.lang.String mokiID)
appendToTestResultsDOM
final void appendToTestResultsDOM(org.w3c.dom.Document document,
org.w3c.dom.Node parent)
appendRemainderToTestResultsDOM
abstract void appendRemainderToTestResultsDOM(org.w3c.dom.Document document,
org.w3c.dom.Element parent)
valueOf
static TestSubResultPosition valueOf(org.w3c.dom.Element position)