473,320 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

complexType implements or extends other java

I am using jaxb to create my java class and I would like the created class to have additional attributes like:
extends java.io.Serializable
implements my.com.Interface

<xs:complexType name="class-name">

translated to:
public class ClassName extends java.io.Serializable {
}

Is there some way to do this?

Thanks.
Oct 19 '08 #1
0 1775

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Doug van Vianen | last post by:
I am fairly new to Java but have written an applet that uses 'implements Runnable' to do some timing eg public class Puzzle extends Applet implements Runnable { etc. and also an applet which...
0
by: Vincent Yau | last post by:
Dear All: I am new to WSDL so I have a question. I have been using Java/SOAP to get some data from this web services running at a remote site. Everything is great except last week when I...
4
by: Nicolas Mailhot | last post by:
Hi, I've been sent an xsd that uses the following construct : <xsi:element name="foo"> <xsi:complexType name="foo"> Is this something allowed ? I couldn't find anything that said it's...
1
by: Tony Johansson | last post by:
Hello experts! As this program is now it's works perfectly when running as a application or as an Applet. Now to my question if I just change this row "public class Converter extends Applet "...
0
by: Chua Wen Ching | last post by:
Hi there. I had couple of Java codes with me that i not sure how would i code this in C#. I always use jcreator without ide. So a bit confuse over c#. Okay!
3
by: Gerry Vandermaesen | last post by:
Hi, I am currently having the exact same problem as described here: http://bugs.php.net/bug.php?id=36226 The webservice is configured to return 0-* objects of a complextype, but when only...
4
by: reon | last post by:
Hi In this program i tried implements,inheritance (I tried multiple inheritance in C++). In C++ I knew that multiple inheritance means we can invoke all classes and class functions from derived...
1
by: Christian Welzel | last post by:
Hi there! Currently i'm thinking about how to solve this problem: if (t3lib_div::int_from_ver(phpversion())<5000000) { // php4 class tx_lib_object extends tx_lib_selfAwareness {...} // }...
11
by: Wojciech Gryc | last post by:
Hi, I recently started using Python and am extremely happy with how productive it's made me, even as a new user. I'm hoping to continue using the language for my research, and have come across a...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.