Package org.htmlcleaner
Class Html5TagProvider
java.lang.Object
org.htmlcleaner.Html5TagProvider
- All Implemented Interfaces:
ITagInfoProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringprivate static final StringMost elements that are used in the body of documents and applications are categorized as flow content.static final Html5TagProviderprivate static final StringHTML5 Media Tagsprivate static final StringPhrasing tags are those that can make up paragraphs along with text to make Phrasing Content.private static final Stringprivate static final Stringprivate ConcurrentMap<String, TagInfo> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThe HTML5 edits tags (2 total)voidembeddedContentTags(TagInfo tagInfo) voidThe HTML5 forms tags (15 total)getTagInfo(String tagName) It returns the tag information.voidgroupingTags(TagInfo tagInfo) The HTML5 grouping tags (14 total)voidinteractiveTags(TagInfo tagInfo) The HTML5 Interactive tags (4 total)voidHtml5 media-embedded tags (12 tags)voidmetadataTags(TagInfo tagInfo) HTML5 Document metadata tagsvoidphrasingTags(TagInfo tagInfo) Html5 phrasing tags --text level semantics (31 total) thelw dataprotected voidIt inserts the tag node into the tagInfoMap.voidscriptingTags(TagInfo tagInfo) HTML5 scripting tagsvoidsemanticFlowTags(TagInfo tagInfo) The HTML5 semantic flow tags-Sectioning tags (15 total)voidThe 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:
getTagInfoin interfaceITagInfoProvider- Parameters:
tagName- The name of the tag to return- Returns:
- TagInfo The information about tag node
-