4,10 → 4,10 |
* Coded by: Group 5, software practice summer 2003 |
* University of Bielefeld, Germany |
* |
* @version $Revision: 1.56 $ |
* @version $Revision: 1.57 $ |
* |
* Last modification: $Date: 2003/07/22 18:20:09 $ |
* $Id: OurDocument.java,v 1.56 2003/07/22 18:20:09 smcsporr Exp $ |
* Last modification: $Date: 2003/07/23 11:14:14 $ |
* $Id: OurDocument.java,v 1.57 2003/07/23 11:14:14 smcsporr Exp $ |
*/ |
|
package src.document; |
43,7 → 43,7 |
* |
* @author S. McSporran |
* |
* @version $Revision: 1.56 $ Last modification: $Date: 2003/07/22 18:20:09 $ |
* @version $Revision: 1.57 $ Last modification: $Date: 2003/07/23 11:14:14 $ |
*/ |
public class OurDocument { |
|
130,7 → 130,8 |
} |
|
/** |
* TODO comment |
* The methode <code> setExpression </code> saves the Xpath |
* expression in this instance of OurDocument |
* |
* @param expression: The XPath expression. |
*/ |
141,7 → 142,8 |
} |
|
/** |
* <code>getExpression</code> returns the actual XPath expression. |
* <code>getExpression</code> returns the actual XPath expression |
* for further jobs. |
* |
* @return The stored XPath expression as <code>String</code>. |
*/ |
150,7 → 152,8 |
} |
|
/** |
* This method sets an internal reference to the log panel. |
* This method sets an internal reference to the log panel for |
* giving log messages correctly the the gui's logPanel. |
* |
* @param log: A log panel implementation compliant to src.gui.LogInterface. |
* |
162,7 → 165,7 |
|
/** |
* <code>getDomDoc</code> retrieves the stored document as |
* a DOM implementation. |
* a DOM implementation for further jobs. |
* |
* @return The DOM representation of an XML document. |
* |
234,7 → 237,7 |
} |
|
/** |
* <code>changeSchemaGrammar</code> changes a document's schema grammar. |
* The method <code>changeSchemaGrammar</code> changes a document's schema grammar. |
* |
* @param changeDoc: The document who's associated schema should be changed. |
* @param dtdFile: The new schema's path and filename as <code>File</code>-object. |
256,7 → 259,7 |
} |
|
/** |
* <code>changeDTDGrammar</code> changes a document's DTD. |
* The methode <code>changeDTDGrammar</code> changes a document's DTD. |
* |
* @param changeDoc: The document who's associated DTD should be changed. |
* @param dtdFile: The new DTD's path and filename as <code>File</code>-object. |
344,11 → 347,11 |
|
|
/** |
* <code>setSaved</code> set's the current <code>OurDocument</code> object |
* to be the latest saved version of the document; should only be used after saving |
* the document. |
* <code>setSaved</code> set's the current <code>DocumentImpl</code> object |
* to be the latest saved version of the document; should only be used after using |
* the methodes <code>saveDocument</code>in this class or <code>loadDocument</code> in the <code>DocumentManager</code> . |
* |
* author H. Jakusch |
* @author H. Jakusch |
* |
* Last revision: 18-Jul-2003 |
*/ |
384,7 → 387,11 |
} |
} |
|
/* Sends messages to the log panel. */ |
/** |
* |
* @param i int: Type of the message like difinied in src.gui.LogInterface |
* @param message String: the Message wished to display on the GUI's logPanel |
*/ |
private void log(int i, String message) { |
LogInterfaceReference.log(i,message); |
} |