users@jaxb.java.net

How to access the simple element's SchemaType in JAXB 2.0 XJC Plugin

From: Peng Kong <peng.kong_at_nithh.de>
Date: Tue, 27 Jun 2006 16:48:53 +0200

Hi,

Now, I try to access the original SchemaType information of simple element
in my plugin. But I can't find any useful method to get them.
For example, a book schema file
<xs:element name="book">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="id" type="xs:short" />
      <xs:element name="date" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
</xs:element>

How to get the type information "xs:short" and "xs:dateTime" of relevant
elements in XJC plugin?

Yours sincerely,
Kevin Peng Kong