Invokes a callback with the default name for the current tag.
public boolean onTagGenerate( int key, String strTagName )
public boolean onTagGenerate( String strTagName )
key
The key for this tag, if registered; otherwise, -1.
strTagName
The default name for the current tag.
Returns true to use the default tag.
You can perform any desired operations within your override. The following is an example of replacing <STRONG> with <BOLD>:
if ( strTagName.equalsIgnoreCase( "STRONG" ) ){ setTagName( "BOLD" ); return false; }
See Also setTagName, getTagName