source: osm/applications/editors/josm/plugins/opendata/includes/org/jopendocument/dom/ODNode.java

Last change on this file was 36483, checked in by stoecker, 4 months ago

set eol-style, fix checkstyle issues, add ignores

  • Property svn:eol-style set to native
File size: 1.0 KB
Line 
1/*
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3 *
4 * Copyright 2008 jOpenDocument, by ILM Informatique. All rights reserved.
5 *
6 * The contents of this file are subject to the terms of the GNU
7 * General Public License Version 3 only ("GPL").
8 * You may not use this file except in compliance with the License.
9 * You can obtain a copy of the License at http://www.gnu.org/licenses/gpl-3.0.html
10 * See the License for the specific language governing permissions and limitations under the License.
11 *
12 * When distributing the software, include this License Header Notice in each file.
13 *
14 */
15
16package org.jopendocument.dom;
17
18import org.jdom2.Element;
19
20/**
21 * A node in an XML document.
22 *
23 * @author Sylvain
24 */
25public abstract class ODNode {
26
27 private final Element localElement;
28
29 public ODNode(final Element elem) {
30 if (elem == null)
31 throw new NullPointerException();
32 this.localElement = elem;
33 }
34
35 public final Element getElement() {
36 return this.localElement;
37 }
38
39}
Note: See TracBrowser for help on using the repository browser.