| java.util.HashMap org.htmlcleaner.HtmlTagProvider
HtmlTagProvider | public class HtmlTagProvider extends HashMap implements ITagInfoProvider(Code) | |
Default HTML tag info provider. Here the basic set of HTML tags is defined, including
depricated tags and some Microsoft specific tags. Rules for tag balancing are similar
to that used in most web-browsers.
Created by: Vladimir Nikic
Date: November, 2006.
|
Constructor Summary | |
public | HtmlTagProvider() Default constructor - creates tags and rules for balancing. |
HtmlTagProvider | public HtmlTagProvider()(Code) | | Default constructor - creates tags and rules for balancing.
|
addTag | protected void addTag(String name, String contentType, int belongsTo, String dependancies)(Code) | | Shortcut to creating TagInfo instance and storing it to the map.
Parameters: name - Parameters: contentType - Parameters: belongsTo - Parameters: dependancies - |
defineTags | protected void defineTags()(Code) | | Definition of all HTML tags together with rules for tag balancing.
|
getInstance | public static synchronized HtmlTagProvider getInstance()(Code) | | Returns singleton instance of this class.
|
getTagInfo | public TagInfo getTagInfo(String tagName)(Code) | | Implementation of the interface method.
Parameters: tagName - TagInfo instance from the map, for the specified tag name. |
|
|