public class ArticlePriceTagWriter extends XMLTagWriter
<ARTICLE_PRICE price_type="net_customer">
<PRICE_AMOUNT>1.04</PRICE_AMOUNT>
<PRICE_CURRENCY>EUR</PRICE_CURRENCY>
<TAX>0.16</TAX>
<PRICE_FACTOR>0.8</PRICE_FACTOR>
<LOWER_BOUND>1</LOWER_BOUND>
<TERRITORY>DE</TERRITORY>
<TERRITORY>NL</TERRITORY>
</ARTICLE_PRICE>
| Modifier and Type | Class and Description |
|---|---|
static class |
ArticlePriceTagWriter.ArticlePriceContext |
| Constructor and Description |
|---|
ArticlePriceTagWriter(ArticlePriceDetailsTagWriter parent,
String priceType) |
| 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 ArticlePriceTagWriter(ArticlePriceDetailsTagWriter parent, String priceType)
parent - 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 hereIOExceptionde.hybris.platform.bmecat.xmlwriter.XMLTagWriter#writeContent(org.znerd.xmlenc.XMLOutputter,
java.lang.Object)protected Map getAttributesMap(Object object)
XMLTagWriterMap.getAttributesMap in class XMLTagWriterobject - the data object, it depends on the parent what kind of object you get hereMapXMLTagWriter.getAttributesMap(java.lang.Object)Copyright © 2017 SAP SE. All Rights Reserved.