Class MarcXmlFilter

    • Constructor Detail

      • MarcXmlFilter

        public MarcXmlFilter()
        Deprecated.
    • Method Detail

      • startCollection

        public void startCollection()
        Deprecated.

        Returns the document handler being used, starts the document and reports the root element.

        Specified by:
        startCollection in interface MarcHandler
      • startRecord

        public void startRecord​(Leader leader)
        Deprecated.

        Reports the starting element for a record and the leader node.

        Specified by:
        startRecord in interface MarcHandler
        Parameters:
        leader - the leader
      • controlField

        public void controlField​(String tag,
                                 char[] data,
                                 Long id)
        Deprecated.

        Reports a control field node (001-009).

        Specified by:
        controlField in interface MarcHandler
        Parameters:
        tag - the tag name
        data - the data element
        id - the field id if exists.
      • startDataField

        public void startDataField​(String tag,
                                   char ind1,
                                   char ind2,
                                   Long id)
        Deprecated.

        Reports the starting element for a data field (010-999).

        Specified by:
        startDataField in interface MarcHandler
        Parameters:
        tag - the tag name
        ind1 - the first indicator value
        ind2 - the second indicator value
        id - the field id if exists.
      • subfield

        public void subfield​(char code,
                             char[] data,
                             String linkCode)
        Deprecated.

        Reports a subfield node.

        Specified by:
        subfield in interface MarcHandler
        Parameters:
        code - the data element identifier
        data - the data element
        linkCode - a code if the subfield has a link with another Record
      • endDataField

        public void endDataField​(String tag)
        Deprecated.

        Reports the closing element for a data field.

        Specified by:
        endDataField in interface MarcHandler
        Parameters:
        tag - the tag name
      • endRecord

        public void endRecord()
        Deprecated.

        Reports the closing element for a record.

        Specified by:
        endRecord in interface MarcHandler
      • endCollection

        public void endCollection()
        Deprecated.

        Reports the closing element for the root, reports the end of the prefix mapping and the end a document.

        Specified by:
        endCollection in interface MarcHandler