return new JAXBSchemaSG(pController, pSchema);
}
public TypeSG getTypeSG(SGFactory pController, XSType pType) throws SAXException {
final String mName = "getTypeSG(XSType)";
TypeSG result = (TypeSG) types.get(pType);
if (result == null) {
log.finest(mName, "->", pType.getName());
TypeSGChain chain = (TypeSGChain) pController.newTypeSG(pType);
result = new TypeSGImpl(chain);
types.put(pType, result);
typesByOrder.add(result);
result.init();
log.finest(mName, "<-", new Object[]{chain, result});
}
return result;
}