public interface NotesValidationStrategy
CommentModel via
Notes2PageTranslatorService. Validation may fail when a strategy
returns false or throws a CometException. If false is returned a CometException with the information,
that an unknown error occurred, will be thrown.| Modifier and Type | Method and Description |
|---|---|
void |
validate(Notes notes,
PageModel page)
|
void validate(Notes notes, PageModel page) throws CometException, CometValidationException
Notes against the given PageModel. If validation fails a
CometException will be
thrown.notes - 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.Copyright © 2017 SAP SE. All Rights Reserved.