public class OpenFile
extends java.lang.Object
OpenFile
class represents an open XSL stylesheet file.Constructor and Description |
---|
OpenFile()
Initializes a newly created empty
OpenFile . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOpenFilePath() |
org.w3c.dom.Document |
getWholeFile() |
boolean |
isFileChanged() |
void |
setFileChanged(boolean fileChanged)
Sets if the opened file is changed or not.
|
void |
setOpenFilePath(java.lang.String openFilePath)
Sets the new
openFilePath of the opened file. |
void |
setWholeFile(org.w3c.dom.Document wholeFile)
Sets the new DOM structure
wholeFile of newly opened file. |
public OpenFile()
OpenFile
. Assignes the
wholeFile
to the new empty DOM XSL stylesheet structure. Sets the newly
created file as not changed (fileChanged
).public org.w3c.dom.Document getWholeFile()
public void setWholeFile(org.w3c.dom.Document wholeFile)
wholeFile
of newly opened file. Sets the opened
file as not changed.wholeFile
- DOM structure of the opened file.public java.lang.String getOpenFilePath()
public void setOpenFilePath(java.lang.String openFilePath)
openFilePath
of the opened file. If the file hasn't the extension
XSL, then the extension is added.openFilePath
- a new path to the opened file.public boolean isFileChanged()
public void setFileChanged(boolean fileChanged)
fileChanged
- true, if the file has changed.