You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by xm...@xml.apache.org on 2004/04/28 02:15:53 UTC
[Apache XMLBeans Wiki] Updated: ExtensionInterfacesFeature
Date: 2004-04-27T17:15:52
Editor: 63.120.159.29 <>
Wiki: Apache XMLBeans Wiki
Page: ExtensionInterfacesFeature
URL: http://wiki.apache.org/xmlbeans/ExtensionInterfacesFeature
no comment
Change Log:
------------------------------------------------------------------------------
@@ -42,7 +42,7 @@
In the xbean implementation class {{{xsd.company.impl.CompanyDocumentImpl}}} methods will get generated to implement the extension interface and they will delegate to the extension handler methods.
-The handler {{{myPackage.FooHandler}}} has to contain a public static method with the same name as the interface method, with the first parameter of type XmlObject, followed by the parameters of the interface method:
+The handler {{{myPackage.FooHandler}}} has to contain a public static method with the same name as the interface method, with the first parameter of type !XmlObject, followed by the parameters of the interface method:
{{{
public static String foo(XmlObject xo, String s)
{
@@ -52,7 +52,7 @@
This method will be executed every time the foo method on {{{xsd.company.CompanyDocument}}} will be called.
-
+[[Anchor(building)]]
=== Building ===
Because of the circular dependency building all the pieces can be a little tricky. (An implementation using JAM will improve the building process.)
---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org