156 lines
5.1 KiB
XML
156 lines
5.1 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!-- Schema file written by PDE -->
|
|
<schema targetNamespace="org.adempiere.pipo" xmlns="http://www.w3.org/2001/XMLSchema">
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.schema plugin="org.adempiere.pipo" id="org.adempiere.pipo.Handlers" name="2Pack Element Handlers"/>
|
|
</appinfo>
|
|
<documentation>
|
|
Extension point to provide 2pack handler implementation
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<element name="extension">
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.element />
|
|
</appinfo>
|
|
</annotation>
|
|
<complexType>
|
|
<choice>
|
|
<element ref="handler" minOccurs="1" maxOccurs="unbounded"/>
|
|
</choice>
|
|
<attribute name="point" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="id" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="name" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute translatable="true"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="handler">
|
|
<complexType>
|
|
<attribute name="id" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
element name like AD_Message, AD_Table, Code_Snippet, etc
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="class" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
Implementation class name for the org.adempiere.pipo2.ElementHandler interface
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute kind="java" basedOn=":org.adempiere.pipo2.ElementHandler"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="priority" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
numeric priority value, higher value is of higher priority
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="since"/>
|
|
</appinfo>
|
|
<documentation>
|
|
1.0.0
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="examples"/>
|
|
</appinfo>
|
|
<documentation>
|
|
<pre>
|
|
<extension
|
|
id="defaultHandlers" name="Default Handlers"
|
|
point="org.adempiere.pipo.Handlers">
|
|
<handler
|
|
class="org.adempiere.pipo2.handler.ColumnElementHandler"
|
|
id="AD_Column">
|
|
</handler>
|
|
<handler
|
|
class="org.adempiere.pipo2.handler.SQLStatementElementHandler"
|
|
id="SQLStatement">
|
|
</handler>
|
|
<handler
|
|
class="org.adempiere.pipo2.handler.GenericPOElementHandler"
|
|
id="table.genericHandler">
|
|
</handler>
|
|
</extension>
|
|
</pre>
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="apiinfo"/>
|
|
</appinfo>
|
|
<documentation>
|
|
The class attribute must represent an implementor of org.adempiere.pipo2.ElementHandler
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="implementation"/>
|
|
</appinfo>
|
|
<documentation>
|
|
Default implementation in the org.adempiere.pipo.handlers bundle
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="copyright"/>
|
|
</appinfo>
|
|
<documentation>
|
|
This file is part of Adempiere ERP Bazaar http://www.adempiere.org.
|
|
|
|
Copyright (C) Heng Sin Low.
|
|
Copyright (C) Contributors.
|
|
|
|
This program is free software; you can redistribute it and/or modify it
|
|
under the terms version 2 of the GNU General Public License as published
|
|
by the Free Software Foundation. This program is distributed in the hope
|
|
that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
See the GNU General Public License for more details.
|
|
You should have received a copy of the GNU General Public License along
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
|
|
|
</documentation>
|
|
</annotation>
|
|
|
|
</schema>
|