public class CatalogStructureTagWriter extends XMLTagWriter
| Constructor and Description |
|---|
CatalogStructureTagWriter(CatalogGroupSystemTagWriter parent) |
| 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 |
getCategoryID(Category cat) |
protected String |
getTagName()
Returns the name of the xml tag.
|
protected UserDefinedExtensionsTagWriter |
getUserDefinedExtensionsTagWriter() |
protected void |
writeCategoryContent(BMECatExportContext exportCtx,
XMLOutputter xmlOut,
Category category) |
protected void |
writeContent(XMLOutputter xmlOut,
Object object)
Here you can write out the data to the given
XMLOutputter. |
protected void |
writeVirtualRootcategory(BMECatExportContext exportCtx,
XMLOutputter xmlOut)
Writes a virtual category '0' with the catalog versions code as name.
|
addSubTagWriter, addSubTagWriter, addSubTagWriter, debug, error, getAllSubTagWriter, getParent, getSubTagWriter, getSubTagWriter, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isMandatory, isWarnEnabled, warn, writepublic CatalogStructureTagWriter(CatalogGroupSystemTagWriter parent)
parent - protected String getTagName()
XMLTagWritergetTagName in class XMLTagWriterXMLTagWriter.getTagName()protected Map getAttributesMap(Object object)
XMLTagWriterMap.getAttributesMap in class XMLTagWriterobject - the data object, it depends on the parent what kind of object you get hereMapprotected 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 void writeVirtualRootcategory(BMECatExportContext exportCtx, XMLOutputter xmlOut)
protected void writeCategoryContent(BMECatExportContext exportCtx, XMLOutputter xmlOut, Category category)
protected UserDefinedExtensionsTagWriter getUserDefinedExtensionsTagWriter()
Copyright © 2017 SAP SE. All Rights Reserved.