/** * Create the root element of the graph */ public void createRoot(String dtdName, String beanName, int option, Class type) throws Schema2BeansRuntimeException { BeanProp prop = new BeanProp(this, dtdName, beanName, option, type, true); try { this.graphManager.createRootBinding(this, prop, null); } catch (Schema2BeansException e) { throw new Schema2BeansRuntimeException(e); } this.isRoot = true; }