{
SimpleFactory.INSTANCE.register(scope);
// System.out.println(SimpleFactoryImpl.PATTERN_VERSION);
//Quote quote = (Quote)DataFactory.INSTANCE.create(Quote.class);
Quote quote = SimpleFactory.INSTANCE.createQuote();
quote.setSymbol("fbnt");
quote.setCompanyName("FlyByNightTechnology");
quote.setPrice(new BigDecimal("1000.0"));
quote.setOpen1(new BigDecimal("1000.0"));
quote.setHigh(new BigDecimal("1000.0"));
quote.setLow(new BigDecimal("1000.0"));
quote.setVolume(1000);
quote.setChange1(1000);
//Quote child = (Quote)((DataObject)quote).createDataObject(8);
Quote child = SimpleFactory.INSTANCE.createQuote();
quote.getQuotes().add(child);
child.setPrice(new BigDecimal("2000.0"));
// scope.getXMLHelper().save((DataObject)quote, "http://www.example.com/simple", "stockQuote", System.out);
}
catch (Exception e)
{