List Info

Thread: Creating a different prefix for interface names than for class names




Creating a different prefix for interface names than for class names
user name
2006-05-02 08:37:50
Hello,

I follow the convention of prefixing an "I" to
my Java interface names. 
I am therefore trying to instruct the XML Beans scomp
generator to 
prefix the generated interfaces with an "I",
without prefixing the 
implementing classes names ("...impl"), too.

Using an .xsdconfig file, I am able to prefix all or some of
my complex 
types with an "I", however this always also
applies to the implementing 
classes (using xb:namespace and/or xb:qname).

Is there any way to instruct the scomp generator to only
prefix the 
interface names, without prefixing the implementing classes
names, too?

Thanks a lot,

Reto

------------------------------------------------------------
---------
To unsubscribe, e-mail: user-unsubscribexmlbeans.apache.org
For additional commands, e-mail: user-helpxmlbeans.apache.org

Creating a different prefix for interface names than for class names
user name
2006-05-02 08:51:01
I would say that it is not possible.

On Tue, 2006-05-02 at 10:37, Reto Mayer wrote:
> Hello,
> 
> I follow the convention of prefixing an "I"
to my Java interface names. 
> I am therefore trying to instruct the XML Beans scomp
generator to 
> prefix the generated interfaces with an
"I", without prefixing the 
> implementing classes names ("...impl"),
too.
> 
> Using an .xsdconfig file, I am able to prefix all or
some of my complex 
> types with an "I", however this always also
applies to the implementing 
> classes (using xb:namespace and/or xb:qname).
> 
> Is there any way to instruct the scomp generator to
only prefix the 
> interface names, without prefixing the implementing
classes names, too?
> 
> Thanks a lot,
> 
> Reto
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: user-unsubscribexmlbeans.apache.org
> For additional commands, e-mail: user-helpxmlbeans.apache.org
> 


------------------------------------------------------------
---------
To unsubscribe, e-mail: user-unsubscribexmlbeans.apache.org
For additional commands, e-mail: user-helpxmlbeans.apache.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )