Skip to content

Commit 47956d4

Browse files
committed
Create xml package
The `xml` package contains modules for working with xml data.
1 parent 8852fd4 commit 47956d4

24 files changed

+21
-32
lines changed

src/main/java/org/culturegraph/mf/test/reader/CGXmlReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
package org.culturegraph.mf.test.reader;
1717

18-
import org.culturegraph.mf.stream.converter.xml.CGXmlHandler;
18+
import org.culturegraph.mf.xml.CGXmlHandler;
1919

2020
/**
2121
* Reads and decodes a <i>Culturegraph XML</i> document.

src/main/java/org/culturegraph/mf/test/reader/XmlReaderBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import org.culturegraph.mf.framework.StreamReceiver;
1919
import org.culturegraph.mf.framework.XmlPipe;
20-
import org.culturegraph.mf.stream.converter.xml.XmlDecoder;
20+
import org.culturegraph.mf.xml.XmlDecoder;
2121

2222

2323
/**

src/main/java/org/culturegraph/mf/stream/converter/xml/CGXmlHandler.java renamed to src/main/java/org/culturegraph/mf/xml/CGXmlHandler.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/*
22
* Copyright 2016 Christoph Böhme
3-
* Copyright 2013, 2014 Deutsche Nationalbibliothek
43
*
54
* Licensed under the Apache License, Version 2.0 the "License";
65
* you may not use this file except in compliance with the License.
@@ -14,7 +13,7 @@
1413
* See the License for the specific language governing permissions and
1514
* limitations under the License.
1615
*/
17-
package org.culturegraph.mf.stream.converter.xml;
16+
package org.culturegraph.mf.xml;
1817

1918
import org.culturegraph.mf.framework.FluxCommand;
2019
import org.culturegraph.mf.framework.FormatException;

src/main/java/org/culturegraph/mf/stream/sink/FilenameExtractor.java renamed to src/main/java/org/culturegraph/mf/xml/FilenameExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.stream.sink;
16+
package org.culturegraph.mf.xml;
1717

1818
import java.io.File;
1919

src/main/java/org/culturegraph/mf/stream/converter/xml/GenericXmlHandler.java renamed to src/main/java/org/culturegraph/mf/xml/GenericXmlHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.stream.converter.xml;
16+
package org.culturegraph.mf.xml;
1717

1818
import java.util.regex.Pattern;
1919

src/main/java/org/culturegraph/mf/stream/sink/RecordIdentifier.java renamed to src/main/java/org/culturegraph/mf/xml/RecordIdentifier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.stream.sink;
16+
package org.culturegraph.mf.xml;
1717

1818
/**
1919
* This interface declares methods for setting variables used by all record

src/main/java/org/culturegraph/mf/stream/converter/xml/SimpleXmlEncoder.java renamed to src/main/java/org/culturegraph/mf/xml/SimpleXmlEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.stream.converter.xml;
16+
package org.culturegraph.mf.xml;
1717

1818
import java.io.IOException;
1919
import java.net.URL;

src/main/java/org/culturegraph/mf/stream/converter/xml/XmlDecoder.java renamed to src/main/java/org/culturegraph/mf/xml/XmlDecoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.stream.converter.xml;
16+
package org.culturegraph.mf.xml;
1717

1818
import java.io.IOException;
1919
import java.io.Reader;

src/main/java/org/culturegraph/mf/stream/pipe/XmlElementSplitter.java renamed to src/main/java/org/culturegraph/mf/xml/XmlElementSplitter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.stream.pipe;
16+
package org.culturegraph.mf.xml;
1717

1818
import java.util.HashSet;
1919

src/main/java/org/culturegraph/mf/stream/sink/XmlFilenameWriter.java renamed to src/main/java/org/culturegraph/mf/xml/XmlFilenameWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.stream.sink;
16+
package org.culturegraph.mf.xml;
1717

1818
import java.io.File;
1919
import java.io.FileOutputStream;

0 commit comments

Comments
 (0)