diff options
Diffstat (limited to 'org.eclipse.vex.core/src/org/eclipse/vex/core/internal/dom/RootElement.java')
-rw-r--r-- | org.eclipse.vex.core/src/org/eclipse/vex/core/internal/dom/RootElement.java | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/dom/RootElement.java b/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/dom/RootElement.java index ad3cae4e..1f74080c 100644 --- a/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/dom/RootElement.java +++ b/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/dom/RootElement.java @@ -13,11 +13,9 @@ package org.eclipse.vex.core.internal.dom; import org.eclipse.core.runtime.QualifiedName; /** - * The root element of a document. Keeps track of the document to which it is - * associated. Any element can find the document to which it is associated by - * following its parents to this root. This would be done, for example, to - * notify document listeners that the document has changed when the element - * changes. + * The root element of a document. Keeps track of the document to which it is associated. Any element can find the + * document to which it is associated by following its parents to this root. This would be done, for example, to notify + * document listeners that the document has changed when the element changes. */ public class RootElement extends Element { @@ -26,16 +24,17 @@ public class RootElement extends Element { public RootElement(final String localName) { super(localName); } - + public RootElement(final QualifiedName qualifiedName) { super(qualifiedName); } - + + @Override public Document getDocument() { return document; } - public void setDocument(Document document) { + public void setDocument(final Document document) { this.document = document; } |