com.ibm.commerce.tools.epromotion
Class RLPromotionRangesXMLWriter

java.lang.Object
  |
  +--com.ibm.commerce.tools.epromotion.RLPromotionRangesXMLWriter

public class RLPromotionRangesXMLWriter
extends java.lang.Object

Writes the ranges of a ranged promotion to an XML format.


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
 
Constructor Summary
RLPromotionRangesXMLWriter(java.lang.String aRangeTagName, java.lang.String aMinimumQuantityToQualifyTagName, java.lang.String aDiscountValueTagName, RLPromotionRangesModel aRangesModel)
          RLPromotionRangeXMLWriter constructor
 
Method Summary
 java.lang.String generatePromotionSpecificRuleXML()
          Generate promotion specific rule XML
 java.lang.String toString()
          Return the promotion specific rule XML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values
Constructor Detail

RLPromotionRangesXMLWriter

public RLPromotionRangesXMLWriter(java.lang.String aRangeTagName,
                                  java.lang.String aMinimumQuantityToQualifyTagName,
                                  java.lang.String aDiscountValueTagName,
RLPromotionRangesModel aRangesModel)
RLPromotionRangeXMLWriter constructor
Parameters:
aRangeTagName - java.lang.String
aMinimumQuantityToQualifyTagName - java.lang.String
aDiscountValueTagName - java.lang.String
aRangesModel - RLPromotionRangesModel
Method Detail

generatePromotionSpecificRuleXML

public java.lang.String generatePromotionSpecificRuleXML()
Generate promotion specific rule XML
Returns:
java.lang.String

toString

public java.lang.String toString()
Return the promotion specific rule XML
Overrides:
toString in class java.lang.Object
Returns:
java.lang.String