public interface IXMLSerializer extends ContentHandler
ISerializer implementations
that need to write out data. It offers convenience method not available from
the ContentHandler interface as well as functionality to
ensure well-formedness that is needed by classes that call a multitude of
serializer instances
Copyright 2004 SAP AG
| Modifier and Type | Method and Description |
|---|---|
void |
dataElement(String tag,
String value,
Attributes atts)
convenience method to write an xml-element that consists of only attribute
values and a value field, but does not contain other xml-elements.
|
void |
emptyElement(String tag,
Attributes atts)
convenience method to write an xml-element that consists of only attribute
values and nothing else.
|
boolean |
isDocumentEnded() |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMappingvoid emptyElement(String tag, Attributes atts) throws SAXException
a="b" c="d" e = "f"
tag - the full qualified name (qName) of the xml-element to write.
Must not be nullatts - the attributes to write. Must not be null, but
may be emptySAXException - SAXExceptionvoid dataElement(String tag, String value, Attributes atts) throws SAXException
exampletag a="b" c="d" e="f" value exampletag
tag - the full qualified name (qName) of the xml-element to write.
Must not be nullvalue - the value to write for this element. Must not be
null, but might be an empty stringatts - the attributes to write. Must not be null, but
may be emptySAXException - SAXExceptionboolean isDocumentEnded()
endDocument method has been
called or not| 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