Permalink
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...
rolfl committed Jan 3, 2013
1 parent ac5f25a commit c7c15feea9a6f30133bfd445c47ec4abdad8444e
@@ -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;
@@ -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
@@ -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() {
@@ -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;
@@ -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;

0 comments on commit c7c15fe

Please sign in to comment.