Overview | Methods | Fields | This Package | All Packages
Invokes a callback with the default name for the current tag.
public boolean onTagGenerate( int key, String strTagName )
public boolean onTagGenerate( String strTagName )
Parameters
key
The key for this tag, if registered; otherwise, -1.
strTagName
The default name for the current tag.
Return Value
Returns true to use the default tag.
Remarks
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