Skip to content

Commit 39bd9e0

Browse files
committed
Fix Javadoc references. (#396)
metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#BIBLIOGRAPHIC_LEVEL_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#BIBLIOGRAPHIC_LEVEL_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#CATALOGING_FORM_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#CATALOGING_FORM_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#CHARACTER_CODING_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#CHARACTER_CODING_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#CHARACTER_CODING_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#ENCODING_LEVEL_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#ENCODING_LEVEL_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#LEADER_ENTITY (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#LEADER_ENTITY (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#MULTIPART_LEVEL_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#MULTIPART_LEVEL_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#RECORD_STATUS_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#RECORD_STATUS_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#RECORD_TYPE_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#RECORD_TYPE_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#TYPE_OF_CONTROL_LITERAL (referenced by @value tag) is an unknown reference. metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java:138: warning - Marc21EventNames#TYPE_OF_CONTROL_LITERAL (referenced by @value tag) is an unknown reference. metafacture-javaintegration/src/main/java/org/metafacture/javaintegration/MapToStream.java:81: warning - StandardEventNames#ID (referenced by @value tag) is an unknown reference. metafacture-mangling/src/main/java/org/metafacture/mangling/RecordIdChanger.java:101: warning - StandardEventNames#ID (referenced by @value tag) is an unknown reference.
1 parent ba79941 commit 39bd9e0

File tree

3 files changed

+49
-45
lines changed

3 files changed

+49
-45
lines changed

metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Decoder.java

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@
4141
* <li>data fields.
4242
* </ul>
4343
* This decoder only supports MARC 21 records with UTF-8 encoding. Other
44-
* character coding schemes are not supported. A {@link FormatException} is
45-
* thrown if a record with an unsupported coding scheme is encountered.
44+
* character coding schemes are not supported. A
45+
* {@link org.metafacture.framework.FormatException} is thrown if a record
46+
* with an unsupported coding scheme is encountered.
4647
* <p>
4748
* The bibliographic information in the record leader is
4849
* <ul>
@@ -56,28 +57,28 @@
5657
* <li>multipart resource record level.
5758
* </ul>
5859
* This information is emitted as an entity named
59-
* &quot;{@value Marc21EventNames#LEADER_ENTITY}&quot;. It is emitted directly
60-
* after the <i>start-record</i> event. The entity contains the following
61-
* literals:
60+
* {@value org.metafacture.biblio.marc21.Marc21EventNames#LEADER_ENTITY}. It is
61+
* emitted directly after the <i>start-record</i> event. The entity contains
62+
* the following literals:
6263
* <ol>
63-
* <li>{@value Marc21EventNames#RECORD_STATUS_LITERAL}
64-
* <li>{@value Marc21EventNames#RECORD_TYPE_LITERAL}
65-
* <li>{@value Marc21EventNames#BIBLIOGRAPHIC_LEVEL_LITERAL}
66-
* <li>{@value Marc21EventNames#TYPE_OF_CONTROL_LITERAL}
67-
* <li>{@value Marc21EventNames#CHARACTER_CODING_LITERAL}
68-
* <li>{@value Marc21EventNames#ENCODING_LEVEL_LITERAL}
69-
* <li>{@value Marc21EventNames#CATALOGING_FORM_LITERAL}
70-
* <li>{@value Marc21EventNames#MULTIPART_LEVEL_LITERAL}
64+
* <li>{@value org.metafacture.biblio.marc21.Marc21EventNames#RECORD_STATUS_LITERAL}
65+
* <li>{@value org.metafacture.biblio.marc21.Marc21EventNames#RECORD_TYPE_LITERAL}
66+
* <li>{@value org.metafacture.biblio.marc21.Marc21EventNames#BIBLIOGRAPHIC_LEVEL_LITERAL}
67+
* <li>{@value org.metafacture.biblio.marc21.Marc21EventNames#TYPE_OF_CONTROL_LITERAL}
68+
* <li>{@value org.metafacture.biblio.marc21.Marc21EventNames#CHARACTER_CODING_LITERAL}
69+
* <li>{@value org.metafacture.biblio.marc21.Marc21EventNames#ENCODING_LEVEL_LITERAL}
70+
* <li>{@value org.metafacture.biblio.marc21.Marc21EventNames#CATALOGING_FORM_LITERAL}
71+
* <li>{@value org.metafacture.biblio.marc21.Marc21EventNames#MULTIPART_LEVEL_LITERAL}
7172
* </ol>
7273
* The literals are emitted in the order in which they are listed here. The
7374
* values of these literals are the characters at the corresponding
7475
* positions in the record leader (see
7576
* <a href="http://www.loc.gov/marc/bibliographic/bdleader.html">MARC 21
7677
* Standard: Record Leader</a> for a description of the allowed values). The
7778
* literal values are always only single characters. As this decoder only
78-
* supports MARC 21 records with UTF-8 encoding, the value of the <i>literal
79-
* &quot;{@value Marc21EventNames#CHARACTER_CODING_LITERAL}&quot;</i> will
80-
* always be &quot;a&quot;.
79+
* supports MARC 21 records with UTF-8 encoding, the value of the literal
80+
* {@value org.metafacture.biblio.marc21.Marc21EventNames#CHARACTER_CODING_LITERAL}
81+
* will always be &quot;a&quot;.
8182
* <p>
8283
* For example, given a record with the leader
8384
* <pre>
@@ -86,15 +87,15 @@
8687
* the following event stream will be emitted:
8788
* <pre>
8889
* start-record &quot;1&quot;
89-
* start-entity &quot;{@value Marc21EventNames#LEADER_ENTITY}&quot;
90-
* literal &quot;{@value Marc21EventNames#RECORD_STATUS_LITERAL}&quot;: n
91-
* literal &quot;{@value Marc21EventNames#RECORD_TYPE_LITERAL}&quot;: o
92-
* literal &quot;{@value Marc21EventNames#BIBLIOGRAPHIC_LEVEL_LITERAL}&quot;: a
93-
* literal &quot;{@value Marc21EventNames#TYPE_OF_CONTROL_LITERAL}&quot;: " "
94-
* literal &quot;{@value Marc21EventNames#CHARACTER_CODING_LITERAL}&quot;: a
95-
* literal &quot;{@value Marc21EventNames#ENCODING_LEVEL_LITERAL}&quot;: z
96-
* literal &quot;{@value Marc21EventNames#CATALOGING_FORM_LITERAL}&quot;: u
97-
* literal &quot;{@value Marc21EventNames#MULTIPART_LEVEL_LITERAL}&quot;: " "
90+
* start-entity {@value org.metafacture.biblio.marc21.Marc21EventNames#LEADER_ENTITY}
91+
* literal {@value org.metafacture.biblio.marc21.Marc21EventNames#RECORD_STATUS_LITERAL}: n
92+
* literal {@value org.metafacture.biblio.marc21.Marc21EventNames#RECORD_TYPE_LITERAL}: o
93+
* literal {@value org.metafacture.biblio.marc21.Marc21EventNames#BIBLIOGRAPHIC_LEVEL_LITERAL}: a
94+
* literal {@value org.metafacture.biblio.marc21.Marc21EventNames#TYPE_OF_CONTROL_LITERAL}: " "
95+
* literal {@value org.metafacture.biblio.marc21.Marc21EventNames#CHARACTER_CODING_LITERAL}: a
96+
* literal {@value org.metafacture.biblio.marc21.Marc21EventNames#ENCODING_LEVEL_LITERAL}: z
97+
* literal {@value org.metafacture.biblio.marc21.Marc21EventNames#CATALOGING_FORM_LITERAL}: u
98+
* literal {@value org.metafacture.biblio.marc21.Marc21EventNames#MULTIPART_LEVEL_LITERAL}: " "
9899
* end-entity
99100
* &hellip;
100101
* </pre>
@@ -124,7 +125,8 @@
124125
* If the decoder receives an empty input string it is ignored and no stream
125126
* events are emitted.
126127
* <p>
127-
* If an error occurs during decoding, a {@link FormatException} is thrown.
128+
* If an error occurs during decoding, a
129+
* {@link org.metafacture.framework.FormatException} is thrown.
128130
*
129131
* @author Christoph Böhme
130132
* @see "ISO 2709:2008 Standard"

metafacture-javaintegration/src/main/java/org/metafacture/javaintegration/MapToStream.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* event is emitted.
3232
* <p>
3333
* If the map contains an entry whose key value matches the one set as
34-
* {@link #setIdKey(Object)}, this entry's value is used as the record id.
34+
* {@link #setIdKey(Object)}, this entry's value is used as the record ID.
3535
* <p>
3636
* The keys and values in the map can be of any type. They will be converted to
3737
* strings using their {@link Object#toString()} method. Neither key nor value
@@ -68,14 +68,15 @@ public MapToStream() {
6868
}
6969

7070
/**
71-
* Sets the key of the map entry that is used for the record id.
71+
* Sets the key of the map entry that is used for the record ID.
7272
* <p>
73-
* The default id key is &quot;{@value StandardEventNames#ID}&quot;.
73+
* The default ID key is
74+
* {@value org.metafacture.framework.StandardEventNames#ID}.
7475
* <p>
7576
* This parameter can be changed anytime during processing. The new value
7677
* becomes effective with the next record being processed.
7778
*
78-
* @param idKey the id key. The object passed here is used in a call to
79+
* @param idKey the ID key. The object passed here is used in a call to
7980
* {@link Map#get(Object)} to get the identifier value.
8081
*/
8182
public void setIdKey(final Object idKey) {

metafacture-mangling/src/main/java/org/metafacture/mangling/RecordIdChanger.java

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@
2626
import org.metafacture.framework.helpers.DefaultStreamPipe;
2727

2828
/**
29-
* Replaces the record id with the value of a literal from the record. The name
29+
* Replaces the record ID with the value of a literal from the record. The name
3030
* of the literal can be configured using {@link #setIdLiteral(String)}.
3131
* <p>
3232
* If a record contains multiple matching literals, the value of the last
33-
* literal is used as id.
33+
* literal is used as ID.
3434
* <p>
35-
* This module can optionally remove records which do not have an id literal
35+
* This module can optionally remove records which do not have an ID literal
3636
* from the stream. This is configured through the
3737
* {@link #setKeepRecordsWithoutIdLiteral(boolean)} parameter.
3838
* <p>
@@ -57,14 +57,14 @@
5757
* end-record
5858
* }</pre>
5959
*
60-
* By default, the id literals are removed from the record. This can be changed
60+
* By default, the ID literals are removed from the record. This can be changed
6161
* through {@link #setKeepIdLiteral(boolean)}.
6262
*
6363
* @author Markus Michael Geipel
6464
* @author Christoph Böhme
6565
*
6666
*/
67-
@Description("By default changes the record id to the value of the '_id' literal (if present). Use the contructor to choose another literal as id source.")
67+
@Description("By default changes the record ID to the value of the '_id' literal (if present). Use the contructor to choose another literal as ID source.")
6868
@In(StreamReceiver.class)
6969
@Out(StreamReceiver.class)
7070
@FluxCommand("change-id")
@@ -83,15 +83,16 @@ public RecordIdChanger() {
8383
}
8484

8585
/**
86-
* Sets the name of the literal that contains the new record id. This must be
86+
* Sets the name of the literal that contains the new record ID. This must be
8787
* a qualified literal name including the entities in which the literal is
8888
* contained.
8989
* <p>
90-
* For instance, the id literal &ldquo;metadata.id&rdquo; matches only
90+
* For instance, the ID literal &ldquo;metadata.id&rdquo; matches only
9191
* literals named &ldquo;id&rdquo; which are part of an entity named
9292
* &ldquo;metadata&rdquo;.
9393
* <p>
94-
* The default value is &ldquo;{@value StandardEventNames#ID}&rdquo;.
94+
* The default value is
95+
* {@value org.metafacture.framework.StandardEventNames#ID}.
9596
* <p>
9697
* This parameter must only be changed between records otherwise the
9798
* behaviour of the module is undefined.
@@ -107,15 +108,15 @@ public String getIdLiteral() {
107108
}
108109

109110
/**
110-
* Controls whether records without an id literal are kept in the stream or
111+
* Controls whether records without an ID literal are kept in the stream or
111112
* removed from the stream.
112113
* <p>
113-
* By default records without an id literal are kept in the stream.
114+
* By default records without an ID literal are kept in the stream.
114115
* <p>
115116
* This parameter may be changed at any time it becomes effective with the
116117
* next <i>end-record</i> event.
117118
*
118-
* @param keepRecordsWithoutIdLiteral true to keep records without id
119+
* @param keepRecordsWithoutIdLiteral true to keep records without ID
119120
* literal, false to remove them
120121
*/
121122
public void setKeepRecordsWithoutIdLiteral(
@@ -128,16 +129,16 @@ public boolean getKeepRecordsWithoutIdLiteral() {
128129
}
129130

130131
/**
131-
* Controls whether the id literal is kept in the record after changing the
132-
* record id. If a record contains multiple id literals, all of them are
132+
* Controls whether the ID literal is kept in the record after changing the
133+
* record ID. If a record contains multiple ID literals, all of them are
133134
* removed.
134135
* <p>
135-
* By default the id literal is removed from the stream.
136+
* By default the ID literal is removed from the stream.
136137
* <p>
137138
* This parameter must only be changed between records otherwise the
138139
* behaviour of the module is undefined.
139140
*
140-
* @param keepIdLiteral true to keep id literals in records, false to
141+
* @param keepIdLiteral true to keep ID literals in records, false to
141142
* remove them
142143
*/
143144
public void setKeepIdLiteral(final boolean keepIdLiteral) {

0 commit comments

Comments
 (0)