| Constructor and Description |
|---|
DomSerializer() |
| Modifier and Type | Method and Description |
|---|---|
static String |
toString(Document doc,
boolean indent)
Serialize the document to a string.
|
static String |
toString(Document doc,
boolean indent,
boolean doNsProcessing)
Serialize the document to a string.
|
static String |
toString(Element e,
boolean indent)
Serialize the element (and it's children) to a string.
|
static void |
write(Writer writer,
Node node,
boolean indent)
Serialize the node (and it's descendants) to a writer.
|
public static void write(Writer writer, Node node, boolean indent) throws IOException
node - start nodeindent - whether to produce indented XML or notwriter - no descriptionIOException - on write errorspublic static String toString(Element e, boolean indent)
e - the Elementindent - whether to produce indented XML or notpublic static String toString(Document doc, boolean indent)
doc - the documentindent - whether to produce indented XML or notpublic static String toString(Document doc, boolean indent, boolean doNsProcessing)
doc - the documentindent - whether to produce indented XML or notdoNsProcessing - enable/disable special namespace support in the serializer| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice