atg.commerce.promotion.template
Interface TemplateValidator

All Known Implementing Classes:
PromotionTemplateValidator

public interface TemplateValidator

Interface used to validate templates


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Method Summary
 boolean validate(org.w3c.dom.Document pDocument)
           Called to test whether or not a template is valid
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Method Detail

validate

boolean validate(org.w3c.dom.Document pDocument)

Called to test whether or not a template is valid

Parameters:
pDocument - A dom Document representing a template
Returns:
A boolean indicating whether or not the template is valid
Throws:
java.lang.Exception - if there is a problem