JXPath Object Formatter

Wrapper for apache commons-jxpath to generate string representations of JAXB-serializable objects

Лицензия

Лицензия

Категории

Категории

Сеть ORM Данные
Группа

Группа

net.codesup.util
Идентификатор

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

jxpath-object-formatter
Последняя версия

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

1.2.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

JXPath Object Formatter
Wrapper for apache commons-jxpath to generate string representations of JAXB-serializable objects
Ссылка на сайт

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

https://github.com/mklemm/jxpath-object-formatter
Система контроля версий

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

https://github.com/mklemm/jxpath-object-formatter.git

Скачать jxpath-object-formatter

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

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

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
net.codesup.util : jxpath jar 1.3.0

test (1)

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

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

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

jxpath-object-formatter

Thin wrapper for apache commons-jxpath to provide a simple interface for creating string representations of objects using XPath expressions.

This uses a patched version of apache commons-jxpath to allow for XPath expressions that use the XML names of JAXB-serializable objects instead of pure java bean property names, so this module ist best used with the JAXB XJC plugin jaxb-format-plugin.

This module also registers a number of extension functions (see javadoc or source for class JXPathFormatExtension) that can be used in XPath expressions and may be useful for some special cases.

Specify the class com.kscs.util.jaxb.format.ObjectFormatter as an argument to the "-formatter" command line option of the jaxb-format-plugin, then annotate your XSD complexTypes with the "expression" binding customization, setting the "select" attribute to an XPath expression that evaluates to a string value.

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

Версия
1.2.0
1.1.0