Hi
is the static 'type'
field suppost to be still available in 2.1
When I recompile at
2.1 I dont get any type field being generated
I originally thought
that this was some hack that a developer had put in (our code) to determine the
class, but in http://xmlbeans.apache.org/docs/2.0.0/guide/conIntroToTheSchemaTypeSystem.html the
type filed is mentioned
"SchemaType sType =
RootDocument.Root.MyList.Item.type;"
Is the "type" field
supported in 2.1?
Is it being
generated for other people?
What is the best
(supported) way to determine the SchemType from the class?
Mike
--------------------------------------------------------------------------------------------------------------------------------------------
NB.
This was originally posted to
the user group as "How to get a type from a class ( changes in
2.1)"Hi,
What is the correct
way to determine the SchemaType for a given class
I have inheritted
some code that looked and the 'type' field of the class to determine the
SchemaType, but that field has been removed as part of the 2.0 -> 2.1
changes.
I assume that this
was not the correct way to determine the SchemaType, just something that someone
had found that works.
What is the correct
way?
The only information
that I have at this point in the application, is the
class.
Mike