public class ArticleFeaturesTagWriter extends XMLTagWriter
| Modifier and Type | Field and Description |
|---|---|
static char |
CLASSIFICATION_DELIMITER |
| Constructor and Description |
|---|
ArticleFeaturesTagWriter(ArticleTagWriter parent) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getCode(Unit unit) |
protected String |
getSupplierAidSupplement(VariantProduct variantProduct,
Object rawValue)
Is used to get the SUPPLIER_AID_SUPPLEMENT value for a given
VariantProduct and variant value. |
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, getAttributesMap, getParent, getSubTagWriter, getSubTagWriter, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isMandatory, isWarnEnabled, warn, writepublic static final char CLASSIFICATION_DELIMITER
public ArticleFeaturesTagWriter(ArticleTagWriter parent)
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 String getSupplierAidSupplement(VariantProduct variantProduct, Object rawValue)
VariantProduct and variant value.
Overwrite this method to implement your own way to get this value.variantProduct - a VariantProductrawValue - the variant valueCopyright © 2017 SAP SE. All Rights Reserved.