• 首页
  • 前端技术
  • 编程语言
  • 人工智能
  • 运维知识
  • 资源下载
  • 常用小工具
  • 技术问答

Table of Contents - JAXB

2022-12-23

Getting Started

  Hello World

  Hello World with Namespace

  xjc - 将 XML Schema 编译成 Java 类

  wsimport: 编译 WSDL 生成 JAX-WS 规范的 Java 类

Writing an XML Schema for JAXB

  Numeric Types

  Date and Time

  Binary Data

  Defining an Enumeration

  Defining Types for XML Elements Without Content

  Defining Types for XML Elements With Content

  Defining Subtypes

Unmarshalling and Using the Data

  Unmarshalling

  Validation

  The JAXB Context

Building and Marshalling an XML Document

  The Object Factory

  Calling marshal

JAXB Annotations

  Top-level Elements: XmlRootElement

  Annotation for Classes: XmlType

  Annotations for the Schema: XmlSchema

  The Object Factory: XmlRegistry, XmlElementDecl

  Controlling Element Selection: XmlAccessorType, XmlTransient

  Annotations for Fields

    The Annotation XmlElement

    Class Fields as Attributes: XmlAttribute

  Annotations for Enums: XmlEnum, XmlEnumValue

  Type Adapters: XmlJavaTypeAdapter

  Type Mapping: XmlSchemaType

 

相关文章:

猜你喜欢
相关资源
相似解决方案
热门标签
Java Python linux javascript Mysql C# Docker 算法 前端 SpringBoot Redis Vue spring 设计模式 .net core .net kubernetes c++ 数据库 数据结构 大数据 js 机器学习 微服务 Android Go 程序员 面试 JVM ASP.net core 云原生 人工智能 后端 PHP git CSS golang k8s Nginx Django mybatis 深度学习 多线程 React 架构 devops 爬虫 云计算 Spring Boot LeetCode
By © 2026 likecs 版权所有,
本站所有数据收集于网络如有侵犯到您的权益请联系 进行下架处理1。
粤ICP备22038628号Powered By WordPress