commit | d94752766a39a89c1338ecf9fa94b86c71bf4772 | [log] [tgz] |
---|---|---|
author | Stefan Seifert <stefanseifert@users.noreply.github.com> | Tue Apr 09 11:16:48 2024 +0200 |
committer | Stefan Seifert <stefanseifert@users.noreply.github.com> | Tue Apr 09 11:16:48 2024 +0200 |
tree | 261cf2faefa60e591ab5040194cbe48abb28d079 | |
parent | bfa02530164493302ff3725d8c39178b8965a908 [diff] |
SLING-12281 apply spotless code formatting (apply manually to package-info.java)
This module is part of the Apache Sling project.
The Apache Sling Content Parser API provides support for parsing various files capable of abstracting a Sling resource tree. This API is a continuation of the one provided by the Apache Sling JCR Content Parser bundle. Although very similar, there are some notable changes:
org.apache.sling.contentparser.api
package;org.apache.sling.jcr.contentparser.ContentParserFactory
; to obtain a ContentParser
, given that they are exposed as OSGi services, one has to filter on the ContentParser.SERVICE_PROPERTY_CONTENT_TYPE
service registration property, to select the appropriate file format;ParserOptions
are now passed directly to the ContentParser#parse
method.Implementations of the API are made available from separate bundles:
org.apache.sling.contentparser.json
org.apache.sling.contentparser.xml
org.apache.sling.contentparser.xml-jcr
(the only module depending on the JCR / Jackrabbit APIs)