snax-xml

SNAX is a library to simplify the creation of state machines that consume StAX inputs to extract and process content.

Лицензия

Лицензия

Категории

Категории

Сеть
Группа

Группа

net.sundell.snax
Идентификатор

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

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

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

0.10
Дата

Дата

Тип

Тип

jar
Описание

Описание

snax-xml
SNAX is a library to simplify the creation of state machines that consume StAX inputs to extract and process content.
Ссылка на сайт

Ссылка на сайт

https://github.com/tingley/snax-xml
Система контроля версий

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

https://github.com/tingley/snax-xml

Скачать snax

Имя Файла Размер
snax-0.10.pom
snax-0.10.jar 36 KB
snax-0.10-sources.jar 21 KB
snax-0.10-javadoc.jar 120 KB
Обзор

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

<!-- https://jarcasting.com/artifacts/net.sundell.snax/snax/ -->
<dependency>
    <groupId>net.sundell.snax</groupId>
    <artifactId>snax</artifactId>
    <version>0.10</version>
</dependency>
// https://jarcasting.com/artifacts/net.sundell.snax/snax/
implementation 'net.sundell.snax:snax:0.10'
// https://jarcasting.com/artifacts/net.sundell.snax/snax/
implementation ("net.sundell.snax:snax:0.10")
'net.sundell.snax:snax:jar:0.10'
<dependency org="net.sundell.snax" name="snax" rev="0.10">
  <artifact name="snax" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.sundell.snax', module='snax', version='0.10')
)
libraryDependencies += "net.sundell.snax" % "snax" % "0.10"
[net.sundell.snax/snax "0.10"]

Зависимости

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.8.1

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

Данный проект не имеет модулей.

snax-xml

SNAX exists to simplify XML parsing using the StAX (javax.xml.stream) event API by replacing hand-coded state machines with concise, descriptive code to select the content you care about. SNAX is small, simple, adds very little overhead to StAX, and contains no additional dependencies.

SNAX uses a simple EDSL to specify a set of element selectors, to which you attach callback interfaces. SNAX then uses this information to build a reusable NodeModel object, against which it parses the XML. XMLEvent data will be routed to the right pieces of code automatically. The EDSL is conceptually similar to basic XPath, although it is greatly simplified for the purposes of stream processing. The Getting Started page has a better explanation.

Building

SNAX builds with maven.

To use SNAX in your own project, add it as a dependency:

    <dependency>
      <groupId>net.sundell.snax</groupId>
      <artifactId>snax</artifactId>
      <version>0.10</version>
    </dependency>

Downloads

Check the Releases page.

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

Версия
0.10
0.9