Line 1... |
Line 1... |
1 |
/*
|
1 |
/*
|
2 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
2 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
3 |
*
|
3 |
*
|
4 |
* Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
|
4 |
* Copyright 2011-2019 OpenConcerto, by ILM Informatique. All rights reserved.
|
5 |
*
|
5 |
*
|
6 |
* The contents of this file are subject to the terms of the GNU General Public License Version 3
|
6 |
* The contents of this file are subject to the terms of the GNU General Public License Version 3
|
7 |
* only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
|
7 |
* only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
|
8 |
* copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
|
8 |
* copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
|
9 |
* language governing permissions and limitations under the License.
|
9 |
* language governing permissions and limitations under the License.
|
Line 16... |
Line 16... |
16 |
import java.util.HashMap;
|
16 |
import java.util.HashMap;
|
17 |
import java.util.HashSet;
|
17 |
import java.util.HashSet;
|
18 |
import java.util.Map;
|
18 |
import java.util.Map;
|
19 |
import java.util.Set;
|
19 |
import java.util.Set;
|
20 |
|
20 |
|
21 |
import net.jcip.annotations.Immutable;
|
- |
|
22 |
|
- |
|
23 |
import org.jdom.Document;
|
21 |
import org.jdom.Document;
|
24 |
import org.jdom.Element;
|
22 |
import org.jdom.Element;
|
25 |
import org.jdom.Namespace;
|
23 |
import org.jdom.Namespace;
|
26 |
|
24 |
|
- |
|
25 |
import net.jcip.annotations.Immutable;
|
- |
|
26 |
|
27 |
/**
|
27 |
/**
|
28 |
* Encapsulate all namespaces for a particular version of xml.
|
28 |
* Encapsulate all namespaces for a particular version of xml.
|
29 |
*
|
29 |
*
|
30 |
* @author ILM Informatique 26 juil. 2004
|
30 |
* @author ILM Informatique 26 juil. 2004
|
31 |
*/
|
31 |
*/
|
Line 62... |
Line 62... |
62 |
this.put("meta", "urn:oasis:names:tc:opendocument:xmlns:meta:1.0");
|
62 |
this.put("meta", "urn:oasis:names:tc:opendocument:xmlns:meta:1.0");
|
63 |
this.put("config", "urn:oasis:names:tc:opendocument:xmlns:config:1.0");
|
63 |
this.put("config", "urn:oasis:names:tc:opendocument:xmlns:config:1.0");
|
64 |
this.put("dc", "http://purl.org/dc/elements/1.1/");
|
64 |
this.put("dc", "http://purl.org/dc/elements/1.1/");
|
65 |
this.put("ooo", "http://openoffice.org/2004/office");
|
65 |
this.put("ooo", "http://openoffice.org/2004/office");
|
66 |
this.put("of", "urn:oasis:names:tc:opendocument:xmlns:of:1.2");
|
66 |
this.put("of", "urn:oasis:names:tc:opendocument:xmlns:of:1.2");
|
- |
|
67 |
this.put("loext", "urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0");
|
67 |
}
|
68 |
}
|
68 |
};
|
69 |
};
|
69 |
|
70 |
|
70 |
public static final Namespace LIBRARY_NS = Namespace.getNamespace("library", "http://openoffice.org/2000/library");
|
71 |
public static final Namespace LIBRARY_NS = Namespace.getNamespace("library", "http://openoffice.org/2000/library");
|
71 |
public static final Namespace DIALOG_NS = Namespace.getNamespace("dlg", "http://openoffice.org/2000/dialog");
|
72 |
public static final Namespace DIALOG_NS = Namespace.getNamespace("dlg", "http://openoffice.org/2000/dialog");
|