public static class EmptyElementHandler.SetEmptyElementHandler extends Object implements EmptyElementHandler
 Users of this class are encouraged to use a TreeSet with the String.CASE_INSENSITIVE_ORDER
 comparator if case-insensitive comparison is needed (like when dealing with HTML tags).
EmptyElementHandler.HtmlEmptyElementHandler, EmptyElementHandler.SetEmptyElementHandler| Modifier and Type | Field and Description | 
|---|---|
| protected Set<String> | mEmptyElements | 
| Constructor and Description | 
|---|
| EmptyElementHandler.SetEmptyElementHandler(Set<String> emptyElements) | 
public boolean allowEmptyElement(String prefix, String localName, String nsURI, boolean allowEmpty)
allowEmptyElement in interface EmptyElementHandlerprefix - The element's namespace prefix, null if not setlocalName - The element's local namensURI - The elements's namespace URI, null if not setallowEmpty - The allow empty setting specified by the caller.Copyright © 2018 FasterXML. All rights reserved.