|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.protocol.webdav.DomSerializer
public class DomSerializer
Utility function for serializing the contents of a Document
into a String.
Handles the Xerces-specific quirks in serializing documents with namespaces correctly.
Copyright (c) SAP AG 2001-2004
| Constructor Summary | |
|---|---|
DomSerializer()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DomSerializer()
| Method Detail |
|---|
public static void write(Writer writer,
Node node,
boolean indent)
throws IOException
node - start nodeindent - whether to produce indented XML or not
IOException - on write errors
public static String toString(Element e,
boolean indent)
e - the Elementindent - whether to produce indented XML or not
public static String toString(Document doc,
boolean indent)
doc - the documentindent - whether to produce indented XML or not
public 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
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||