com.sap.netweaver.bc.serialize
Interface IXMLSerializer
- All Superinterfaces:
- ContentHandler
public interface IXMLSerializer
- extends ContentHandler
this interface is provided to all 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
|
Method Summary |
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()
|
| Methods inherited from interface org.xml.sax.ContentHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
emptyElement
void emptyElement(String tag,
Attributes atts)
throws SAXException
- convenience method to write an xml-element that consists of only attribute
values and nothing else.
- Parameters:
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 empty
- Throws:
SAXException
dataElement
void dataElement(String tag,
String value,
Attributes atts)
throws SAXException
- convenience method to write an xml-element that consists of only attribute
values and a value field, but does not contain other xml-elements.
value
- Parameters:
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 empty
- Throws:
SAXException
isDocumentEnded
boolean isDocumentEnded()
- Returns:
- flag telling if the
endDocument method has been
called or not
This class can be accessed from:
|
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 2014 SAP AG Complete Copyright Notice