JAXP简介

Java API for XML Processing (JAXP) enables applications toparse, transform, validate and query XML documents using an API that isindependent of a particular XML processor implementation.

JAXP specification provides a way to map Java classes to XMLrepresentations,是JCP的标准之一:

  • JAXP 1.0,JSR-5
  • JAXP 1.1~1.2,JSR-63
  • JAXP 1.3~1.6,JSR-206

JAXP project的主要目的就是开发并维护JAXP RI,当前最新版是2014.3发布的JAXP RI 1.6.0。JAXPproject已经终止,JAXP后续开发已经转入OpenJDK社区的CoreLibraries组。

 

从JDK4开始,JAXP成为JDK的组成部分:

  • JAXP 1.1 in JDK 4
  • JAXP 1.3 in JDK 5
  • JAXP 1.4 in JDK 6
  • JAXP 1.5 in JDK 7 u40
  • JAXP 1.6.0 in JDK 8 

  

two main parts in JAXP:

  • a parsing API

             Xerces XML parser

  • a transform API

             Xalan XSLT processor


参考文献:

    JAXP project官网https://jaxp.java.net/


你可能感兴趣的:(java,xml,jaxp,Xerces,Xalan)