public interface ParseExceptionHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
ParseExceptionHandler.Impl
Trivial implementation for enclosing interface.
|
| Modifier and Type | Method and Description |
|---|---|
void |
foundCharAfterEndOfEndTag(char chr)
Notifies that a character was found after the "/" of an end tag.
|
void |
foundIllegalCharInTag(char chr)
Notifies that an illegal character was found in a tag *****.
|
void |
foundMultipleAttribute(String attrName,
Object oldAttrValue)
Notifies the occurence of a duplicate attribute declaration
within a start tag.
|
void |
foundUnexpectedEndOfDocument() |
void foundMultipleAttribute(String attrName, Object oldAttrValue)
attrName - a non-empty String
representing the name of the attribute.oldAttrValue - an Object which is either a String
representing the value of the attribute
or the object AttributesImpl.NO_VALUE
which signifies the absence of a value.
Here the old value (which is overwritten in the attribute list)
should be passed to the application.
****** it is not clear to me
whether the ordering of the attribute list is significant.
The former occurence of the attribute is lost. **** is this true?void foundIllegalCharInTag(char chr)
chr - the illegal char value.void foundCharAfterEndOfEndTag(char chr)
chr - the illegal char value.void foundUnexpectedEndOfDocument()
Copyright © 2012–2018 Simuline Organization (l2r). All rights reserved.