Class PicaXmlReader

  • All Implemented Interfaces:
    org.marc4j.MarcReader

    public class PicaXmlReader
    extends PicaReader
    This class is a variation of MarcXmlReader
    • 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 create Record objects.
        Specified by:
        hasNext in interface org.marc4j.MarcReader
        Specified by:
        hasNext in class PicaReader
        Parameters:
        input - the input stream
        stylesheet - the stylesheet source
      • next

        public org.marc4j.marc.Record next()
        Specified by:
        next in interface org.marc4j.MarcReader
        Specified by:
        next in class PicaReader