[OmniFaces utilities] The
createDocumentBuilder()
method creates an instance of DocumentBuilder
which doesn't validate, nor is namespace aware nor expands entity references (to keep it as lenient as possible).Method:
Usage:
The Xml#createDocumentBuilder() is based
on Java, DocumentBuilderFactory API:
import
org.omnifaces.util.Xml;
...
DocumentBuilder
documentBuilder = Xml.createDocumentBuilder();
See how this method is used in: Xml#createDocument().
Niciun comentariu :
Trimiteți un comentariu