users@jaxb.java.net

Running jaxb on portlet 2.0 xsd

From: Manish Gupta <Manish.K.Gupta_at_Sun.COM>
Date: Sat, 23 Jun 2007 13:26:34 +0530

Hi,
 I am running xjc on attached portlet 2.0 xsd file. The generated code
in attached MimeTypeType.java is not compilable as javadoc comment has
"*/" character. Is this a known issue?

Regards
Manish.



//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.06.23 at 01:07:53 PM IST
//


package com.sun.java.xml.ns.portlet.portlet_app_2_0;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;


/**
 *
 * MIME type name, e.g. "text/html".
 * The MIME type may also contain the wildcard
 * character '*', like "text/*" or "*/*".
 * Used in: supports
 *
 *
 * <p>Java class for mime-typeType complex type.
 *
 * <p>The following schema fragment specifies the expected content contained within this class.
 *
 * <pre>
 * &lt;complexType name="mime-typeType">
 * &lt;simpleContent>
 * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
 * &lt;/extension>
 * &lt;/simpleContent>
 * &lt;/complexType>
 * </pre>
 *
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "mime-typeType", propOrder = {
    "value"
})
public class MimeTypeType {

    @XmlValue
    protected String value;

    /**
     * Gets the value of the value property.
     *
     * @return
     * possible object is
     * {_at_link String }
     *
     */
    public String getValue() {
        return value;
    }

    /**
     * Sets the value of the value property.
     *
     * @param value
     * allowed object is
     * {_at_link String }
     *
     */
    public void setValue(String value) {
        this.value = value;
    }

}