Mozilla/mozilla/java/dom/tests/src/BWStaticDoc.java
leila.garin%eng.sun.com 9673f06f0e *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@45554 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 23:17:55 +00:00

55 lines
1.0 KiB
Java
Executable File

/**
*
* @version 1.00
* @author Raju Pallath
*
* TESTID
*
* This class is used to just store the parent Document of a page on Mozilla
* apprunner for reference in other classes.
*
*/
package org.mozilla.dom.test;
import java.util.*;
import java.io.*;
import org.mozilla.dom.test.*;
import org.mozilla.dom.*;
import org.w3c.dom.*;
public class BWStaticDoc extends BWBaseTest
{
/**
********************************************************
*
* Get the Parent Document
*
* @return Parent Document Reference
*
********************************************************
*/
public static Document getParentDoc()
{
return pageDoc;
}
/**
********************************************************
*
* Set the Parent Document
*
* @params doc Document to be set.
*
********************************************************
*/
public static void setParentDoc(Document doc)
{
pageDoc = doc;
}
private static Document pageDoc;
}