public class CommentOnPageValidationStrategy extends Object implements NotesValidationStrategy
| Constructor and Description |
|---|
CommentOnPageValidationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
setModelService(ModelService modelService) |
void |
validate(Notes notes,
PageModel page)
|
public void validate(Notes notes, PageModel page) throws CometException, CometValidationException
NotesValidationStrategyNotes against the given PageModel. If validation fails a
CometException will be
thrown.validate in interface NotesValidationStrategynotes - The Notes which represents the XML tree from InDesign.page - The PageModel where the notes should be pushed to.CometException - whenever a severe error occurred.CometValidationException - if validation failed.public void setModelService(ModelService modelService)
Copyright © 2017 SAP SE. All Rights Reserved.