Package org.htmlcleaner
Class Html5TagProvider
java.lang.Object
org.htmlcleaner.Html5TagProvider
- All Implemented Interfaces:
ITagInfoProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private static final String
private static final String
Most elements that are used in the body of documents and applications are categorized as flow content.static final Html5TagProvider
private static final String
HTML5 Media Tagsprivate static final String
Phrasing tags are those that can make up paragraphs along with text to make Phrasing Content.private static final String
private static final String
private ConcurrentMap
<String, TagInfo> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
The HTML5 edits tags (2 total)void
embeddedContentTags
(TagInfo tagInfo) void
The HTML5 forms tags (15 total)getTagInfo
(String tagName) It returns the tag information.void
groupingTags
(TagInfo tagInfo) The HTML5 grouping tags (14 total)void
interactiveTags
(TagInfo tagInfo) The HTML5 Interactive tags (4 total)void
Html5 media-embedded tags (12 tags)void
metadataTags
(TagInfo tagInfo) HTML5 Document metadata tagsvoid
phrasingTags
(TagInfo tagInfo) Html5 phrasing tags --text level semantics (31 total) thelw dataprotected void
It inserts the tag node into the tagInfoMap.void
scriptingTags
(TagInfo tagInfo) HTML5 scripting tagsvoid
semanticFlowTags
(TagInfo tagInfo) The HTML5 semantic flow tags-Sectioning tags (15 total)void
The HTML5 table tags (12 total)
-
Field Details
-
STRONG
- See Also:
-
tagInfoMap
-
INSTANCE
-
INSTANCE2
-
CLOSE_BEFORE_COPY_INSIDE_TAGS
- See Also:
-
CLOSE_BEFORE_TAGS
- See Also:
-
PHRASING_TAGS
Phrasing tags are those that can make up paragraphs along with text to make Phrasing Content. Generally speaking, phrasing content only allows phrasing content as child tags.- See Also:
-
FLOW_TAGS
Most elements that are used in the body of documents and applications are categorized as flow content.- See Also:
-
MEDIA_TAGS
HTML5 Media Tags- See Also:
-
SCRIPT_SUPPORTING_TAGS
- See Also:
-
-
Constructor Details
-
Html5TagProvider
public Html5TagProvider()
-
-
Method Details
-
embeddedContentTags
-
semanticFlowTags
The HTML5 semantic flow tags-Sectioning tags (15 total) -
interactiveTags
The HTML5 Interactive tags (4 total) -
groupingTags
The HTML5 grouping tags (14 total) -
phrasingTags
Html5 phrasing tags --text level semantics (31 total) thelw data -
mediaTags
Html5 media-embedded tags (12 tags) -
editTags
The HTML5 edits tags (2 total) -
tableTags
The HTML5 table tags (12 total) -
formTags
The HTML5 forms tags (15 total) -
metadataTags
HTML5 Document metadata tags -
scriptingTags
HTML5 scripting tags -
put
It inserts the tag node into the tagInfoMap.- Parameters:
tagName
- The name of the tagtagInfo
- The info about tag node
-
getTagInfo
It returns the tag information.- Specified by:
getTagInfo
in interfaceITagInfoProvider
- Parameters:
tagName
- The name of the tag to return- Returns:
- TagInfo The information about tag node
-