xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cezar Andrei" <ce...@bea.com>
Subject RE: how to define an interface extension for all created java-Types rsp. all schema-elements
Date Fri, 08 Dec 2006 23:34:27 GMT
Have you tried using: <xb:extension for="*"> ?

Cezar

> -----Original Message-----
> From: Siegfried Baiz [mailto:baiz@sulzer.de]
> Sent: Friday, December 08, 2006 4:07 PM
> To: user@xmlbeans.apache.org
> Subject: how to define an interface extension for all created
java-Types
> rsp. all schema-elements
> 
> Hi All,
> 
> I'd need some help for "Interface Extensions" via .xsdconfig:
> 
> For a given xsd-file I want to create XmlBeans with the following
> Property:
> 
> *each created class should implement an given Interface, say
IAdaptable*
> 
> I wonder if it's possible to custumize .xsdconfig in order to get an
> "Interface Extensions"
> for all created java-Types i.e. for all nodes of in the given
schema-file?
> 
> Some months ago I tried something like this:
> 
> <xb:extension for="org.apache.xmlbeans.XmlObject">
>  <xb:interface name="org.xxx.runtime.IAdaptable">
>   <xb:staticHandler>de.baiz.beanex.aptableHandler</xb:staticHandler>
>  </xb:interface>
> </xb:extension>
> 
> unfortunatally without succes.
> 
> Maybe that was a stupid approch as XmlObject is not created by scomp.
> But I hope at least it shows what im looking for.
> 
> Thanks for any help
> 
> Siegfried
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: user-help@xmlbeans.apache.org

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org


Mime
View raw message