public class DOMSerializer extends Object
XMLStreamWriter.
The serializer takes care of correctly writing empty script elements with their non empty form, because we want to ouput xhtml text that will still work on html browsers.
| Constructor and Description |
|---|
DOMSerializer() |
public static void serialize(Element element, Writer writer) throws IOException, XMLStreamException
IOExceptionXMLStreamExceptionCopyright © 2017 JBoss by Red Hat. All Rights Reserved.