Hi,
Is it possible to use a user defined class as attribute type?
For instance, if I have this element:
<xsd:element name="query">
<xsd:complexType>
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="factory" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
Now I want to add an attribute named test, but I don't want the type to be one
of the predefined ones. Instead I wan't it to be, for instance,
com.somethirdparty.package.SomeClass, how can I do this? Neighter
type="com.somethirdparty.package.SomeClass" nor
type="xsd:com.somethirdparty.package.SomeClass" works. All I want is that the
generated code imports com.somethirdparty.package.SomeClass and has a private
field test of the type SomeClass, with a getter- and setter-method.
I have read the FAQ and the examples, but I can't find anything like this. There
must be many people who need something like this, right?
Regards
/Jimi
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email