package com.dbgen; import org.w3c.dom.Element; import java.io.File; import java.util.List; public final class Project extends Naming { Project(Root root, Element self) throws Exception { super(root, self); } Ldb getLdb() { List list = getChildren(Ldb.class); return list.isEmpty() ? null : list.get(0); } public void make() { Ldb ldb = getLdb(); if (ldb != null) Ldbgen.make(ldb, LdbMain.outputPath); } }