GithubHelp home page GithubHelp logo

isabella232 / sling-org-apache-sling-contentparser-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/sling-org-apache-sling-contentparser-api

0.0 0.0 0.0 27 KB

Apache Sling Content Parser API

Home Page: https://sling.apache.org/

License: Apache License 2.0

Java 100.00%

sling-org-apache-sling-contentparser-api's Introduction

Apache Sling

Build Status Test Status Coverage Sonarcloud Status JavaDoc Maven Central contentparser License

Apache Sling Content Parser API

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:

  1. the API is now available in the org.apache.sling.contentparser.api package;
  2. there is no replacement for the 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;
  3. as a consequence of 2., the ParserOptions are now passed directly to the ContentParser#parse method.

Implementations of the API are made available from separate bundles:

  1. JSON - org.apache.sling.contentparser.json
  2. XML - org.apache.sling.contentparser.xml
  3. Jackrabbit Filevault XML (Enhanced JCR 2.0 Document View) - org.apache.sling.contentparser.xml-jcr (the only module depending on the JCR / Jackrabbit APIs)

sling-org-apache-sling-contentparser-api's People

Contributors

bdelacretaz avatar klcodanr avatar kwin avatar raducotescu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.