public TypeStoreUser createElementUser(SchemaType parentType, QName name, QName xsiType)
{
if (parentType.isDocumentType())
{
ElementInfo ei = (ElementInfo)_globalElements.get(name);
if (ei == null) return null;
try {
Constructor ctr = ei.getJavaImplConstructor(parentType.getTypeSystem().getClassLoader());
return (TypeStoreUser)ctr.newInstance(null);
}
catch (Exception e)
{
return null;