protected static void checkMetadata(Item item)
public static void checkMetadata(Item item)
    protected static void checkMetadata(Item item)        throws PackageValidationException    {        DCValue t[] = item.getDC( "title", null, Item.ANY);        if (t == null || t.length == 0)            throw new PackageValidationException("Item cannot be created without the required \"title\" DC metadata.");    }