Class ParseExceptionHandler.Impl

    • Constructor Detail

      • Impl

        public Impl()
    • Method Detail

      • foundMultipleAttribute

        public void foundMultipleAttribute​(String attrName,
                                           Object oldAttrValue)
        Description copied from interface: ParseExceptionHandler
        Notifies the occurence of a duplicate attribute declaration within a start tag.
        Specified by:
        foundMultipleAttribute in interface ParseExceptionHandler
        Parameters:
        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?
      • foundIllegalCharInTag

        public void foundIllegalCharInTag​(char chr)
        Description copied from interface: ParseExceptionHandler
        Notifies that an illegal character was found in a tag *****. To be more precise: at the beginning of the tag. Note that this is ignored and the next one is read.
        Specified by:
        foundIllegalCharInTag in interface ParseExceptionHandler
        Parameters:
        chr - the illegal char value.
      • foundCharAfterEndOfEndTag

        public void foundCharAfterEndOfEndTag​(char chr)
        Description copied from interface: ParseExceptionHandler
        Notifies that a character was found after the "/" of an end tag. Note that this is ignored and the next one is read.
        Specified by:
        foundCharAfterEndOfEndTag in interface ParseExceptionHandler
        Parameters:
        chr - the illegal char value.