public class FileNodeElement extends java.lang.Object implements NodeElement
| Constructor and Description |
|---|
FileNodeElement(java.io.File file)
Constructs a node element (or tree) that is stored in a file without
building object-tree.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clones this element.
|
Node |
getParent()
Gets the parent (owner) node of this element.
|
void |
setParent(Node parent)
Sets the parent (owner) node of this element.
|
void |
writeTo(XMLWriter writer)
Write element into xml...
|
public FileNodeElement(java.io.File file)
throws java.io.FileNotFoundException
file - Filejava.io.FileNotFoundException - is thrown, if file doesn't exist.public void writeTo(XMLWriter writer)
writeTo in interface NodeElementwriter - XMLWriter.public void setParent(Node parent)
setParent in interface NodeElementparent - Parent.public Node getParent()
getParent in interface NodeElementpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface NodeElementclone in class java.lang.Objectjava.lang.CloneNotSupportedException© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.