update SpdFileContents.java to adapt new schema for LibraryClassDeclaration.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@386 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jlin16 2006-06-02 03:39:44 +00:00
parent 437f567c6e
commit b4b11851ae
1 changed files with 1 additions and 2 deletions

View File

@ -601,8 +601,7 @@ public class SpdFileContents {
@param parent The tag under which library class declaration goes to @param parent The tag under which library class declaration goes to
**/ **/
public void setSpdLibraryClass(String clsName, String clsUsage, XmlObject parent) { public void setSpdLibraryClass(String clsName, String clsUsage, XmlObject parent) {
LibraryClassDocument.LibraryClass lc = ((LibraryClassDeclarationDocument.LibraryClassDeclaration) parent) LibraryClassDeclarationDocument.LibraryClassDeclaration.LibraryClass lc = ((LibraryClassDeclarationDocument.LibraryClassDeclaration) parent).addNewLibraryClass();
.addNewLibraryClass();
lc.setStringValue(clsName); lc.setStringValue(clsName);
} }