Hi Blaine,

-> 
-> I'm trying to understand how the SimpleTypeFactory works.  I think I
-> understand it down to loadTypesDefinitions().  That's where I 
-> get lost. 
This code will be deprecated and replaced by a new object model.
As you see, it is too complex...

->It looks like a mapping is created between a "string" SimpleType and a
->org.exolab.castor.builder.types.XSString type.  Is this correct? 

No, org.exolab.castor.xml.schema.simpletypes does not rely on 
org.exolab.castor.builder, it is the other way
around ;+)

-> So if I
-> want to create a SimpleType of type "string", does it create an 
-> instance of
-> XSString, or StringType?
StringType

-> 
-> In addition to this, I see that Schema has a createSimpleType method.
-> createSimpleType has a baseType parameter.  If I don't want a 
-> derived type,
-> but a "string", how do I create a SimpleType of type "string", not a
-> SimpleType derived from type "string"?

All the base type are loaded in-memory by loadTypeDefinition(), you just have to play 
with them

Hope this helps,
Arnaud

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to