Package org.exoplatform.commons.xml
Class DOMSerializer
java.lang.Object
org.exoplatform.commons.xml.DOMSerializer
An high performance and custom DOM serializer based on stax
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
DOMSerializer
public DOMSerializer()
-
-
Method Details
-
serialize
- Throws:
IOExceptionXMLStreamException
-