2010-11-22 13:33:40 +07:00
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.adempiere.base" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.adempiere.base" id="org.adempiere.base.IDocFactory" name="Financial Document Factory"/>
</appinfo>
<documentation>
2010-12-17 15:03:56 +07:00
Extension point for accounting document factory. Matching is done against the gaap attribute following the priority sequence ( start from larger number ). Extension is only expected to provide document instance for document type that it intents to support and can return null for others.
2010-11-22 13:33:40 +07:00
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<choice>
<element ref="factory"/>
</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="factory">
<complexType>
<attribute name="gaap" type="string" use="required">
<annotation>
<documentation>
2010-12-17 15:03:56 +07:00
gaap to match c_acctschema.gaap. you can use * to match everything
2010-11-22 13:33:40 +07:00
</documentation>
</annotation>
</attribute>
<attribute name="priority" type="string">
<annotation>
<documentation>
2010-12-17 15:03:56 +07:00
numeric priority value, higher value is of higher priority.
2010-11-22 13:33:40 +07:00
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
2010-12-17 15:03:56 +07:00
Implementation class for the org.adempiere.base.IDocFactory
2010-11-22 13:33:40 +07:00
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn=":org.adempiere.base.IDocFactory"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="since"/>
</appinfo>
<documentation>
2010-12-17 15:03:56 +07:00
1.0.0
2010-11-22 13:33:40 +07:00
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="examples"/>
</appinfo>
<documentation>
2010-12-20 09:46:25 +07:00
<pre>
<extension
2010-12-17 15:03:56 +07:00
id="org.adempiere.base.DefaultDocFactory"
name="Default Document Factory"
point="org.adempiere.base.IDocFactory">
<factory
class="org.adempiere.base.DefaultDocumentFactory"
gaap="*"
priority="0">
</factory>
</extension>
2010-12-20 09:46:25 +07:00
</pre>
2010-11-22 13:33:40 +07:00
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="apiinfo"/>
</appinfo>
<documentation>
2010-12-17 15:03:56 +07:00
The class attribute must represent an implementor of org.adempiere.base.IDocFactory
2010-11-22 13:33:40 +07:00
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="implementation"/>
</appinfo>
<documentation>
2010-12-17 15:03:56 +07:00
Default document factory in the org.adempiere.base bundle.
2010-11-22 13:33:40 +07:00
</documentation>
</annotation>
2010-12-17 15:03:56 +07:00
<annotation>
<appinfo>
<meta.section type="copyright"/>
</appinfo>
<documentation>
2010-12-20 09:46:25 +07:00
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.
2010-12-17 15:03:56 +07:00
</documentation>
</annotation>
2010-11-22 13:33:40 +07:00
</schema>