javaxml


Лицензия

Лицензия

Группа

Группа

com.github.fartherp
Идентификатор

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

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

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

2.0.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

https://github.com/fartherp/javaxml
Система контроля версий

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

https://github.com/fartherp/javaxml

Скачать javaxml

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

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

Зависимости

test (1)

Идентификатор библиотеки Тип Версия
org.testng : testng jar 6.14.3

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

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

生成XML文件

Build Status Coverage Status Maven Central Sonatype Nexus (Snapshots) GitHub release License Project Stats
Quality gate

Document

java公用信息

Sample Code

Document document = new Document("-//mybatis.org//DTD Mapper 3.0//EN", "http://mybatis.org/dtd/mybatis-3-mapper.dtd");
XmlElement answer = new XmlElement("mapper");
String namespace = "com.github.codegenerator.Mapper";
answer.addAttribute(new Attribute("namespace", namespace));
document.setRootElement(answer);

XmlElement

  1. 实例: Field field = new Field("age", new JavaTypeInfo("java.lang.Integer"));
  2. 初始值: setInitializationString(String initializationString);
  3. transient: setTransient(boolean transient);
  4. volatile: setVolatile(boolean volatile);

Sample Code

XmlElement xmlElement = new XmlElement("select");
Attribute attribute = new Attribute("id", "findAll");
xmlElement.addAttribute(attribute);
TextElement textElement = new TextElement("select * from table");
xmlElement.addElement(textElement);

TextElement

Sample Code

TextElement textElement = new TextElement("select * from table");

Attribute

Sample Code

Attribute attribute = new Attribute("id", "update");

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

Версия
2.0.3
2.0.2
2.0.1
1.0.1
1.0.0