xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siegfried Baiz <b...@sulzer.de>
Subject Re: how to define an interface extension for all created java-Types rsp. all schema-element
Date Sat, 09 Dec 2006 15:03:31 GMT
Hello Cazar,

thanks for your swift reply!

What ist "*" standing for - does it mean all types of all created packages?

In that sense com.abc.core.* would match on all types of
    com.abc.core.pack1
    com.abc.core.pack2
    com.abc.core.pack2.subpack3
etc. - like the import-statements in java?

Thanks for your help - I'm gonna try it soon.

Siggi

Cezar Andrei wrote:
> 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