users@jaxb.java.net

how to generate constants?

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Wed, 12 Dec 2007 19:09:05 +0100

is there a way to generate constants ?

public static final String a = "constant";

??

        <xsd:complexType name="test">
                <xsd:attribute name="a" type="xsd:string" fixed="constant"/>
        </xsd:complexType>