Using the xjc:superClass customization in jaxb

Hi,
I'm having some problems with the <xjc:superClass> customization when I use this, the properties of my superClass don't get serialized to xml the xml file is empty. Can sombody help me with this problem?
this is my xsd:
<xsd:schema jaxb:version="1.0" jaxb:extensionBindingPrefixes="xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc">
     <xsd:annotation>
          <xsd:appinfo>
               <jaxb:globalBindings generateIsSetMethod="true">
                    <xjc:serializable/>
                    <xjc:superClass name="VtProduct"/>
               </jaxb:globalBindings>
          </xsd:appinfo>
     </xsd:annotation>
     <xsd:element name="fastrackProduct">
</xsd:schema>and this is my VtProduct from witch the fastrackProduct should extend:
public class VtProduct implements Serializable {
    private String code;
    private String description;
    private int priceInCents;
    private String deliveryName;
    private String uid;
    public VtProduct() {
    public String getCode() {
        return this.code;
    public void setCode(String code) {
        this.code = code;
    public String getDescription() {
        return this.description;
    public void setDescription(String description) {
        this.description = description;
    public int getPriceInCents() {
        return this.priceInCents;
    public void setPriceInCents(int priceInCents) {
        this.priceInCents = priceInCents;
    public String getDeliveryName()  {
        return this.deliveryName;
    public void setDeliveryName(java.lang.String deliveryName)  {
        this.deliveryName = deliveryName;
    public String getUid() {
        return this.uid;
    public void setUid(java.lang.String uid) {
        this.uid = uid;
}This is what i'm trying to do im my main class:
FastrackProductImpl po = new FastrackProductImpl();
po.setCode("1234567890");
po.setDeliveryName("Delivery name");
po.setDescription("Description");
po.setPriceInCents(1000);
po.setUid("0987654321");
po.setFastrackProductId("FSID1234");
FileOutputStream mout = new FileOutputStream("fastrackProduct.xml");
marshaller.marshal(po, mout);
mout.close();

Thanks a lot!
Btw, are all the tags that a .xjs file takes documented anywhere??
Its feels rather silly to struggle so much for little things.(Moreover, I am an XML rookie ...so I don't have much f an instinct when it comes to that!)
Thanks again.

Similar Messages

  • The icons in the bookmark tool bar are blank and the text that use to be below the icon is gone. I now have to cursor over the blank icons to see the text and the one I want. Can the icon/text customization be returned?

    In the Navigation Toolbar, the icons "Back", "Forward" etc. show the small icon and the descriptive text below the Icon. My Bookmark Toolbar use to have the same icon/text format but at some point, possibly a browser update, that changed. Currently, I do have a visible Bookmark Toolbar BUT the icons do not show the website icon, as previously, and the text below each icon is gone. I an cursor over each icon and the text becomes visible next to the icon. This is a bit of a pain to find a bookmark. Can I do a customization to return to the icon/text format.
    Was this changed because browser users requested this option, or was it an internal decision.? If the later why make such changes when not requested?
    Ed Sander

    That wasn't a change in Firefox. It sounds like something is broken in your Firefox installation, or you are misunderstanding the different between the Bookmarks Toolbar and the other Toolbars.
    In the Bookmarks Toolbar the text appears next to the website icon, not below the icon as with the other two Toolbars, and it's not switchable between text and no text as with the other Toolbars. With both the bookmark icon and the Bookmark name missing, something is broken in your installation. You need to do a little troubleshooting.
    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]
    If your problem isn't related to an extension, your bookmarks data base file (places.sqlite) is probably corrupt. <br />
    http://kb.mozillazine.org/Locked_or_damaged_places.sqlite <br />
    Be aware that if you delete the "places.sqlite" and similar files, your bookmark website icons won't automatically appear (the JSON backups don't have that icon data) when you restart Firefox and the places.sqlite is rebuilt using the backup data file, but the icons should be saved the first time each bookmark is used for the first time.

  • How to Use an Image to Customize the Static Button Widget

    Can I just get someone to help me figure out how to use an image to customize the static button widget, please?
    I have tried using several different types of images, but none of them seem to actually change the appearance of the button.
    Thanks!
    Laura
    Captivate 5.5

    I tried to use the tools within the widget itself - it offers you the opportunity to use an image (see screenshot below).
    I also opened it in Flash and tried to replace the images for one of the button styles there w/ my own, but in re-publishing the SWF from there I broke the widget.  When I attempted to use the edited widget, there were no customization controls available after I inserted it (see screenshot two below).

  • Using the word super to access superclass fields - How?

    I just read that it is possible to access public members of the superclass by using the keyword super. To test it, I tried the following but it does not work. What is the proper way?
    public class A {
         public String color = "Black";     
    public class B extends A{
         public String color = "White";
    public class test {
         public static void main(String[] args) {
              A x= new A();
              B y= new B();
              System.out.println(x.color); //returns Black
              System.out.println(y.color); //returns White
              System.out.println(y.super.color); ERROR!!!
    }

    Just trying to make this readable
    package forums;
    class Superclass {
      public String name = "Superclass";
    class Subclass extends Superclass {
      public String name = "Subclass";
    public class TheSuperSubClassTesterator {
      public static void main(String[] args) {
        Superclass superclass = new Superclass();
        System.out.println(superclass.name); //returns Superclass
        Subclass subclass = new Subclass();
        System.out.println(subclass.name);  //returns Subclass
        System.out.println(subclass.super.name); //ERROR!!!
    compile
    ---------- build ----------
    C:\Java\home\src\krc\tools>"C:\Program Files\Java\jdk1.6.0_12\bin\javac.exe" -Xlint -d C:\Java\home\classes -cp c:\java\home\src;.;C:\Java\home\classes C:\Java\home\src\krc\tools\TheSuperSubClassTesterator.java
    C:\Java\home\src\krc\tools\TheSuperSubClassTesterator.java:20: cannot find symbol
    symbol  : class subclass
    location: class forums.TheSuperSubClassTesterator
        System.out.println(subclass.super.name); //ERROR!!!
                           ^
    1 error
    Output completed (1 sec consumed)

  • OSB HowTo: Adding an endpoint using the customization file.

    Hi Guys,
    I want to add a new endpoint URL using the OSB customization file. My use case is, that we have single endpoints in the test environment but multiple (cluster) endpoints in the integration environment. So I though i can use the following Snippet to do so:
    <cus:envValueAssignments>
         <xt:envValueType>Service URI</xt:envValueType>
         <xt:location>1</xt:location>
         <xt:owner>
              <xt:type>BusinessService</xt:type>
              <xt:path>service/BusinesService</xt:path>
         </xt:owner>
         <xt:value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">http://myAdditionalClusterURL</xt:value>
    </cus:envValueAssignments>
    But I get the Error: "URI index 1 is not valid" which makes perfect sense. It is invalid, because I want to ADD and not EDIT it.
    So my question is, what is the right approach to achieve this.
    Kind Regards

    Hi,
    You have to add the new endpoint in "SERVICES URI TABLE":
    <cus:envValueAssignments>
    <xt:envValueType>Service URI Table</xt:envValueType>
    <xt:location xsi:nil="true"/>
    <xt:owner>
    <xt:type>BusinessService</xt:type>
    <xt:path>YOUR_BUSINESS_PATH</xt:path>
    </xt:owner>
    <xt:value xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:tableElement>
    <tran:URI>endpoint_0</tran:URI>
    <tran:weight>1</tran:weight>
    </tran:tableElement>
    <tran:tableElement>
    <tran:URI>http://myAdditionalClusterURL</tran:URI>
    <tran:weight>0</tran:weight>
    </tran:tableElement>
    </xt:value>
    </cus:envValueAssignments>
    The configuration plan must contain all endpoints, new and previously endpoint added.
    Regards.

  • Using the instructions posted, I am not able to customize the add-on bar. I cannot move or remove the elements there.

    I went to the instructions about how to customize the add-on bar. These were basically the same as for the other bars which appear on the top of the browser which I've done many times before. I wanted to move some items to the left of the bar and I wanted to remove some items. I was not able to do either of these things. The icon which is the moveable hand would not appear when mousing over the elements on the bar. I was able to add and remove a separator element but it would place only to the left of all the elements. I was not able to place it in any other spot.

    Some (possible) bug reports have been filed on the inability to rearrange all of the icons on the Add-on Bar. There may be some involvement of other add-ons causing that problem, but that is yet to be determined.
    I have not tried the latest version or Organize Status Bar (OSB) that '''silkphoenix''' pointed to in the post above. The note on that page indicates that the only update was changing the <max-version> to 4.0. I had already done that in the previous version of OSB that I have installed and doing just that did not solve the problem. In my case, some of the add-on icons are grouped together with a gray background in Customize mode and those seem unmovable.
    To move items to the left, you can try inserting Flexible spaces (or spaces) from the Customize palette.
    <br />
    <br />
    '''Other issues needing your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post. You can also see your plugins from the Firefox menu, Tools > Add-ons > Plugins.<br />
    <br />
    *Adobe Shockwave for Director Netscape plug-in, version 11.5.9.615
    **Current security update version is 11.5.6.620
    *Adobe PDF Plug-In For Firefox and Netscape "9.4.2"
    **Current security update versions are 9.4.3 and 10.0.2 released on 2011-03-21
    *Shockwave Flash 10.2 r152
    **Security update version10.2 r153 released on 2011-03-21
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
    #**Use either of the links below:
    #***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
    #***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE

  • How can I customize the toolbar when using the attribute browser

    In CVI 2012, the toolbar changes depending on the environment, e.g. it is different for the source window and the UI editor. The toolbar can be customized using the menu Options / Toolbar...
    Unfortunately, when using the attribute browser of the UI editor, another toolbar is displayed, i.e. not the UI editor toolbar.... I would have assumed that the attribute browser belongs to the UI editor, obviously it doesn't... So how can I customize the toolbar when using the attribute browser?
    Solved!
    Go to Solution.

    Luis,
    It's nice to have you back 
    Thank you for the clarification, so I'll elaborate a bit more: In the regular workspace toolbar, I have a disk symbol to save the file. This symbol is gone in the attribute browser...
    So I have three different toolbars, for source code (workspace), UI editor, and the UI editor displayed but the attribute browser clicked on (selected)... 
    Thanks
    Wolfgang
    Source code:
    UI editor:
    Attribute browser:

  • IOS Content Filtering Using TrendMicro: Can I customize the block-page redirect-url?

    I have IOS content filtering using the Trend Micro subscription service working on a 2911 running 15.1.(3)T3 with the security license option and a 30 day demo Trend subscription.
    Once I figured out that the content filtering for Trend appears to be completely broken in 15.2 (even using docs for 15.2) I went back to 15.1 and it works great.
    Everything seems great so far except I would like to have a more 'fancy' or custom blocked page where a user can have a couple links to either go to the trend micro reporting page http://global.sitesafety.trendmicro.com/result.php or some other page, and maybe some branding so they know the page is coming from our network and is not some fake security thing or phishing attempt or whatever.
    I know I can use the 'parameter-map type urlfpolicy trend ' section to do a tiny bit of customization of the text that appears on the default blocked page display and there is an option for it to go to a simple redirect instead ('block-page redirect-url') but I wonder if anyone has any ideas on how to do more with either the built in page or the redirect-url to keep the information of what page the user was trying to access and why it was blocked (category etc.) while adding more features.
    Thanks!
    Oh, one last thing, this doesn't support any kind of 'user override' or anything like that does it? So that a network can have a filter applied but an admin could override the filtering to allow temporary access to something?

    Hmm... no thoughts over the weekend. Anyone?

  • When I try to use the customize feature for toolbars, the toolbars themselves disappear as soon as I click "customize." Ideas?

    When I try to use the customize feature for toolbars, the toolbars themselves disappear as soon as I click "customize." This happens whether I choose "customize" from the drop-down menu, or use the "control-click" option. I don't remember having this problem before, since I've customized the toolbar previously, although not for a while.
    I'm running Firefox 17.0 on an iMac with OS 10.6.8

    Hello rheahirshman
    check it in [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#os=mac&browser=fx17 Safe Mode], in Safe Mode window select '''''"Start in Safe Mode"''''' and see if this happen again, '''''if not''''' see: [https://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems#os=mac&browser=fx17 Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Why doesn't my iTunes Radio give me the option to customize stations using "play more like this" and "never play this" in the star menu?

    Why doesn't my iTunes Radio give me the option to customize stations using "play more like this" and "never play this" in the star menu?

    You can only "play more like this" on your custom stations. The pre-programmed ones cannot be altered, at least to my understanding

  • I want to use the full windows 10 and customize it to see how i like it but i need to activate windows

    I want to use the full windows 10 enterprize and customize it to see how i like it but i need to activate windows 

    Hi,
    Windows 10 full version has not been released at this moment, as mentioned in the first reply, you can use the Windows 10 Technicla Preview, a product key is not required for this software, you can get latest news by subscribing
    Windows IT Pro Insider
    Yolanda Zhu
    TechNet Community Support

  • How do I customize the filename using the inline reader?

    Hi All,
    Using the following headers:
    Content-Disposition:inline; filename=customized_file_name.pdf
    Content-Transfer-Encoding:binary
    Content-Type:application/pdf; header=present
    I'd expect the default filename to be customized_file_name.pdf when user clicks on save button. But it's not. It seems to be built from url.
    Many thanks for any help on this issue.
    yame85

    Michelle,
    You can make a subclass of the JHeadstart FileHandlerBean, override method uploadFile, check the ecxtension in your class and then call super.
    Create a custom template for fileHandlerBean.vm (or fileHandlerBeanInTable.vm) to use your custom subclass.
    Steven Davelaar,
    JHeadstart Team.

  • How to compile the Java classes generated in JAXB

    I am using Windows 2000 Operating System. I found a xjc
    batch file on the sun's java forum.
    I used that to generate classes from XML. After generating
    the classes I could not compile
    the classes each depends on other AND THEY REQUIRE BOTH
    CLASS FILES.
    I will attach the schema file and dtd . Can you explaine me the problem.
    #<transactions.dtd>
    <?xml version="1.0" encoding="UTF-8"?>
    <!ELEMENT transactions (cardtocard*)>
    <!ELEMENT cardtocard (tocard, fromcard, fromcardver, amount, transdate, transid)
    >
    <!ELEMENT tocard (#PCDATA)>
    <!ELEMENT fromcard (#PCDATA)>
    <!ELEMENT fromcardver (#PCDATA)>
    <!ELEMENT amount (#PCDATA)>
    <!ELEMENT transdate (#PCDATA)>
    <!ELEMENT transid (#PCDATA)>
    transactions.xjs
    <xml-java-binding-schema>
    <element name="transactions" type="class" root="true"/>
    <element name="cardtocard" type="class"/>
    </xml-java-binding-schema>
    XML file
    ?xml version="1.0" encoding="UTF-8"?>
    <!--Sample XML file generated by XML Spy v4.4 U (http://www.xmlspy.com)-->
    <transactions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="C:\My Documents\Xml\SVTConcord.xsd">
    <cardtocard>
    <tocard>1111222233334444</tocard>
    <fromcard>6666777788889999</fromcard>
    <fromcardver>567</fromcardver>
    <amount>100.00</amount>
    <transdate>2002-06-04 00:00:00.000</transdate>
    <transid>1111222202</transid>
    </cardtocard>
    </transactions>
    the XJC compiler for windows is
    @echo off
    echo JAXB Schema Compiler
    echo --------------------
    if "%JAVA_HOME%" == "" goto errorJVM
    if "%JAXB_HOME%" == "" goto errorJAXB
    set JAXB_LIB=%JAXB_HOME%\lib
    set JAXB_CLASSES=%JAXB_HOME%\classes
    echo %JAVA_HOME%\bin\java.exe -jar %JAXB_LIB%\jaxb-xjc-1.0-ea.jar %1 %2 %3 %4 %5
    %JAVA_HOME%\bin\java.exe -jar %JAXB_LIB%\jaxb-xjc-1.0-ea.jar %1 %2 %3 %4 %5
    goto end
    :errorJVM
    echo ERROR: JAVA_HOME not found in your environment.
    echo Please, set the JAVA_HOME variable in your environment to match the
    echo location of the Java Virtual Machine you want to use.
    echo For example:
    echo set JAVA_HOME=c:\jdk1.4.0_01
    goto end
    :errorJAXB
    echo ERROR: JAXB_HOME not found in your environment.
    echo Please, set the JAXB_HOME variable in your environment to match the
    echo location of the JAXB installation directory.
    echo For example:
    echo set JAXB_HOME=c:\jdk1.4.0_01\jaxb-1.0-ea
    :end

    When you compile the generated classes, be sure to put jaxb-rt-1.0-ea.jar in your classpath!

  • Unable to compile the Java Files generated by JAXB

    Hi,
    I have generated the Java Files for a DTD and .xjs file using JAXB. But when i tyr to compile the .java files generated i am getting errors.
    My DTD file is addctq.dtd
    <?xml version="1.0" encoding="UTF-8"?>
    <!ELEMENT AddCtq (Ctq*)>
    <!ELEMENT Ctq (PartNumber ,PartDescription,CtqDescription,CtqType,ProductLine,Supplier,Ppctq,Ctp,Ctc,CtqCode1,CtqCode2,CtqCode3,Commodity,SubCommodity,UnitOfMeasure,Client,SamplingFrequency,Remarks,VariableData)>
    <!ELEMENT VariableData (SubGroupSize, Specification,Nominal,Usl,Ual,Lal,Lsl,Zal,RangeVal?,RangeAlarmVal?)>
    <!ELEMENT PartNumber (#PCDATA)>
    <!ATTLIST PartNumber new CDATA #REQUIRED >
    <!ELEMENT PartDescription (#PCDATA)>
    <!ELEMENT CtqDescription (#PCDATA)>
    <!ELEMENT CtqType (#PCDATA)>
    <!ELEMENT ProductLine (#PCDATA)>
    <!ELEMENT Supplier (#PCDATA)>
    <!ELEMENT Ppctq (#PCDATA)>
    <!ELEMENT Ctp (#PCDATA)>
    <!ELEMENT Ctc (#PCDATA)>
    <!ELEMENT CtqCode1 (#PCDATA)>
    <!ELEMENT CtqCode2 (#PCDATA)>
    <!ELEMENT CtqCode3 (#PCDATA)>
    <!ELEMENT Commodity (#PCDATA)>
    <!ELEMENT SubCommodity (#PCDATA)>
    <!ELEMENT UnitOfMeasure (#PCDATA)>
    <!ELEMENT Client (#PCDATA)>
    <!ELEMENT SamplingFrequency (#PCDATA)>
    <!ELEMENT Remarks (#PCDATA)>
    <!ELEMENT SubGroupSize (#PCDATA)>
    <!ELEMENT Specification (#PCDATA)>
    <!ELEMENT Nominal (#PCDATA)>
    <!ELEMENT Usl (#PCDATA)>
    <!ELEMENT Ual (#PCDATA)>
    <!ELEMENT Lal (#PCDATA)>
    <!ELEMENT Lsl (#PCDATA)>
    <!ELEMENT Zal (#PCDATA)>
    <!ELEMENT RangeVal (#PCDATA)>
    <!ELEMENT RangeAlarmVal (#PCDATA)>
    and the .xjs file i created is addctq.xjs
    <?xml version="1.0" encoding="UTF-8" ?>
    <xml-java-binding-schema version="1.0-ea">
    <options package="com.geindustrial.sqms"/>
    <element name="AddCtq" type="class" root="true">
    <content>
    <element-ref name="Ctq"/>
    </content>
    </element>
    <element name="Ctq" type="class">
    <content>
         <element-ref name="PartNumber"/>
         <element-ref name="PartDescription"/>
         <element-ref name="CtqDescription"/>
         <element-ref name="CtqType"/>
         <element-ref name="ProductLine"/>
         <element-ref name="Supplier"/>
         <element-ref name="Ppctq"/>
         <element-ref name="Ctp"/>
         <element-ref name="Ctc"/>
         <element-ref name="CtqCode1"/>
         <element-ref name="CtqCode2"/>
         <element-ref name="CtqCode3"/>
         <element-ref name="Commodity"/>
         <element-ref name="SubCommodity"/>
         <element-ref name="UnitOfMeasure"/>
         <element-ref name="Client"/>
         <element-ref name="SamplingFrequency"/>
         <element-ref name="Remarks"/>
         <element-ref name="VariableData"/>
    </content>      
    </element>
    <element name="VariableData" type="class">
    <content>
    <element-ref name="SubGroupSize"/>
    <element-ref name="Specification"/>
    <element-ref name="Nominal"/>
    <element-ref name="Usl"/>
    <element-ref name="Ual"/>
    <element-ref name="Lal"/>
    <element-ref name="Lsl"/>
    <element-ref name="Zal"/>
    </content>
    </element>
    <element name="PartNumber" type="value">
    <attribute name="new"/>
    </element>
    <element name="PartDescription" type="value">
    </element>
    <element name="CtqDescription" type="value">
    </element>
    <element name="CtqType" type="value">
    </element>
    <element name="ProductLine" type="value">
    </element>
    <element name="Supplier" type="value">
    </element>
    <element name="Ppctq" type="value">
    </element>
    <element name="Ctp" type="value">
    </element>
    <element name="Ctc" type="value">
    </element>
    <element name="CtqCode1" type="value">
    </element>
    <element name="CtqCode2" type="value">
    </element>
    <element name="CtqCode3" type="value">
    </element>
    <element name="Commodity" type="value">
    </element>
    <element name="SubCommodity" type="value">
    </element>
    <element name="UnitOfMeasure" type="value">
    </element>
    <element name="Client" type="value">
    </element>
    <element name="SamplingFrequency" type="value">
    </element>
    <element name="Remarks" type="value">
    </element>
    <element name="SubGroupSize" type="value" convert="int">
    </element>
    <element name="Specification" type="value">
    </element>
    <element name="Nominal" type="value" convert="float">
    </element>
    <element name="Usl" type="value" convert="float">
    </element>
    <element name="Ual" type="value" convert="float">
    </element>
    <element name="Lal" type="value" convert="float">
    </element>
    <element name="Lsl" type="value" convert="float">
    </element>
    <element name="Zal" type="value" convert="float">
    </element>
    <element name="RangeVal" type="value" convert="float">
    </element>
    <element name="RangeAlarmVal" type="value" convert="float">
    </element>
    </xml-java-binding-schema>
    When i ran the xjc , it generated 3 .java files
    AddCtq.java , Ctq.java and VariableData.java
    But i am unable to compile any of the above files...
    The Error i am getting is
    VariableData.java:710: Undefined variable or class name: AddCtq
    return AddCtq.newDispatcher();
    ^
    1 error
    If i try to compile AddCtq.java , the Error i am getting is
    AddCtq.java:4: Class com.geindustrial.sqms.Ctq not found in import.
    import com.geindustrial.sqms.Ctq;
    ^
    AddCtq.java:169: Class com.geindustrial.sqms.Ctq not found.
    if (!(ob instanceof Ctq)) {
    ^
    AddCtq.java:170: Class com.geindustrial.sqms.Ctq not found.
    throw new InvalidContentObjectException(ob, (Ctq.class));
    ^
    3 errors
    And when i try to compile Ctq.java , i am getting the following Error:
    Ctq.java:4: Class com.geindustrial.sqms.VariableData not found in import.
    import com.geindustrial.sqms.VariableData;
    ^
    1 error
    How to solve this problem..Pls advise...
    Thanks
    Sateesh

    I suspect you are trying to compile the files one by one. You may also be trying to compile them disregarding the package structure.
    From your post, I gather these files are in the package: com.geindustrial.sqms
    Therefore, if they are not so already, put them under a directory structure:
    com/geindustrial/sqms
    and then compile with:
    javac com/geindustrial/sqms/AddCtq.java com/geindustrial/sqms/Ctq.java com/geindustrial/sqms/VariableData.java
    (The above is all on one line.)
    HTH,
    Manuel Amago.

  • .xjs customization in JAXB

    Hi!
    I am using JAXB to generate my java classes. I have a third party dtd which I am using in the process.
    I really need to change the names of the classes that the xjc compiler is generating (for eg , for a request element in the dtd xjc generates Request.java ; what i really need is MyProjectRequest.java ) .
    Of course, I can make changes manually ; but is there a tag in the binding schema that will help me specify this ??
    Thanks !
    Mayura

    Thanks a lot!
    Btw, are all the tags that a .xjs file takes documented anywhere??
    Its feels rather silly to struggle so much for little things.(Moreover, I am an XML rookie ...so I don't have much f an instinct when it comes to that!)
    Thanks again.

Maybe you are looking for

  • How can i buy Lion again when its already on my Air?

    Hi. I have the new Air with Lion pre installed. This is my first mac and i didnt make an Lion backup install drive when i first got it and now i need to reinstall Lion. Im not sure why but when i try to switch on FILE VAULT it says it cant do it and

  • DAM Asset Editor Issue

    Hi All, I am facing one issue regarding the asset editor in cq 5.5 sp2. When I open image by browsing through the folders in DAM every thing works fine. It shows all the data below the image and image type , Publish to Scene7 link as well. When I ope

  • Scrolling bar with external text

    Hi, I'm trying to create a scroller bar with external text on Flash, but not suceeding much. I want to do it in AS 2.0, as my whole website is created in AS 2.0. I found a tutorial on Kirupa for Flash MX 2004, but does not work with Flash CS4, which

  • Preview Mode - Full is not functioning

    View -> Preview Mode - > Full is supposed to let you see the rest of the stage in full color when editing inside a movie clip. That seems to not function. Instead the rest of the stage is still ghosted out after you double-click a movie clip to edit

  • Photos Gone after I synced to iTunes

    Ok, i recently synced my important photos from a computer, and after few days that computer's hard drive was damaged, so i thorwed itaway. I had those pictures in Photo Library, and it was good. I bought a new computer and synced my new photos, when