Class PicaXmlReader
- java.lang.Object
-
- de.gwdg.metadataqa.marc.utils.pica.reader.PicaReader
-
- de.gwdg.metadataqa.marc.utils.pica.reader.PicaXmlReader
-
- All Implemented Interfaces:
org.marc4j.MarcReader
public class PicaXmlReader extends PicaReader
This class is a variation of MarcXmlReader
-
-
Field Summary
-
Fields inherited from class de.gwdg.metadataqa.marc.utils.pica.reader.PicaReader
idCode, idField, idTag, parsed, schema, subfieldSeparator
-
-
Constructor Summary
Constructors Constructor Description PicaXmlReader(InputStream input)PicaXmlReader(InputSource input)Constructs an instance with the specified input source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Constructs an instance with the specified input stream and stylesheet source.org.marc4j.marc.Recordnext()-
Methods inherited from class de.gwdg.metadataqa.marc.utils.pica.reader.PicaReader
getIdCode, getIdField, getIdTag, getSubfieldSeparator, parseIdField, setIdCode, setIdField, setSubfieldSeparator
-
-
-
-
Constructor Detail
-
PicaXmlReader
public PicaXmlReader(InputStream input)
-
PicaXmlReader
public PicaXmlReader(InputSource input)
Constructs an instance with the specified input source.- Parameters:
input- the input source
-
-
Method Detail
-
hasNext
public boolean hasNext()
Constructs an instance with the specified input stream and stylesheet source. The stylesheet is used to transform the source file and should produce valid MARCXML records. The result is then used to createRecordobjects.- Specified by:
hasNextin interfaceorg.marc4j.MarcReader- Specified by:
hasNextin classPicaReader- Parameters:
input- the input streamstylesheet- the stylesheet source
-
next
public org.marc4j.marc.Record next()
- Specified by:
nextin interfaceorg.marc4j.MarcReader- Specified by:
nextin classPicaReader
-
-