Package com.ctc.wstx.api
Class EmptyElementHandler.HtmlEmptyElementHandler
- java.lang.Object
-
- com.ctc.wstx.api.EmptyElementHandler.SetEmptyElementHandler
-
- com.ctc.wstx.api.EmptyElementHandler.HtmlEmptyElementHandler
-
- All Implemented Interfaces:
EmptyElementHandler
- Enclosing interface:
- EmptyElementHandler
public static class EmptyElementHandler.HtmlEmptyElementHandler extends EmptyElementHandler.SetEmptyElementHandler
HTML specific empty element handler. Extends theEmptyElementHandler.SetEmptyElementHandler
and configures the HTML elements that must be self-closing according to the W3C: http://www.w3.org/TR/html4/index/elements.htmlNote that element name comparison is case-insensitive as required by HTML specification.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.ctc.wstx.api.EmptyElementHandler
EmptyElementHandler.HtmlEmptyElementHandler, EmptyElementHandler.SetEmptyElementHandler
-
-
Field Summary
Fields Modifier and Type Field Description private static EmptyElementHandler.HtmlEmptyElementHandler
sInstance
-
Fields inherited from class com.ctc.wstx.api.EmptyElementHandler.SetEmptyElementHandler
mEmptyElements
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HtmlEmptyElementHandler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EmptyElementHandler.HtmlEmptyElementHandler
getInstance()
-
Methods inherited from class com.ctc.wstx.api.EmptyElementHandler.SetEmptyElementHandler
allowEmptyElement
-
-
-
-
Field Detail
-
sInstance
private static final EmptyElementHandler.HtmlEmptyElementHandler sInstance
-
-
Method Detail
-
getInstance
public static EmptyElementHandler.HtmlEmptyElementHandler getInstance()
-
-