473,796 Members | 2,661 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

complexType implements or extends other java

3 New Member
I am using jaxb to create my java class and I would like the created class to have additional attributes like:
extends java.io.Seriali zable
implements my.com.Interfac e

<xs:complexTy pe name="class-name">

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

Is there some way to do this?

Thanks.
Oct 19 '08 #1
0 1796

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

Similar topics

3
6970
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 detects left, right and double mouse clicks using 'implements MouseListener' eg public class TestMouse extends Applet implements
0
1897
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 want to retrieve some data that are in String. In the WSDL provided, the data type returned is
4
1352
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 wrong, but at the same time I have an xml parser that chokes on it and none of the public xsd examples I've ever seen used it. I'd like to
1
4670
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 " in class Converter below that it extends from a Frame instead from an Applet then the whole program krasch with message "An exception 'java.lang.IllegalArgumentException' has occured in ... I mean that if I run this program as an application I...
0
1637
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
1533
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 one single item is returned, it does not get deserialized as an array as I would expect, but as a single object.
4
1660
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 class itself with an object... I tied that same idea in Java , but in java it is a flop to me... I tried inheritance using implements and interface in java... If anybody having any idea or know how can repair this code please tell me... Now...
1
1852
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 {...} // } else { // php5
11
9409
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 bit of a stumbling block. I'm a seasoned Java programmer and quite a big fan of interfaces... i.e. The idea that if I make a number of distinct classes that implement interface X, I can pass them all as parameters to functions
0
10459
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10236
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10182
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10017
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7552
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6793
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5445
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4120
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.