info.informatica.html.tag
Interface AttributeListener

All Known Implementing Classes:
BaseFont, Font, GenericHTMLTag, HTMLTag, Paragraph, TableData, TableHeader, TableRow

public interface AttributeListener

Used to notify the tag about attribute modifications.

Version:
1.00
Author:
amengual at informatica dot info

Method Summary
 void onAttributeRemoved(String attrname)
          Called when removing any attribute.
 void onAttributes(String attrname, String attrvalue)
          This method must be called when setting or modifying an attribute.
 void onAttributeStringSet(String attributes)
          Called when the attributes are set in form of a string containing one or more name=value attributes.
 void onDummyAttributes(String attrname)
          Called when a plain-old HTML dummy attribute is set.
 

Method Detail

onAttributeStringSet

void onAttributeStringSet(String attributes)
Called when the attributes are set in form of a string containing one or more name=value attributes.

Parameters:
attributes - the string containing the set of attributes.

onAttributes

void onAttributes(String attrname,
                  String attrvalue)
                  throws TagParsingException
This method must be called when setting or modifying an attribute.

Parameters:
attrname - the attribute name.
attrvalue - the attribute value.
Throws:
TagParsingException - if the name of the attribute is syntactically wrong.

onDummyAttributes

void onDummyAttributes(String attrname)
                       throws TagParsingException
Called when a plain-old HTML dummy attribute is set.

Parameters:
attrname - the attribute name.
Throws:
TagParsingException

onAttributeRemoved

void onAttributeRemoved(String attrname)
                        throws TagParsingException
Called when removing any attribute.

Parameters:
attrname - the attribute name.
Throws:
TagParsingException