Java知识分享网 - 轻松学习从此开始!    

Java知识分享网

Java1234官方群25:java1234官方群17
Java1234官方群25:838462530
        
SpringBoot+SpringSecurity+Vue+ElementPlus权限系统实战课程 震撼发布        

最新Java全栈就业实战课程(免费)

springcloud分布式电商秒杀实战课程

IDEA永久激活

66套java实战课程无套路领取

锋哥开始收Java学员啦!

Python学习路线图

锋哥开始收Java学员啦!
当前位置: 主页 > Java文档 > Java基础相关 >

jaxb-2_0-fr-spec PDF 下载


分享到:
时间:2021-01-30 10:32来源:http://www.java1234.com 作者:转载  侵权举报
jaxb-2_0-fr-spec PDF 下载
失效链接处理
jaxb-2_0-fr-spec PDF 下载


本站整理下载:
提取码:ef95 
 
 
相关截图:
 
主要内容:


1.1 Data binding
Any nontrivial application of XML will, then, be based upon one or more 
schemas and will involve one or more programs that create, consume, and 
manipulate documents whose syntax and semantics are governed by those 
schemas. While it is certainly possible to write such programs using the lowlevel SAX parser API or the somewhat higher-level DOM parse-tree API, doing 
so is not easy. The resulting code is also difficult to maintain as the schemas 
evolve. While useful to some, many applications access and manipulate XML 
content within a document; its document structure is less relevant.
It would be much easier to write XML-enabled programs if we could simply 
map the components of an XML document to in-memory objects that represent, 
in an obvious and useful way, the document’s intended meaning according to its 
schema. Of what classes should these objects be instances? In some cases there 
will be an obvious mapping from schema components to existing classes, 
especially for common types such as String, Date, Vector, and so forth. In 
general, however, classes specific to the schema being used will be required. 
Classes specific to a schema may be derived or may already exist. In some 
application scenarios e.g. web services, a data model composed using user 
authored classes may already exist. A schema is derived from existing classes. 
In-memory objects are instances of existing classes. In other application 
scenarios, a data model is composed by authoring a schema. In such cases, 
rather than burden developers with having to write classes specific to schema, 
we can generate the classes directly from the schema. In all application 
scenarios, we create a Java object-level binding of the schema.
But even applications manipulating documents at conceptual object level, may 
desire to access or manipulate structural information in a document, e.g. 
element names. Therefore, the ability for an application to relate between the 
XML document representation and the Java object-level binding enables the use 
of XML operations over the XML document representation, e.g. Xpath.to bind 
XML content to an object model such as DOM is useful. 
An XML data-binding facility therefore contains a schema compiler and a 
schema generator. A schema compiler can consume a schema and generate

 

------分隔线----------------------------

锋哥公众号


锋哥微信


关注公众号
【Java资料站】
回复 666
获取 
66套java
从菜鸡到大神
项目实战课程

锋哥推荐