Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Move classes to separate package to make them part of coverage report…

… and also to make them self-contained. They may move again later.
  • Loading branch information...
commit c7c15feea9a6f30133bfd445c47ec4abdad8444e 1 parent ac5f25a
@rolfl rolfl authored
View
2  ...g/jdom2/contrib/helpers/JDOMNamespaceContext.java → ...src/java/org/jdom2/jaxb/JDOMNamespaceContext.java
@@ -52,7 +52,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
*/
-package org.jdom2.contrib.helpers;
+package org.jdom2.jaxb;
import java.util.ArrayList;
import java.util.Iterator;
View
4 ...va/org/jdom2/contrib/output/JDOMStreamReader.java → core/src/java/org/jdom2/jaxb/JDOMStreamReader.java
@@ -52,7 +52,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
*/
-package org.jdom2.contrib.output;
+package org.jdom2.jaxb;
import java.util.Iterator;
import javax.xml.XMLConstants;
@@ -444,7 +444,7 @@ public NamespaceContext getNamespaceContext() {
}
Content c = getCurrentContent();
- return new org.jdom2.contrib.helpers.JDOMNamespaceContext(c.getNamespacesInScope());
+ return new org.jdom2.jaxb.JDOMNamespaceContext(c.getNamespacesInScope());
}
@Override
View
4 ...ava/org/jdom2/contrib/input/JDOMStreamWriter.java → core/src/java/org/jdom2/jaxb/JDOMStreamWriter.java
@@ -51,7 +51,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
on the JDOM Project, please see <http://www.jdom.org/>.
*/
-package org.jdom2.contrib.input;
+package org.jdom2.jaxb;
import java.util.ArrayList;
import java.util.Iterator;
@@ -403,7 +403,7 @@ public void setNamespaceContext(NamespaceContext context) throws XMLStreamExcept
public NamespaceContext getNamespaceContext() {
final List<Namespace> namespaces = getCurrentNamespaces();
- return new org.jdom2.contrib.helpers.JDOMNamespaceContext(namespaces);
+ return new org.jdom2.jaxb.JDOMNamespaceContext(namespaces);
}
private List<Namespace> getCurrentNamespaces() {
View
3  test/src/java/org/jdom2/test/cases/input/TestJDOMStreamWriter.java
@@ -58,7 +58,8 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
import org.jdom2.Document;
import org.jdom2.Element;
import org.jdom2.Namespace;
-import org.jdom2.contrib.input.JDOMStreamWriter;
+import org.jdom2.jaxb.JDOMStreamWriter;
+
import org.junit.After;
import static org.junit.Assert.*;
import org.junit.Before;
View
3  test/src/java/org/jdom2/test/cases/output/TestJDOMStreamReader.java
@@ -60,8 +60,9 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
import org.jdom2.Element;
import org.jdom2.Namespace;
import org.jdom2.Text;
-import org.jdom2.contrib.output.JDOMStreamReader;
import org.jdom2.input.StAXStreamBuilder;
+import org.jdom2.jaxb.JDOMStreamReader;
+
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
Please sign in to comment.
Something went wrong with that request. Please try again.