如何将DTD转换为人类可读的格式

时间:2017-02-18 20:40:38

标签: hibernate dtd documentation-generation

是否有任何工具可将DTD(即Hibernate 3:http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd)转换为人类可读的格式,即:

<class
        name="ClassName"                              (1)
        table="tableName"                             (2)
        discriminator-value="discriminator_value"     (3)
        mutable="true|false"                          (4)
        schema="owner"                                (5)
        catalog="catalog"                             (6)
        proxy="ProxyInterface"                        (7)
        dynamic-update="true|false"                   (8)
        dynamic-insert="true|false"                   (9)
        select-before-update="true|false"             (10)
        polymorphism="implicit|explicit"              (11)
        where="arbitrary sql where condition"         (12)
        persister="PersisterClass"                    (13)
        batch-size="N"                                (14)
        optimistic-lock="none|version|dirty|all"      (15)
        lazy="true|false"                             (16)
        entity-name="EntityName"                      (17)
        check="arbitrary sql check condition"         (18)
        rowid="rowid"                                 (19)
        subselect="SQL expression"                    (20)
        abstract="true|false"                         (21)
        node="element-name"
/>

http://docs.jboss.org/ejb3/app-server/Hibernate3/reference/en/html_single/#mapping-declaration-class

复制

提前致谢

0 个答案:

没有答案