public class JHErrorElement extends JHElement
| Constructor and Description |
|---|
JHErrorElement(List elements,
String message,
String image,
boolean illFormed)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getImage() |
void |
reportError(RepInfo info)
Puts the item's error message into the RepInfo
object, and affects the wellFormed and valid
flags as required.
|
getColumn, getEntities, getLinepublic JHErrorElement(List elements, String message, String image, boolean illFormed)
elements - List of elements representing the document.message - Message to be reportedimage - Textual representation of the offending portion.
This will be used as the submessage of a generated
ErrorMessage.illFormed - true if the error makes the document
not well-formed, false if it makes
it only invalid.public String getImage()
public void reportError(RepInfo info)
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.