camunda Spin - parent

This pom defines the required plugins and profiles to allow a camunda release build. Inherit this pom when you want to release your project into the camunda nexus and/or maven central.

Лицензия

Лицензия

Группа

Группа

org.camunda.spin
Идентификатор

Идентификатор

camunda-spin-parent
Последняя версия

Последняя версия

1.0.0-alpha5
Дата

Дата

Тип

Тип

pom
Описание

Описание

camunda Spin - parent
This pom defines the required plugins and profiles to allow a camunda release build. Inherit this pom when you want to release your project into the camunda nexus and/or maven central.
Организация-разработчик

Организация-разработчик

camunda services GmbH
Система контроля версий

Система контроля версий

https://github.com/camunda/camunda-spin

Скачать camunda-spin-parent

Имя Файла Размер
camunda-spin-parent-1.0.0-alpha5.pom 3 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.camunda.spin/camunda-spin-parent/ -->
<dependency>
    <groupId>org.camunda.spin</groupId>
    <artifactId>camunda-spin-parent</artifactId>
    <version>1.0.0-alpha5</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.camunda.spin/camunda-spin-parent/
implementation 'org.camunda.spin:camunda-spin-parent:1.0.0-alpha5'
// https://jarcasting.com/artifacts/org.camunda.spin/camunda-spin-parent/
implementation ("org.camunda.spin:camunda-spin-parent:1.0.0-alpha5")
'org.camunda.spin:camunda-spin-parent:pom:1.0.0-alpha5'
<dependency org="org.camunda.spin" name="camunda-spin-parent" rev="1.0.0-alpha5">
  <artifact name="camunda-spin-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.camunda.spin', module='camunda-spin-parent', version='1.0.0-alpha5')
)
libraryDependencies += "org.camunda.spin" % "camunda-spin-parent" % "1.0.0-alpha5"
[org.camunda.spin/camunda-spin-parent "1.0.0-alpha5"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

  • core
  • dist

camunda-spin

Home | Documentation | Forum | Issues | License | Contribute

Library for simple XML and JSON processing on the JVM (Java Virtual Machine), targeting Java and JVM-based scripting languages such as Groovy, JRuby, Jython, Javascript and Java Expression Language.

Why Spin?

Spin is useful when you need to work with complex, text-based data formats (such as XML or JSON) without mapping to Java Objects.

Spin provides a comprehensible fluent API for working with different data formats through lightweight wrapper objects:

Given the following XML document as String or InputStream:

<?xml version=“1.0“ encoding=“UTF-8“ ?>
<customers>
  <customer id="0001"><name>Jonny P</name></customer>
  <customer id="0002"><name>Bobby G</name></customer>
  <customer id="0003"><name>Mary T</name></customer>
</customers>

It can directly be worked on with Spin:

import static org.camunda.spin.Spin.*;

// get id of first customer
XML( xmlInput ).childElements("customer")
  .get(0)
  .attr("id")
  .value();

// create new customer
SpinXmlTreeElement  kate = XML( "<customer />" )
  .attr("id", "0004")
  .append( XML("<name>Kate S</name>") );

// append to existing list
XML( xmlInput ).append(kate);

// query by Id:
XML( xmlInput ).xPath("/customers/customer[@id='0002']").element();

FAQ

Why should I use Spin instead of the Java DOM API?

Java provides a built-in Dom API along with a Parser. Spin provides a lightweight Wrapper around the Dom API which makes it easier to work with than the Dom API. You can access the underlying Dom object at any time by unwrapping it:

Element e = XML( xmlSource ).childElement("customer").unwrap();

Contributing

Have a look at our contribution guide for how to contribute to this repository.

License:

The source files in this repository are made available under the Apache License Version 2.0.

org.camunda.spin

Camunda

Версии библиотеки

Версия
1.0.0-alpha5
1.0.0-alpha4
1.0.0-alpha3
1.0.0-alpha2
1.0.0-alpha1