git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1597 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
alfred 2006-09-22 06:33:25 +00:00
parent 372a4642fc
commit 8554faeb7d
2 changed files with 4 additions and 4 deletions

View File

@ -30,8 +30,8 @@ public final class ModuleInfo {
public final String modulepath; public final String modulepath;
public final String temppath; public final String temppath;
private MsaOwner msaowner = new MsaWriter(this); //private MsaOwner msaowner = new MsaWriter(this);
public ModuleSurfaceAreaDocument msadoc = ModuleSurfaceAreaDocument.Factory.newInstance(); //public ModuleSurfaceAreaDocument msadoc = ModuleSurfaceAreaDocument.Factory.newInstance();
public String modulename = null; public String modulename = null;
public String guidvalue = null; public String guidvalue = null;

View File

@ -22,11 +22,11 @@ import org.apache.xmlbeans.*;
public class MsaWriter implements MsaOwner { public class MsaWriter implements MsaOwner {
MsaWriter(ModuleInfo moduleinfo) { MsaWriter(ModuleInfo moduleinfo) {
mi = moduleinfo; mi = moduleinfo;
msadoc = mi.msadoc; //msadoc = mi.msadoc;
} }
private ModuleInfo mi; private ModuleInfo mi;
private ModuleSurfaceAreaDocument msadoc; private ModuleSurfaceAreaDocument msadoc = ModuleSurfaceAreaDocument.Factory.newInstance();
private ModuleSurfaceAreaDocument.ModuleSurfaceArea msa = msadoc.addNewModuleSurfaceArea(); private ModuleSurfaceAreaDocument.ModuleSurfaceArea msa = msadoc.addNewModuleSurfaceArea();
private MsaHeaderDocument.MsaHeader msaheader = msa.addNewMsaHeader(); private MsaHeaderDocument.MsaHeader msaheader = msa.addNewMsaHeader();