Permalink
Browse files

Fix brain-fart... The Writer is input, and the Reader is output.

  • Loading branch information...
1 parent 64c0773 commit d51d31b42c44f89021b836ee260e16cb7ab0abb1 @rolfl rolfl committed Mar 3, 2013
@@ -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.output;
+package org.jdom2.input;
import java.util.ArrayList;
import java.util.LinkedList;
@@ -57,7 +57,6 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
import javax.xml.stream.XMLStreamReader;
import org.jdom2.Document;
-import org.jdom2.input.StAXStreamReader;
import org.jdom2.output.support.AbstractStAXAsStreamProcessor;
import org.jdom2.output.support.StAXAsStreamProcessor;
@@ -52,7 +52,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
*/
-package org.jdom2.input;
+package org.jdom2.output;
import java.util.Iterator;
import java.util.NoSuchElementException;
@@ -76,9 +76,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
import org.jdom2.ProcessingInstruction;
import org.jdom2.Verifier;
import org.jdom2.internal.ArrayCopy;
-import org.jdom2.output.Format;
import org.jdom2.output.Format.TextMode;
-import org.jdom2.output.XMLOutputter;
import org.jdom2.output.support.AbstractOutputProcessor;
import org.jdom2.output.support.FormatStack;
import org.jdom2.output.support.Walker;
@@ -57,8 +57,8 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
import javax.xml.stream.XMLStreamReader;
import org.jdom2.Document;
-import org.jdom2.input.StAXStreamReader;
import org.jdom2.output.Format;
+import org.jdom2.output.StAXStreamReader;
/**
* A complete (but still abstract) implementation of a class that produces
@@ -57,8 +57,8 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
import javax.xml.stream.XMLStreamReader;
import org.jdom2.Document;
-import org.jdom2.input.StAXStreamReader;
import org.jdom2.output.Format;
+import org.jdom2.output.StAXStreamReader;
/**
* A simple interface that allows the implementation of a StAX XMLStreamReader
@@ -66,8 +66,8 @@ 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.input.StAXStreamReader;
import org.jdom2.input.StAXStreamBuilder;
+import org.jdom2.output.StAXStreamReader;
/**
* Tests for {@link StAXStreamReader}
@@ -67,7 +67,7 @@ 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.output.StAXStreamWriter;
+import org.jdom2.input.StAXStreamWriter;
/**
* Tests for {@link StAXStreamWriter}
@@ -3,7 +3,7 @@
import javax.xml.stream.XMLStreamException;
import org.jdom2.Document;
-import org.jdom2.output.StAXStreamWriter;
+import org.jdom2.input.StAXStreamWriter;
import org.jdom2.output.StAXStreamOutputter;
@SuppressWarnings("javadoc")

0 comments on commit d51d31b

Please sign in to comment.