📄 ofbiz-component.dtd
字号:
<?xml version="1.0" encoding="UTF-8"?>
<!--
To refer to this DTD in your XML file, use the following declaration:
<!DOCTYPE ofbiz-component PUBLIC "-//OFBiz//DTD Component Config//EN" "http://www.ofbiz.org/dtds/ofbiz-component.dtd">
-->
<!--
* Copyright (c) 2003 The Open For Business Project - www.ofbiz.org
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* $Id: ofbiz-component.dtd,v 1.9 2003/12/07 18:02:15 ajzeneski Exp $
-->
<!ELEMENT ofbiz-component ( depends-on*, resource-loader*, classpath*, entity-resource*, service-resource*, webapp* )>
<!ATTLIST ofbiz-component
name CDATA #REQUIRED
>
<!ELEMENT depends-on EMPTY>
<!ATTLIST depends-on
component-name CDATA #REQUIRED
>
<!ELEMENT resource-loader EMPTY>
<!ATTLIST resource-loader
name CDATA #REQUIRED
type ( component | file | classpath | url ) "component"
prepend-env CDATA #IMPLIED
prefix CDATA #IMPLIED
>
<!ELEMENT classpath EMPTY>
<!ATTLIST classpath
type ( jar | dir ) #REQUIRED
location CDATA #REQUIRED
>
<!ELEMENT entity-resource EMPTY>
<!ATTLIST entity-resource
type ( model | group | eca | data ) #REQUIRED
reader-name CDATA #REQUIRED
loader CDATA #REQUIRED
location CDATA #REQUIRED
>
<!ELEMENT service-resource EMPTY>
<!ATTLIST service-resource
type ( model | group | eca ) #REQUIRED
loader CDATA #REQUIRED
location CDATA #REQUIRED
>
<!ELEMENT webapp ( virtual-host*, init-param* )>
<!ATTLIST webapp
name CDATA #REQUIRED
title CDATA #IMPLIED
server CDATA #REQUIRED
location CDATA #REQUIRED
mount-point CDATA #IMPLIED
base-permission CDATA #IMPLIED
app-bar-display ( true | false ) "true"
>
<!ELEMENT virtual-host EMPTY>
<!ATTLIST virtual-host
host-name CDATA #REQUIRED
>
<!ELEMENT init-param EMPTY>
<!ATTLIST init-param
name CDATA #REQUIRED
value CDATA #REQUIRED
>
<!--
<ofbiz-component name="core">
<resource-loader name="maincomponent" type="component"/>
<resource-loader name="mainfile" type="file" prepend-env="ofbiz.home" prefix=""/>
<resource-loader name="maincp" type="classpath"/>
<resource-loader name="mainurl" type="url"/>
<classpath type="jar" location="lib/product.jar"/>
<classpath type="dir" location="classes"/>
<entity-resource type="model" reader-name="main" loader="maincomponent" location="entity/entitymodel.xml"/>
<entity-resource type="group" reader-name="main" loader="maincomponent" location="entity/entitygroup.xml"/>
<entity-resource type="eca" reader-name="main" loader="maincomponent" location="entity/eecas.xml"/>
<service-resource type="model" loader="maincomponent" location="service/services_test.xml"/>
<service-resource type="group" loader="maincomponent" location="service/groups_test.xml"/>
<service-resource type="eca" loader="maincomponent" location="service/secas_test.xml"/>
<webapp name="webtools" title="WebTools" server="default" location="webtools" mount-point="/webtools"/>
</ofbiz-component>
-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -