com.ibm.commerce.bi.taglib.coremetrics

Class DDXOutput

  • java.lang.Object
    • com.ibm.commerce.bi.taglib.coremetrics.DDXOutput


  • public class DDXOutput
    extends java.lang.Object
    Coremetrics-specific implementation for DDX Output.
    • Constructor Summary

      Constructors 
      Constructor and Description
      DDXOutput() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void defineArray(java.lang.String array)
      Define a field in the digitalData Javascript array as an array.
      java.lang.String getOutput()
      Gets the DDX output.
      java.lang.String getOutput(boolean outputPrefix)
      Gets the DDX output.
      void setArrayValue(java.lang.String field, java.lang.String data)
      Sets the value of a field in an array.
      void setFieldValue(java.lang.String field, java.lang.String data)
      Set the value of a final field on the digitalData Javascript array.
      void setPrefixComment(java.lang.String comment)
      Set the prefix comment for the Javascript output
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

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

        public static final java.lang.String USE_DDX
        Use DDX option value for biConfig.xml
        See Also:
        Constant Field Values
      • COMMENT_PAGEVIEW

        public static final java.lang.String COMMENT_PAGEVIEW
        Page View comment marker
        See Also:
        Constant Field Values
      • COMMENT_PRODUCTVIEW

        public static final java.lang.String COMMENT_PRODUCTVIEW
        Product View comment marker
        See Also:
        Constant Field Values
      • COMMENT_SHOPACTION

        public static final java.lang.String COMMENT_SHOPACTION
        Shop Action comment marker
        See Also:
        Constant Field Values
      • COMMENT_ORDER

        public static final java.lang.String COMMENT_ORDER
        Order comment marker
        See Also:
        Constant Field Values
      • COMMENT_REGISTRATION

        public static final java.lang.String COMMENT_REGISTRATION
        Registration comment marker
        See Also:
        Constant Field Values
      • COMMENT_ELEMENT

        public static final java.lang.String COMMENT_ELEMENT
        Element comment marker
        See Also:
        Constant Field Values
      • COMMENT_CONVERSIONEVENT

        public static final java.lang.String COMMENT_CONVERSIONEVENT
        Conversion Event comment marker
        See Also:
        Constant Field Values
    • Constructor Detail

      • DDXOutput

        public DDXOutput()
    • Method Detail

      • setFieldValue

        public void setFieldValue(java.lang.String field,
                                  java.lang.String data)
        Set the value of a final field on the digitalData Javascript array.
        Parameters:
        field - The field name
        data - The field value
      • defineArray

        public void defineArray(java.lang.String array)
        Define a field in the digitalData Javascript array as an array.
        Parameters:
        array - Field that is going to be defined as an array
      • setArrayValue

        public void setArrayValue(java.lang.String field,
                                  java.lang.String data)
        Sets the value of a field in an array.
        Parameters:
        field - The field name
        data - The field value
      • getOutput

        public java.lang.String getOutput()
        Gets the DDX output. No prefix is set.
        Returns:
        DDX output
      • getOutput

        public java.lang.String getOutput(boolean outputPrefix)
        Gets the DDX output.
        Parameters:
        outputPrefix - Whether to output the code prefix or not.
        Returns:
        DDX output with or without code prefix.
      • setPrefixComment

        public void setPrefixComment(java.lang.String comment)
        Set the prefix comment for the Javascript output
        Parameters:
        comment - Javascript output comment;