com.ctc.wstx.api
Class EmptyElementHandler.HtmlEmptyElementHandler

java.lang.Object
  extended by com.ctc.wstx.api.EmptyElementHandler.SetEmptyElementHandler
      extended by 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 the EmptyElementHandler.SetEmptyElementHandler and configures the HTML elements that must be self-closing according to the W3C: http://www.w3.org/TR/html4/index/elements.html

Note 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 inherited from class com.ctc.wstx.api.EmptyElementHandler.SetEmptyElementHandler
mEmptyElements
 
Constructor Summary
protected EmptyElementHandler.HtmlEmptyElementHandler()
           
 
Method Summary
static EmptyElementHandler.HtmlEmptyElementHandler getInstance()
           
 
Methods inherited from class com.ctc.wstx.api.EmptyElementHandler.SetEmptyElementHandler
allowEmptyElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyElementHandler.HtmlEmptyElementHandler

protected EmptyElementHandler.HtmlEmptyElementHandler()
Method Detail

getInstance

public static EmptyElementHandler.HtmlEmptyElementHandler getInstance()