public class DDXOutput
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMMENT_CONVERSIONEVENT
Conversion Event comment marker
|
static java.lang.String |
COMMENT_ELEMENT
Element comment marker
|
static java.lang.String |
COMMENT_ORDER
Order comment marker
|
static java.lang.String |
COMMENT_PAGEVIEW
Page View comment marker
|
static java.lang.String |
COMMENT_PRODUCTVIEW
Product View comment marker
|
static java.lang.String |
COMMENT_REGISTRATION
Registration comment marker
|
static java.lang.String |
COMMENT_SHOPACTION
Shop Action comment marker
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
USE_DDX
Use DDX option value for biConfig.xml
|
Constructor and Description |
---|
DDXOutput() |
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
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String USE_DDX
public static final java.lang.String COMMENT_PAGEVIEW
public static final java.lang.String COMMENT_PRODUCTVIEW
public static final java.lang.String COMMENT_SHOPACTION
public static final java.lang.String COMMENT_ORDER
public static final java.lang.String COMMENT_REGISTRATION
public static final java.lang.String COMMENT_ELEMENT
public static final java.lang.String COMMENT_CONVERSIONEVENT
public void setFieldValue(java.lang.String field, java.lang.String data)
field
- The field namedata
- The field valuepublic void defineArray(java.lang.String array)
array
- Field that is going to be defined as an arraypublic void setArrayValue(java.lang.String field, java.lang.String data)
field
- The field namedata
- The field valuepublic java.lang.String getOutput()
public java.lang.String getOutput(boolean outputPrefix)
outputPrefix
- Whether to output the code prefix or not.public void setPrefixComment(java.lang.String comment)
comment
- Javascript output comment;