I'm trying to understand how the SimpleTypeFactory works.  I think I
understand it down to loadTypesDefinitions().  That's where I get lost.  It
looks like a mapping is created between a "string" SimpleType and a
org.exolab.castor.builder.types.XSString type.  Is this correct?  So if I
want to create a SimpleType of type "string", does it create an instance of
XSString, or 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"?

Thanks,
Blaine

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

Reply via email to