Skip to content

Commit 273dea9

Browse files
committed
Fix javadoc for module "jdom" (#396)
1 parent 527c24d commit 273dea9

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

metafacture-jdom/src/main/java/org/metafacture/jdom/JDomDocumentToStream.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ public final class JDomDocumentToStream
4141
private final SAXOutputter saxOutputer;
4242
private final XmlPipe<StreamReceiver> xmlPipe;
4343

44+
/**
45+
* Contructs a JDomDocumentToStream with a given XmlPipe.
46+
*
47+
* @param xmlPipe
48+
*/
4449
public JDomDocumentToStream(final XmlPipe<StreamReceiver> xmlPipe) {
4550
this.xmlPipe = xmlPipe;
4651
saxOutputer = new SAXOutputter(xmlPipe);

metafacture-jdom/src/main/java/org/metafacture/jdom/StreamToJDomDocument.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ public final class StreamToJDomDocument
5858
private final String rootTagName;
5959
private final Map<String, Namespace> namespaces = new HashMap<String, Namespace>();
6060

61+
/**
62+
* Constructs a StreamToJDomDocument initialized with a given root tag name and
63+
* a location of a file with named properties.
64+
*
65+
* @param rootTagName the root tag name
66+
* @param namespaceProperties the location of the file of the named properties
67+
*/
6168
public StreamToJDomDocument(final String rootTagName, final String namespaceProperties) {
6269
this.rootTagName = rootTagName;
6370
namespaces.put(XML, Namespace.getNamespace(XML, "http://www.w3.org/XML/1998/namespace"));

0 commit comments

Comments
 (0)