We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27ba247 commit b3e9f38Copy full SHA for b3e9f38
metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/MarcXmlEncoder.java
@@ -127,6 +127,12 @@ public String close(final Object[] args) {
127
public MarcXmlEncoder() {
128
}
129
130
+ /**
131
+ * Sets the flag to decide whether to emit the {@value #NAMESPACE_NAME}
132
+ * namespace
133
+ *
134
+ * @param emitNamespace true if the namespace is emitted, otherwise false
135
+ */
136
public void setEmitNamespace(final boolean emitNamespace) {
137
this.emitNamespace = emitNamespace;
138
namespacePrefix = new Object[]{emitNamespace ? NAMESPACE_PREFIX : EMPTY};
0 commit comments