Return-Path: Delivered-To: apmail-xmlbeans-user-archive@www.apache.org Received: (qmail 14672 invoked from network); 9 Dec 2006 15:04:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Dec 2006 15:04:14 -0000 Received: (qmail 9906 invoked by uid 500); 9 Dec 2006 15:04:16 -0000 Delivered-To: apmail-xmlbeans-user-archive@xmlbeans.apache.org Received: (qmail 9517 invoked by uid 500); 9 Dec 2006 15:04:15 -0000 Mailing-List: contact user-help@xmlbeans.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: user@xmlbeans.apache.org List-Id: Delivered-To: mailing list user@xmlbeans.apache.org Received: (qmail 9505 invoked by uid 99); 9 Dec 2006 15:04:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Dec 2006 07:04:15 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [212.29.0.3] (HELO relay.teamware-gmbh.de) (212.29.0.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Dec 2006 07:04:02 -0800 Received: from gg.sulzer.de (mail.sulzer.de [212.29.3.193]) by relay.teamware-gmbh.de (Postfix) with SMTP id A2C399C19D for ; Sat, 9 Dec 2006 16:03:40 +0100 (CET) Received: from gg.sulzer.de (localhost [127.0.0.1]) by gg.sulzer.de (8.13.6/8.13.6) with ESMTP id kB9F3eo4028873 for ; Sat, 9 Dec 2006 16:03:40 +0100 (CET) Received: (from localhost) by gg.sulzer.de (MSCAN) id 2/gg.sulzer.de/smtp-gw/mscan; Sat Dec 9 16:03:40 2006 Message-ID: <457AD043.7030202@sulzer.de> Date: Sat, 09 Dec 2006 16:03:31 +0100 From: Siegfried Baiz User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: user@xmlbeans.apache.org Subject: Re: how to define an interface extension for all created java-Types rsp. all schema-element References: <99479F4D39C9244F8E17E688193A3DD8011E34AC@repbex02.amer.bea.com> In-Reply-To: <99479F4D39C9244F8E17E688193A3DD8011E34AC@repbex02.amer.bea.com> Content-Type: multipart/alternative; boundary="------------000707030503030609080308" X-OriginalArrivalTime: 09 Dec 2006 15:03:31.0020 (UTC) FILETIME=[3078F0C0:01C71BA3] X-Virus-Checked: Checked by ClamAV on apache.org --------------000707030503030609080308 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: ? > > 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: >> >> >> >> de.baiz.beanex.aptableHandler >> >> >> >> 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 > > > --------------000707030503030609080308 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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


  
--------------000707030503030609080308--