Core API
Description
This entry provides a collection of utility methods which could be added to a project as a dependency. It allows you to quickly get started with development.
Note:
This is a JAR library that is included as an internal library of the .war plugin when building, located under WEB-INF/lib.
Features
The following table summarizes the available utility classes:
Utility Classes Overview
| Class | Description |
|---|---|
| CoreCommonUtils | Generic utility class. |
| CoreConfigUtils | Loads XML configuration as JSON. |
| CoreContextUtils | Utilities for working with context entity objects. |
| CoreEntityUtils | Utilities for entity handling. |
| CoreLogUtils | Logs entity objects or lists of objects. |
| CorePlanningUtils | Methods for document, publication, and parameter handling. |
| CoreTaggedTextUtils | Create character styles, paragraph styles, and inline tagged text. |
| CoreXpathUtils | Methods for XPath handling. |
| CoreTableUtils | Methods for creating table cells and rows. |
| CoreTocUtils | Utilities for working with CometTocEntry. |
| CoreExcelUtils | Methods for reading Excel and CSV files. |
| CoreBasicComparator | Compare integers, floats, and strings (used for list sorting). |
| CoreObjectComparator | Comparator for sorting objects (extends basic comparator logic). |
| CoreDocumentUtils | Utility methods for working with document objects. |
| CorePublicationUtils | Utility methods for publication objects. |
| CoreTemplateUtils | Utility methods for template and page template objects. |
| CoreWorkflowUtils | Utility methods for workflow processing. |
The Core API is not distributed as a deployment package. It is a JAR library that is compiled into the plugins that depend on it.