org.marc4j.marc.impl
Class Verifier

java.lang.Object
  extended by org.marc4j.marc.impl.Verifier

public class Verifier
extends Object

Handles MARC checks on tags, data elements and Record objects.

Version:
$Revision: 1.2 $
Author:
Bas Peters

Method Summary
static boolean hasControlNumberField(Collection col)
          Returns true if the given Collection contains an instance of a ControlField with a control number field tag (001).
static boolean isControlField(String tag)
          Returns true if the given String value identifies a tag for a control field (001 through 009).
static boolean isControlNumberField(String tag)
          Returns true if the given String value identifies a tag for a control number field (001).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isControlField

public static boolean isControlField(String tag)
Returns true if the given String value identifies a tag for a control field (001 through 009).


isControlNumberField

public static boolean isControlNumberField(String tag)
Returns true if the given String value identifies a tag for a control number field (001).


hasControlNumberField

public static boolean hasControlNumberField(Collection col)
Returns true if the given Collection contains an instance of a ControlField with a control number field tag (001).

Parameters:
col - the collection of ControlField objects.


Copyright © 2002-2006 Bas Peters. All Rights Reserved.