Class MarcResult

  • All Implemented Interfaces:
    Result

    public class MarcResult
    extends Object
    implements Result

    Collects the result of a MARC conversion.

    Author:
    Bas Peters
    See Also:
    MarcHandler
    • Constructor Detail

      • MarcResult

        public MarcResult()
      • MarcResult

        public MarcResult​(MarcHandler handler)

        Create a new instance and registers the MarcHandler implementation.

        Parameters:
        handler - the MarcHandler implementation
    • Method Detail

      • setHandler

        public void setHandler​(MarcHandler handler)

        Registers the MarcHandler implementation.

        Parameters:
        handler - the MarcHandler implementation
      • setSystemId

        public void setSystemId​(String systemID)

        Registers the systemID.

        Specified by:
        setSystemId in interface Result
        Parameters:
        systemID - the system identifier
      • getHandler

        public MarcHandler getHandler()

        Returns the MarcHandler implementation.

        Returns:
        MarcHandler - the MarcHandler implementation
      • getSystemId

        public String getSystemId()

        Returns the system identifier.

        Specified by:
        getSystemId in interface Result
        Returns:
        String - the system identifier