public class DateTimeTagWriter extends XMLTagWriter
| Constructor and Description |
|---|
DateTimeTagWriter(XMLTagWriter parent,
String type) |
DateTimeTagWriter(XMLTagWriter parent,
String type,
boolean mandatory) |
| Modifier and Type | Method and Description |
|---|---|
protected Map |
getAttributesMap(Object object)
Overwrite this method, if you want to specify attributes at the actual tag.
|
protected String |
getTagName()
Returns the name of the xml tag.
|
protected void |
writeContent(XMLOutputter xmlOut,
Object object)
Here you can write out the data to the given
XMLOutputter. |
addSubTagWriter, addSubTagWriter, addSubTagWriter, debug, error, getAllSubTagWriter, getParent, getSubTagWriter, getSubTagWriter, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isMandatory, isWarnEnabled, warn, writepublic DateTimeTagWriter(XMLTagWriter parent, String type)
parent - public DateTimeTagWriter(XMLTagWriter parent, String type, boolean mandatory)
protected String getTagName()
XMLTagWritergetTagName in class XMLTagWriterXMLTagWriter.getTagName()protected void writeContent(XMLOutputter xmlOut,
Object object)
throws IOException
XMLTagWriterXMLOutputter. This method will write the content between
the start- and endtag.writeContent in class XMLTagWriterxmlOut - the XMLOutputter to write toobject - the data object, it depends on the parent what kind of object you get hereIOExceptionprotected Map getAttributesMap(Object object)
XMLTagWriterMap.getAttributesMap in class XMLTagWriterobject - the data object, it depends on the parent what kind of object you get hereMapCopyright © 2017 SAP SE. All Rights Reserved.