public ObjectSG[] getObjects(SGFactory pController) {
return (ObjectSG[]) objectsByOrder.toArray(new ObjectSG[objectsByOrder.size()]);
}
public XsObjectFactory newXsObjectFactory(SGFactory pController) throws SAXException {
return new JAXBXsObjectFactoryImpl(){
public XMLReader newXMLReader(boolean pValidating) throws ParserConfigurationException, SAXException{
XMLReader xr = super.newXMLReader(pValidating);
EntityResolver entityResolver = generator.getEntityResolver();
if (entityResolver != null) {
xr.setEntityResolver(entityResolver);